Skip to content
moreSwiftPublic

About

The moreSwift website.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

moreSwift website

The homepage for moreSwift, the open-source collective behind SwiftCrossUI and Swift Bundler.

Stack

  • 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

Developing

bun install
bun run dev

The dev server runs at http://localhost:5175.

Useful checks:

bun run check   # svelte-check
bun run lint    # prettier + eslint
bun run build   # production build

Open Graph image

The social preview is generated from scripts/og/index.html.

bun run og

This 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.png

The generator uses a local Chrome or Chromium installation. If it can’t find one, set CHROME_PATH to the browser executable.

Structure

  • src/routes/+page.svelte — landing page composition
  • src/lib/components/site/ — page sections and shared UI components
  • src/lib/components/ui/ — shadcn-svelte primitives
  • src/lib/content/ — projects, videos, principles, community links and platform data
  • src/lib/site.ts — external URLs and navigation
  • src/routes/layout.css — theme tokens, fonts and shared utilities
  • scripts/og/index.html — editable Open Graph template
  • scripts/generate-og.mjs — renders the template to static/og.png
  • static/images/showcase/ — cross-platform app screenshots
  • static/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.

About

The moreSwift website.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages