summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-16captcha and imgur, findthatmeme, yep imagesearchlolcat
2023-10-07Merge branch 'master' of https://git.lolcat.ca/lolcat/4getlolcat
2023-10-07soundcloud fixlolcat
2023-09-30optimize assets again (#17)pumuckel
pngoptimizer, truepng, pngout, optipng, leanify, pngwolf, pngrewrite, advpng, ect, pingo, deflopt, and defluff Co-authored-by: unknown <> Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/17 Co-authored-by: pumuckel <pumuckel@no-reply@lolcat.ca> Co-committed-by: pumuckel <pumuckel@no-reply@lolcat.ca>
2023-09-22some misc. oracles stuff (fixes/features) (#15)cynic
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: https://git.lolcat.ca/lolcat/4get/pulls/15 Co-authored-by: cynic <admin@cynic.moe> Co-committed-by: cynic <admin@cynic.moe>
2023-09-22allow docker container to run without ssl certificates (#14)throwaway
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: https://git.lolcat.ca/lolcat/4get/pulls/14 Co-authored-by: throwaway <developerthrowaway@protonmail.com> Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-09-14make 'oracles' feature backwards compatible with php 7.4 (#13)cynic
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: https://git.lolcat.ca/lolcat/4get/pulls/13 Co-authored-by: cynic <admin@cynic.moe> Co-committed-by: cynic <admin@cynic.moe>
2023-09-13add structure for `Oracles' (special answers depending on queries + a few ↵cynic
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: https://git.lolcat.ca/lolcat/4get/pulls/10 Co-authored-by: cynic <admin@cynic.moe> Co-committed-by: cynic <admin@cynic.moe>
2023-09-13forgot version numlolcat
2023-09-13Merge branch 'master' of https://git.lolcat.ca/lolcat/4getlolcat
i dont know what im doing i fucking hate git
2023-09-13added autocompletelolcat
2023-09-12add docker-compose.yaml and instructions (#12)throwaway
add docker-compose.yaml and instructions Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/12 Co-authored-by: throwaway <developerthrowaway@protonmail.com> Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-09-09pisslolcat
2023-09-09more brave fixeslolcat
2023-09-08thumbnail fix on bravelolcat
2023-09-06oy veylolcat
2023-09-06added more begging to about sectionlolcat
2023-09-06and i forgot this file, alzheimers hit me againlolcat
2023-09-06ok this is the last fuckup i make uhgghuhguwhguiwbehgflolcat
2023-09-06aaand forgot thatlolcat
2023-09-06lol forgot thatlolcat
2023-09-06fixed brave spelling and other thingslolcat
2023-09-04security fix shieetlolcat
2023-09-04accidently broke newslolcat
2023-09-03i always forget the fucking .phplolcat
2023-09-03readmelolcat
2023-09-03readmelolcat
2023-09-03soundcloud lollllllllolcat
2023-08-30[DANGEROUS] untrack all banners, replace with default banner (#9)cynic
if this git repo is meant for all instances, it doesn't make sense that 4get.ca banners are stored here. instead, I've added `banner/*` to a .gitignore file, so instances can clone/pull/push the repo without grabbing other people's banners or uploading their own. making this change required deleting all the currently tracked banners from the repo. an unfortunate side-effect of this is that **if you have any of these tracked banners in your local version, pulling this commit WILL DELETE ALL OF THEM!!!!!!** pulling this commit properly while preserving tracked banners should be done by temporarily copying them to another directory, `git pull`ing, then copying them back. I also added a default banner based on the default nginx page so new instances aren't bannerless. Co-authored-by: cynic <kurisufag1@gmail.com> Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/9 Co-authored-by: cynic <admin@cynic.moe> Co-committed-by: cynic <admin@cynic.moe>
2023-08-29create data/instances.php to demonstrate out-of-code configuration, and use ↵cynic
it to dynamically generate the instance list (#8) see title. the workflow here (i.e. a file data/*.php, which only has a data structure and is used to generate content elsewhere) could also be used for easier per-instance customization. [you can see what this looks like live here](https://4get.silly.computer/about) Co-authored-by: cynic <kurisufag1@gmail.com> Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/8 Co-authored-by: cynic <admin@cynic.moe> Co-committed-by: cynic <admin@cynic.moe>
2023-08-27Little tutorial about nginx and tor (#7)ckg
review it :3 Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/7 Co-authored-by: ckg <ckg@airmail.cc> Co-committed-by: ckg <ckg@airmail.cc>
2023-08-27fix readmelolcat
2023-08-27Merge branch 'master' of https://git.lolcat.ca/lolcat/4getlolcat
what am i doing
2023-08-27added yandex web and video search, removed fb searchlolcat
2023-08-24add set -e and use exec to replace parent process to handle docker signals (#6)throwaway
use `exec` to turn httpd into parent process. This is important for docker signalling such as `docker stop ${container_id}` add `set -e` which stops the entrypoint script if any command exits with a non-zero exit code. Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/6 Co-authored-by: throwaway <developerthrowaway@protonmail.com> Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-08-23Add Dockerfile and docker entrypoint (#5)throwaway
Add Dockerfile and docker entrypoint Co-authored-by: lolcat <lolcat@no-reply@lolcat.ca> Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/5 Co-authored-by: throwaway <developerthrowaway@protonmail.com> Co-committed-by: throwaway <developerthrowaway@protonmail.com>
2023-08-22Delete banner/birds birds birdsw_4.jpglolcat
2023-08-13removed wrong thinglolcat
2023-08-13ill need to rewrite the google scraper, but hey atleast we got imagesearch ↵lolcat
working woooo
2023-08-10added faceberg settinglolcat
2023-08-10fix the faceberg urlslolcat
2023-08-10added faceberg videoslolcat
2023-08-08remove .phplolcat
2023-08-08added brave image+video supportlolcat
2023-07-27bug fixes (without google support)lolcat
2023-07-26felt quirky, might commit laterlolcat
2023-07-22still missing things on google scraperlolcat