redirecter for ao3 that adds opengraph metadata

add self-host instructions

Changed files
+16 -1
+16 -1
README.md
···
If you'd like to support further work, you can tip me on
[ko-fi](https://ko-fi.com/veryroundbird)! Also props to Fujocoded's
-
[AO3.js](https://github.com/fujocoded/ao3.js) for making this possible.
+
[AO3.js](https://github.com/fujocoded/ao3.js) for making this possible.
+
+
## self-hosting
+
+
you too can self-host if you want to change the visuals or just have a different redirection url or something. the main things you need installed are:
+
+
- ImageMagick (at least 6.9), built from source with pkg-config, pangocairo, libpng-dev, libwebp-dev. this is kind of a pain in the ass but it is in fact essential
+
- Bun
+
- Probably some process manager like PM2 (you will also need Node.js for PM2)
+
- A web server that allows reverse proxying (I use Caddy)
+
+
How to run:
+
+
- `bun main.jsx` will run the application. if you're running it through pm2, do `pm2 start --name=fixao3 bun -- main.jsx`
+
- set up a reverse proxy on your domain or subdomain to localhost:3000
+
- it should, theoretically work (installing imagemagick from source is the hard part. wheeze)