Thumbnail server used in embeds
Find a file
2023-09-10 13:58:43 -05:00
assets rework to use new @besties/html2png 2023-09-10 13:48:50 -05:00
lib rework to use new @besties/html2png 2023-09-10 13:48:50 -05:00
views rework to use new @besties/html2png 2023-09-10 13:48:50 -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 switch to undici fetch 2023-09-10 13:58:43 -05:00
pnpm-lock.yaml switch to undici fetch 2023-09-10 13:58:43 -05:00
README.md fix .env.example link 2023-08-03 10:02:04 -05:00
server.js switch to undici fetch 2023-09-10 13:58:43 -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.