summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-11-27 01:01:56 -0500
committerlolcat <will@lolcat.ca>2023-11-27 01:01:56 -0500
commit2519666e1c831f85836f9ce6d975d3ceb975c09d (patch)
tree86c68604aff9c7a0a430e70ef082195a4c3a717f /README.md
parent9fd993b47b8c1b6e3c9d9f0e8d43a85860230f59 (diff)
google web, videos and news, various other fixes
Diffstat (limited to 'README.md')
-rw-r--r--README.md40
1 files changed, 39 insertions, 1 deletions
diff --git a/README.md b/README.md
index f81ea98..c5c4909 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,7 @@ https://4get.ca
- DuckDuckGo
- Brave
- Yandex
+ - Google
- Mojeek
- Marginalia
- wiby
@@ -41,10 +42,12 @@ https://4get.ca
- DuckDuckgo
- Brave
- Yandex
+ - Google
4. News
- DuckDuckGo
- Brave
+ - Google
- Mojeek
5. Music
@@ -61,7 +64,7 @@ https://4get.ca
- YouTube
- SoundCloud
-More scrapers are coming soon. I currently want to add Google web/video/news search, HackerNews (durr orange site!!) and Qwant. A shopping and files tab is also in my todo list.
+More scrapers are coming soon. I currently want to add HackerNews (durr orange site!!), Qwant, Yep and other garbage. A shopping, files, tab and more music scrapers are also on my todo list.
# Installation
This section is still to-do. You will need to figure shit out for some of the apache2 and nginx stuff. Everything else should be OK.
@@ -190,6 +193,41 @@ services:
Replace relevant values and start with `docker-compose up -d`
+## Install on Caddy
+
+1. Install dependencies:
+
+`sudo apt install caddy php8.2-dom php8.2-imagick imagemagick php8.2-curl curl php8.2-apcu git`
+
+2. Clone this repository where you want to host this from:
+
+`cd /var/www && sudo git clone https://git.konakona.moe/diowo/4get`
+
+3. Set permission on the `icons` directory inside `4get`
+
+`cd /var/www/4get/ && sudo chmod 777 -R icons/`
+
+4. Add an entry for 4get on your Caddyfile at `/etc/caddy/Caddyfile`
+
+```sh
+4get.konakona.moe {
+ root * /var/www/4get
+ file_server
+ encode gzip
+ php_fastcgi unix//var/run/php/php8.2-fpm.sock {
+ index index.php
+ }
+ redir /{path}.php{query} 301
+ try_files {path} {path}.php
+}
+```
+
+Caddy deals with SSL certificates automatically so you don't have to mess with anything. Also if needed, a sample of my Caddyfile can be found [here](https://git.konakona.moe/diowo/misc/src/branch/master/etc/caddy/Caddyfile).
+
+5. Restart Caddy
+
+`sudo systemctl restart caddy`
+
# Encryption setup
I'm schizoid (as you should) so I'm gonna setup 4096bit key encryption. To complete this step, you need a domain or subdomain in your possession. Make sure that the DNS shit for your domain has propagated properly before continuing, because certbot is a piece of shit that will error out the ass once you reach 5 attempts under an hour.