A modern, full-featured blog powered by Pullnote (headless CMS) and SvelteKit.
/rss.xmlMake sure you have Node.js v22.12+ installed:
nvm install 22.12
nvm use 22.12
npm install
.env file:PULLNOTE_API_KEY=your-api-key-here
npm run dev
Visit http://localhost:5173 to see your blog.
Run the example post creator:
npm run create-post
Or edit create-example-post.js to customize your post.
npm run dev # Start dev server
npm run build # Build for production
npm run preview # Preview production build
npm run create-post # Create a blog post
See DEPLOYMENT.md for detailed deployment instructions.
Vercel (Recommended)
npm install -g vercel
vercel --prod
Netlify
npm install -g netlify-cli
npm run build
netlify deploy --prod --dir=build
Important: Set PULLNOTE_API_KEY environment variable in your deployment platform!
.
├── src/
│ ├── lib/
│ │ └── pullnote.js # Pullnote API utilities
│ ├── routes/
│ │ ├── +layout.svelte # Global layout
│ │ ├── +layout.js # Prerender config
│ │ ├── +page.svelte # Homepage with search
│ │ ├── +page.server.js # Fetch posts
│ │ ├── blog/
│ │ │ └── [slug]/ # Individual post pages
│ │ └── rss.xml/
│ │ └── +server.js # RSS feed generator
│ └── app.css # Tailwind imports
├── create-example-post.js # Script to create posts
├── svelte.config.js # SvelteKit config
├── tailwind.config.js # Tailwind config
├── vercel.json # Vercel deployment config
├── netlify.toml # Netlify deployment config
└── DEPLOYMENT.md # Detailed deployment guide
PULLNOTE_API_KEY=your-api-key # Required: Get from pullnote.com
This is a personal blog template. Feel free to fork and customize for your own use.
MIT