Uvacoder / swyxkit-clone

Home Page:https://swyxkit-clone.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swyxkit!

swyx's preferred starter for Svelte projects:

  • SvelteKit
  • Tailwind 3 + Tailwind Typography
  • Netlify

Key Features and Design Considerations:

  • Features
    • Dark mode
    • Blog with blog index
      • Top level blog URLs (/myblog instead of /blog/myblog)
      • Blog content in a separte /content folder instead of in /src/routes
    • Consumes markdown and MDSveX (and in future - external data sources)
      • with syntax highlighting
    • RSS (at /api/rss.xml) with caching
  • Performance touches
    • no hydrate on about and blog pages
    • set maxage to 1 minute to cache (consider making it 1-7 days on older posts)
  • Minor design/UX touches

Live Demo

See https://swyxkit.netlify.app/

image

image

Setup

npm install
npm run start

You should be able to deploy this project straight to Netlify as is, just like this project is.

Before deploying, remember to configure /lib/siteConfig.js - just some hardcoded vars i want you to remember to configure.

Further Reading

You can read:

Acknowledgements

About

https://swyxkit-clone.vercel.app


Languages

Language:Svelte 70.7%Language:JavaScript 23.2%Language:CSS 3.6%Language:HTML 2.5%