Thumbnail server used in embeds
Find a file
2023-08-03 09:55:28 -05:00
assets edit debug layout compatibility 2023-08-03 09:49:05 -05:00
lib pass options to html2png 2023-08-03 09:49:25 -05:00
views edit debug layout compatibility 2023-08-03 09:49:05 -05: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-08-03 09:52:48 -05:00
pnpm-lock.yaml update @besties/html2png 2023-08-03 09:52:48 -05:00
README.md update README.md 2023-08-03 09:55:28 -05:00
server.js pass options to html2png 2023-08-03 09:49:25 -05: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.