The homepage for moreSwift, the open-source collective behind SwiftCrossUI and Swift Bundler.
- SvelteKit with the Cloudflare adapter
- Tailwind CSS v4
- shadcn-svelte components (in
src/lib/components/ui) - Phosphor icons via
phosphor-svelte - Source Serif 4, Source Sans 3 and JetBrains Mono, self-hosted with Fontsource
bun install
bun run devThe dev server runs at http://localhost:5175.
Useful checks:
bun run check # svelte-check
bun run lint # prettier + eslint
bun run build # production buildThe social preview is generated from scripts/og/index.html.
bun run ogThis renders the template at 1200×630 and writes static/og.png. You can pass a custom output
path as the first argument:
bun run og some/other/preview.pngThe generator uses a local Chrome or Chromium installation. If it can’t find one, set
CHROME_PATH to the browser executable.
src/routes/+page.svelte— landing page compositionsrc/lib/components/site/— page sections and shared UI componentssrc/lib/components/ui/— shadcn-svelte primitivessrc/lib/content/— projects, videos, principles, community links and platform datasrc/lib/site.ts— external URLs and navigationsrc/routes/layout.css— theme tokens, fonts and shared utilitiesscripts/og/index.html— editable Open Graph templatescripts/generate-og.mjs— renders the template tostatic/og.pngstatic/images/showcase/— cross-platform app screenshotsstatic/images/video-thumbnails/— YouTube thumbnails
Prefer reusing the shadcn primitives (or making a shared site component more generic) over writing bespoke markup for each section.