redirecter for ao3 that adds opengraph metadata
1# fixAO3 ✍️
2
3Provides OpenGraph tags and redirection for items on AO3.org. Should be pretty
4easy to hack for non-AO3 sites; just change the references to
5https://archiveofourown.org and you should be good to go.
6
7If you'd like to support further work, you can tip me on
8[ko-fi](https://ko-fi.com/veryroundbird)! Also props to Fujocoded's
9[AO3.js](https://github.com/fujocoded/ao3.js) for making this possible.
10
11## self-hosting
12
13you 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:
14
15- 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
16- Bun
17- Probably some process manager like PM2 (you will also need Node.js for PM2)
18- A web server that allows reverse proxying (I use Caddy)
19
20How to run:
21
22- `bun main.jsx` will run the application. if you're running it through pm2, do `pm2 start --name=fixao3 bun -- main.jsx`
23- set up a reverse proxy on your domain or subdomain to localhost:3000
24- it should, theoretically work (installing imagemagick from source is the hard part. wheeze)