redirecter for ao3 that adds opengraph metadata
JavaScript 97.3%
CSS 2.7%
36 2 0

Clone this repository

https://tangled.org/veryroundbird.house/fixao3
git@nest.veryroundbird.house:veryroundbird.house/fixao3

For self-hosted knots, clone URLs may differ based on your setup.

README.md

fixAO3 ✍️#

Provides OpenGraph tags and redirection for items on AO3.org. Should be pretty easy to hack for non-AO3 sites; just change the references to https://archiveofourown.org and you should be good to go.

If you'd like to support further work, you can tip me on ko-fi! Also props to Fujocoded's 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)