Thumbnail server used in embeds
Find a file
2023-12-21 06:47:54 -06:00
assets rework to use new @besties/html2png 2023-09-10 13:48:50 -05:00
lib change how debug layout works 2023-12-21 06:47:27 -06:00
views change how debug layout works 2023-12-21 06:47:27 -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 update @besties/html2png 2023-12-21 06:47:54 -06:00
pnpm-lock.yaml update @besties/html2png 2023-12-21 06:47:54 -06:00
README.md fix .env.example link 2023-08-03 10:02:04 -05:00
server.js clean up options code 2023-12-21 06:47:43 -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.