Commit Graph

189 Commits

Author SHA1 Message Date
Kim Seon Jun 10d7570d15 Don't let your long onion address break your Nginx! 2024-02-06 22:33:49 -06:00
lolcat 799916cfb4 Merge pull request 'trim values from env' (#25) from feature/fix_gen_config into master
Reviewed-on: #25
hot
2024-01-17 10:23:47 -06:00
throwaway d465bb9cb8 trim values from env 2024-01-17 02:07:21 -08:00
lolcat 2984c4f8c6 Merge pull request 'add required environment variable to example docker-compose.yaml' (#23) from feature/fix_example_file into master
Reviewed-on: #23
2024-01-09 19:23:06 -06:00
throwaway 8423be1663 add required environment variable 2024-01-09 17:15:22 -08:00
lolcat e5cd3d40cf Merge pull request 'add dependencies for thumbnail generation' (#22) from feature/docker_fix_thumbnail into master
Reviewed-on: #22
2024-01-09 18:37:52 -06:00
throwaway 554fb9f93f add dependencies for thumbnail generation 2024-01-09 16:20:55 -08:00
lolcat e9c6cce374 Merge pull request 'docker load values from env' (#21) from feature/docker_env into master
Reviewed-on: #21
2024-01-09 08:25:44 -06:00
throwaway 3fad201c3b update docker instructions 2024-01-08 23:25:41 -08:00
throwaway 0cea51e5a3 generate 4get config from env variables 2024-01-08 23:14:27 -08:00
lolcat ed5a992354 man i have dementia 2024-01-06 19:46:13 -05:00
lolcat 80be23f7df ok see you in a month kek 2024-01-06 19:43:54 -05:00
lolcat fa6cefb6ed hey im not dead, curlie scraper ok bye 2024-01-06 19:38:11 -05:00
lolcat 479545165a brave quote fix 2 2023-12-11 10:25:50 -05:00
lolcat 169f17b7b8 brave quote fix 2023-12-11 10:25:05 -05:00
lolcat 8ffb5a2712 remove yep.json 2023-12-02 20:45:28 -05:00
lolcat f786b93315 php piece of shit 2023-12-02 19:12:36 -05:00
lolcat afb17f45ee added yep web and news search 2023-12-02 19:11:52 -05:00
lolcat 04038e973d fuckin forgot to change the default name kek 2023-11-30 21:22:10 -06:00
lolcat e36418c540 added license 2023-11-30 21:26:44 -05:00
lolcat 81384271f6 image 2023-11-29 20:58:30 -05:00
lolcat addac77e89 gore shitty theme 2023-11-29 10:31:59 -05:00
lolcat a81f580233 sheksllslsljrewifj 2023-11-29 00:02:45 -05:00
lolcat 4033ebb91c murder 2023-11-29 00:00:37 -05:00
lolcat 1924bd0218 cancer 2023-11-28 23:58:39 -05:00
lolcat c4f6befb53 typo thingy 2023-11-28 23:56:57 -05:00
lolcat 59183489fa christmas 2023-11-28 23:51:25 -05:00
lolcat e4c23493a9 added dependency in readme 2023-11-27 19:39:20 -05:00
lolcat 2519666e1c google web, videos and news, various other fixes 2023-11-27 01:01:56 -05:00
lolcat 9fd993b47b fixed brave news 2023-11-09 08:50:53 -05:00
lolcat 165d80f80b fixed yandex image scraper 2023-11-09 08:06:14 -05:00
lolcat 5236452f45 apcu fix 2023-11-08 09:05:39 -05:00
lolcat 89b952ff40 moar themes 2023-11-07 09:43:55 -05:00
lolcat 0e551c7b37 Delete static/themes/gore's shitty theme.css 2023-11-07 08:40:43 -06:00
lolcat f1ed4198a3 add themes 2023-11-07 09:38:31 -05:00
lolcat 61ef956120 remove debug print 2023-11-07 09:24:14 -05:00
lolcat 7e893a15c1 counter bug that gave me a heart attack 2023-11-07 08:43:35 -05:00
lolcat 785452873f fix typo 2023-11-07 08:04:56 -05:00
lolcat 64b090ee05 fix cookie big 2023-10-17 17:58:08 -04:00
lolcat 453b4310e2 fixed API bug 2023-10-16 19:45:11 -04:00
lolcat f67fadfa88 as usual, forgot the fucking .php 2023-10-16 11:14:39 -04:00
lolcat f3ff1f7374 fuck 2023-10-16 02:49:24 -04:00
lolcat 3aa0180774 captcha and imgur, findthatmeme, yep imagesearch 2023-10-16 02:30:43 -04:00
lolcat fa9dc4d6ef Merge branch 'master' of https://git.lolcat.ca/lolcat/4get 2023-10-07 00:21:39 -04:00
lolcat e188ba6114 soundcloud fix 2023-10-07 00:21:07 -04:00
pumuckel f42b3a4879 optimize assets again (#17)
pngoptimizer, truepng, pngout, optipng, leanify, pngwolf, pngrewrite, advpng, ect, pingo, deflopt, and defluff

Co-authored-by: unknown <>
Reviewed-on: #17
Co-authored-by: pumuckel <pumuckel@no-reply@lolcat.ca>
Co-committed-by: pumuckel <pumuckel@no-reply@lolcat.ca>
2023-09-30 08:35:24 -05:00
cynic 24cfc5136e some misc. oracles stuff (fixes/features) (#15)
fix a small calc.php bug, and add date information to the time module. the changes have been sitting on a branch for like a week, so I figured I'd cherry-pick them over to this branch for a PR.
[as always, these changes are live on my instance.](https://4get.silly.computer/web?s=what+is+the+date&scraper=yandex&nsfw=yes)

Reviewed-on: #15
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
2023-09-22 21:44:33 -05:00
throwaway b7cc53c156 allow docker container to run without ssl certificates (#14)
if certificate files are not mounted to /etc/4get/certs then remove ssl virtual host in /etc/apache2/httpd.conf and listen on port 80
also change references "luuul/4get:1.0.0" to "luuul/4get:latest"

Reviewed-on: #14
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-09-22 16:20:39 -05:00
cynic be8546bdf5 make 'oracles' feature backwards compatible with php 7.4 (#13)
adds implementations of `str_contains` and `str_starts_with` that are used if the functions are not already defined. this should enable 4get to work on both php 7.4 and php 8.*

my instance is currently on 7.4.33, and you can see the oracles working here:
[calc.php](https://4get.silly.computer/web?s=2%2B4*(2^2))
[encoder.php](https://4get.silly.computer/web?s=md5+hamburger)
[numerics.php](https://4get.silly.computer/web?s=0xf0f0f)
[time.php](https://4get.silly.computer/web?s=what+is+the+time+right+now+tz%253Aest)

Reviewed-on: #13
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
2023-09-14 19:10:13 -05:00
cynic 8762d68466 add structure for `Oracles' (special answers depending on queries + a few implementations (#10)
incl. a calculator, a hash encoder + rot13 and b64!, and a "what time is it" with timezone selection

frontend injected in $payload["left"] in web.php

you can see this live [on my instance](https://4get.silly.computer/web?s=7%2B8(9%5E2)&scraper=brave&nsfw=yes) (there are some issues that aren't related to this PR. favicons, etc. I'll fix them later.)

Reviewed-on: #10
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
2023-09-13 22:24:02 -05:00