refactor: replace sveltekit-og with native Satori implementation

- Remove @ethercorps/sveltekit-og and bits-ui dependencies
- Implement direct Satori + Resvg rendering pipeline
- Add OgImage.svelte component for template generation
- Create /internal/ogp preview page for development
- Load fonts from node_modules via fs for production compatibility
- Add 2s startup delay before OG image regeneration
This commit is contained in:
2026-01-05 14:38:52 -06:00
parent 81d9541b44
commit 96595b073d
15 changed files with 496 additions and 292 deletions
+4 -2
View File
@@ -13,13 +13,15 @@
"format": "prettier --write ."
},
"dependencies": {
"@ethercorps/sveltekit-og": "^4.2.1",
"@fontsource-variable/inter": "^5.2.8",
"@fontsource-variable/schibsted-grotesk": "^5.2.8",
"@fontsource/hanken-grotesk": "^5.1.0",
"@fontsource/schibsted-grotesk": "^5.2.8",
"@logtape/logtape": "^1.3.5",
"bits-ui": "^2.8.2",
"@resvg/resvg-js": "^2.6.2",
"@xevion/satori-html": "^0.4.1",
"clsx": "^2.1.1",
"satori": "^0.18.3",
"tailwind-merge": "^3.3.1"
},
"devDependencies": {