devjar

Make an idea real. Change it live.

Try it live
pages
index.tsx
about.tsx
story.tsx
components
layout.tsx
content.ts
styles.css
1export default {2  "name": "devjar",3  "tagline": "Make an idea real. Change it live.",4  "category": "Features",5  "title": "Your next idea, already live.",6  "description": "Write React pages, edit their content, and see your changes in the preview. Start with an idea and keep going.",7  "about": "Devjar is a zero-config React static site builder. Create pages with React and TypeScript, share components between routes, and build a static site from the same files.",8  "entries": [9    {10      "title": "See changes as you make them",11      "category": "Live updates",12      "step": "01"13    },14    {15      "title": "One file. Another page.",16      "category": "File-based routing",17      "step": "02"18    },19    {20      "title": "Build a site you can take anywhere",21      "category": "Static output",22      "step": "03"23    }24  ]25}26

Build a site without the setup

Devjar keeps the project structure simple and handles the production details for you.

Routes from files

Files inside pages/ become routes, including nested pages and a custom 404.

pages/
├── index.tsx       → /
├── about.tsx       → /about
└── docs/
    └── start.tsx   → /docs/start

Self-contained production builds

Routes are prerendered to HTML. Dependencies are vendored, and imported assets and Tailwind CSS are emitted with content hashes.

Three commands

Develop locally, create the static output, then preview exactly what you will deploy.

npx devjar dev
npx devjar build
npx devjar start