Retro Bulletin Board Systems on atproto. Web app and TUI.
lazy mirror of alyraffauf/atbbs
atbbs.xyz
forums
python
tui
atproto
bbs
1# OpenGraph Worker
2
3Cloudflare Worker that injects dynamic `og:title`, `og:description`, `og:image`, and `og:url` into the atbbs SPA for link previews on social platforms.
4
5Handles two route patterns:
6
7- `/bbs/*` — rewrites the HTML `<meta>` tags with BBS/board/thread metadata from Slingshot
8- `/og/bbs/*.png` — generates a branded 1200x630 preview image on the fly
9
10## Deploy
11
12```bash
13cd opengraph
14npm install
15npx wrangler login
16npx wrangler deploy -c wrangler.toml
17```
18
19Requires `atbbs.xyz` to be proxied through Cloudflare.