briefkasten-screenshot

📸 Briefkasten Screenshot API

MIT License

Stars
6

Briefkasten Screenshot API

Separate Fastify API with a single route to take screenshots of pages for Briefkasten bookmarks.

See also:

Getting Started

To run this yourself, you'll only need somewhere to host a Fastify API - like Vercel, Netlify, or a server of your own.

  1. Clone the repository
$ git clone ssh://github.com/ndom91/briefkasten-screenshot
$ cd briefkasten-screenshot
  1. Install dependencies
$ pnpm install
  1. Run the dev server
$ 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.

Contributing

Open to all contributions, please stick to formatting settings in your PR though!

License

MIT

Badges
Extracted from project README
Demo Demo
Related Projects