📸 Briefkasten Screenshot API
MIT License
Separate Fastify API with a single route to take screenshots of pages for Briefkasten bookmarks.
See also:
To run this yourself, you'll only need somewhere to host a Fastify API - like Vercel, Netlify, or a server of your own.
$ git clone ssh://github.com/ndom91/briefkasten-screenshot
$ cd briefkasten-screenshot
$ pnpm install
$ pnpm dev:vercel
You should now have an API Route up and running at http://localhost:3000/api/image
. When pushing to production, don't forget to adjust the CORS header, Access-Control-Allow-Origin
, to allow your main applications origin to make requests.
Open to all contributions, please stick to formatting settings in your PR though!
MIT