rustatian.me is a modern web application built with Preact, Vite, and MUI, featuring SSR support, custom theming, and Markdown rendering.
bun installbun run devThe application will be available at: http://localhost:5173
bun run build:prodAfter running the build command, the result will be in the dist/ folder with all routes pre-rendered (static site generation).
bun run buildThis will build the project using the default (development) environment variables.
bun run preview- Preact — ⚛️ lightweight alternative to React
- Vite — ⚡ fast build tool and dev server
- MUI — 🎨 modern UI component library
- @tanstack/react-query — 🔄 asynchronous data management
- markdown-it — 📝 Markdown rendering
- TypeScript — 🔒 type safety
src/
api/ # 🌐 API requests
assets/ # 🖼️ Static resources (icons, images)
components/ # 🧩 UI components
hooks/ # 🪝 Custom hooks
pages/ # 📄 Application pages
state/ # 🗃️ Global state
theme/ # 🎨 Theming and styles
utils/ # 🛠️ Utilities
index.tsx # 🚪 Entry point
| Purpose | Command |
|---|---|
| 🚀 Start dev server | bun run dev |
| 🏗️ Build for production | bun run build:prod |
| 🛠️ Build for development | bun run build |
| 👀 Preview build | bun run preview |
| 🧹 Lint code | bun run lint |
| 🛠️ Lint & fix | bun run lint:fix |
| 📝 Check formatting | bun run format |
| ✨ Format & fix | bun run format:fix |
- ESLint and Prettier are used for code quality and formatting.
- Linting and formatting of changed files are automatically run before commits (via Husky and lint-staged).
See the LICENSE file.