Thumbnail server used in embeds
Find a file
2023-12-21 10:02:37 -06:00
assets remove comic sans :( 2023-12-21 08:22:30 -06:00
lib switch to puppeteer 2023-12-21 08:21:41 -06:00
views clean up templates a little 2023-12-21 08:21:50 -06:00
.env.example use FORGEJO_BASE_URL 2023-08-03 02:25:10 -05:00
.eslintignore add linter 2023-08-02 17:17:01 -05:00
.eslintrc.cjs add linter 2023-08-02 17:17:01 -05:00
.gitignore use FORGEJO_BASE_URL 2023-08-03 02:25:10 -05:00
.prettierignore add linter 2023-08-02 17:17:01 -05:00
.prettierrc add linter 2023-08-02 17:17:01 -05:00
package.json add corepack 2023-12-21 10:02:04 -06:00
pnpm-lock.yaml switch to puppeteer 2023-12-21 08:21:41 -06:00
README.md fix .env.example link 2023-08-03 10:02:04 -05:00
server.js use cors and better caching for assets 2023-12-21 10:02:37 -06:00

og

git.gay's thumbnail server, inspired by GitHub's.

A demo thumbnail for this repository, generated by this project

Made with @besties/html2png, itself a wrapper for satori and @resvg/resvg-wasm.

Self-hosting

clone the repository, install the dependencies with npm i, create a .env file (see .env.example), and run npm run start.