Skip to content

🍞 SpeedLoaf is a fullstack starter kit for Bun β€” server-rendered TSX, bundled JS/CSS, and no frontend bloat. Just clean, fast builds and simple deploys.

Notifications You must be signed in to change notification settings

alexpricedev/SpeedLoaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Speedloaf Logo

SpeedLoaf

⚑️ Ultra-fast, modern full-stack TS starter for Bun.sh based apps using familiar JSX templating ⚑️
JSX is used as a templating language for familiarity, but this is not a React framework.
Focusing on web standards, separation of concerns, and leveraging modern tooling to get shit built fast.
Supports web components and lets you opt-in to React for specific pages if needed.

Bun JSX/TSX TypeScript Railway License


πŸš€ Features

  • Bun-powered: Lightning-fast dev/build with Bun
  • Familiar JSX/TSX templating: Use the syntax you know, but not tied to any framework
  • Web standards first: Embraces native HTML, CSS, and JavaScript
  • Separation of concerns: Encourages clean, maintainable code structure
  • Modern frontend tooling: Integrates with your favorite tools and workflows
  • Web components support: Use or author custom elements natively
  • Opt-in React: Use React only where you need itβ€”per page
  • Server-side rendering: TSX-based static/server components
  • HTML streaming: Powered by react-dom/server in Bun
  • TypeScript-first: Everything is writte in TS and wired up by Bun
  • Easy deploy: Instantly deployable to Railway

🏁 Quick Start

bun install
bun run dev

Then visit http://localhost:3000


πŸ“ Folder Structure

SpeedLoaf just wants you to seperate your backend logic and view creation (HTML) from your frontend code (style and interactivity). You can do what you like in terms of dir structure but here is the high level:

β”œβ”€β”€ public/           # Static assets (logo, etc)
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ client/       # Frontend (component and page CSS + JS)
β”‚   β”œβ”€β”€ server/       # Server routes, SSR templates using JSX (views)
β”‚   └── types/        # Shared TypeScript types
β”œβ”€β”€ dist/             # Build output
β”œβ”€β”€ package.json      # Project metadata & scripts
└── README.md         # This file

🀝 Contributing

Contributions are welcome! Please open issues or PRs. Use bun commit to trigger the gitmoji commit message builder.


☁️ Deploy

Deploy instantly on Railway:

  1. Push to GitHub
  2. Create a new Railway project
  3. Select your repo
  4. Watch it fly!

πŸ“„ License

MIT β€” free for personal and commercial use.


Made with ❀️ in Sheffield, UK

About

🍞 SpeedLoaf is a fullstack starter kit for Bun β€” server-rendered TSX, bundled JS/CSS, and no frontend bloat. Just clean, fast builds and simple deploys.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published