프로젝트
GitHub에서 보기
etherCorps/sveltekit-og
소개
Generate Open Graph Images dynamically from HTML/CSS without a browser in SvelteKit
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalsveltekit-og — monorepo
Dynamically generate Open Graph images in SvelteKit from HTML+CSS or a Svelte component — no headless browser. This repo is a pnpm workspace holding the library, its docs site, and per-runtime deployment examples.
Using the library? See packages/sveltekit-og/README.md or the docs at sveltekit-og.dev. This file is for working on the repo.
Layout
| Path | Package | What |
|---|---|---|
packages/sveltekit-og |
@ethercorps/sveltekit-og |
The library (published to npm) |
apps/docs |
@svecodocs/docs |
Docs site → sveltekit-og.dev |
examples/* |
— | One deployable app per runtime: node, deno, netlify, vercel, cf-pages, cf-workers, plus satori-only / takumi-only |
examples/shared |
@examples/shared |
Route logic + templates shared by the examples |
Develop
pnpm install # at the repo ROOT — one lockfile, resolves all workspace:* deps
pnpm dev # run the library dev server
pnpm docs:dev # run the docs site
pnpm test # library test suite
pnpm build # build the library
pnpm build:examples # build every example
pnpm check # svelte-check across the workspace
pnpm lint # lint across the workspace
Target a single package with pnpm's filter, e.g. pnpm -F ./examples/deno-build build.
Deploy
- Examples & docs: build at the repo root (
pnpm install, thenpnpm -F <name> build). Hosts with monorepo support (Vercel, Netlify, Cloudflare) install at the repo root and build the target package. - Deno Deploy has no monorepo build support — set its install command to run at the repo root (
pnpm install) and build withpnpm -F ./examples/deno-build... build; seeexamples/deno-build.
Contributing
See CONTRIBUTING.md. License: MIT.
관련 프로젝트 살펴보기
불러오는 중…