omnera
v0.0.1
Published
Omnera - Modern TypeScript framework built with Bun
Maintainers
Readme
Omnera
⚠️ Early Development: Omnera is in Phase 1 (Foundation). See STATUS.md for implementation progress and docs/specifications.md for the full product vision.
A configuration-driven web application platform built with Bun, Effect, React, and Tailwind CSS.
Current Version: 0.0.1 - Minimal web server with React SSR and dynamic CSS compilation
Prerequisites
- Bun v1.3.0 or higher
Installing Bun
# macOS, Linux, WSL
curl -fsSL https://bun.com/install | bash
# Windows (PowerShell)
powershell -c "irm bun.com/install.ps1 | iex"Quick Start
1. Install Dependencies
bun install2. Run Your First Server
Option A: Use the template
bun run templates/landing-page.tsOption B: Create your own
// app.ts
import { start } from 'omnera'
const myApp = {
name: 'My App',
description: 'A simple Bun application',
}
start(myApp)bun run app.tsVisit http://localhost:3000 to see your app running!
3. Customize Configuration
import { start } from 'omnera'
start(myApp, {
port: 8080, // Custom port (default: 3000)
hostname: '0.0.0.0', // Custom hostname (default: localhost)
})What's Included
Current Features (v0.0.1):
- ✅ Bun Runtime - Fast TypeScript execution without compilation
- ✅ Web Server - Hono-based server with automatic lifecycle management
- ✅ React SSR - Server-side rendering with React 19
- ✅ Tailwind CSS - Auto-compilation with PostCSS (no build step)
- ✅ Type Safety - Effect Schema validation for configuration
- ✅ Graceful Shutdown - Automatic SIGINT/SIGTERM handling
Coming Soon (see STATUS.md):
- 📋 Database integration (PostgreSQL + Drizzle ORM)
- 📋 Authentication (Better Auth)
- 📋 Dynamic routing
- 📋 CRUD operations
- 📋 Admin dashboards
- 📋 And much more...
Core Stack
| Technology | Version | Purpose | | ---------------- | ------- | --------------------------------- | | Bun | 1.3.0 | Runtime & package manager | | TypeScript | ^5 | Type-safe language | | Effect | 3.18.4 | Functional programming (internal) | | Hono | 4.9.12 | Web framework | | React | 19.2.0 | UI library (SSR) | | Tailwind CSS | 4.1.14 | Styling |
Full stack details in CLAUDE.md
Development
Common Commands
# Development
bun install # Install dependencies
bun run templates/landing-page.ts # Run example
# Code Quality
bun run lint # Run ESLint
bun run format # Run Prettier
bun run typecheck # TypeScript check
# Testing
bun test # Unit tests
bun test:e2e # E2E tests (Playwright)
bun test --watch # Watch mode
# Watch Mode
bun --watch src/index.ts # Auto-reload on changesProject Structure
omnera-v2/
├── docs/ # Detailed documentation
│ ├── specifications.md # Product vision & roadmap
│ ├── architecture/ # Architecture patterns
│ └── infrastructure/ # Tech stack docs
├── src/
│ ├── index.ts # Main entry point
│ ├── application/ # Use cases (Effect programs)
│ ├── domain/ # Business logic (pure functions)
│ ├── infrastructure/ # External services
│ └── presentation/ # UI components & routes
├── templates/ # Example applications
│ └── landing-page.ts # Minimal landing page template
├── tests/ # E2E tests (Playwright)
├── STATUS.md # Implementation progress tracker
├── CLAUDE.md # Technical documentation
└── README.md # This fileDocumentation
| Document | Purpose | | ---------------------------------------------------- | ------------------------------------------ | | README.md | Quick start guide (you are here) | | STATUS.md | Current implementation status & roadmap | | CLAUDE.md | Technical documentation & coding standards | | docs/specifications.md | Product vision & future features |
Why Bun?
Omnera uses Bun instead of Node.js:
- ⚡ Native TypeScript - Execute
.tsfiles directly, no compilation needed - 🚀 4x Faster - Cold starts and package installs
- 🛠️ All-in-One - Runtime, package manager, test runner, bundler
- 🎯 Better DX - Built-in watch mode, faster feedback loops
Important: This is a Bun-only project. Do not use node, npm, yarn, or pnpm.
Contributing
Commit Message Format
This project uses Conventional Commits for automated versioning:
feat(tables): add CRUD operations # Minor version bump (0.X.0)
fix(server): resolve port binding # Patch version bump (0.0.X)
docs(readme): update installation # No version bump
feat!: redesign configuration API # Major version bump (X.0.0)Types: feat, fix, docs, style, refactor, perf, test, chore, ci
See CLAUDE.md for full guidelines.
Development Workflow
- Fork & Clone - Create your feature branch
- Code - Follow coding standards in CLAUDE.md
- Test - Run
bun run lint && bun run typecheck && bun test - Commit - Use conventional commits
- Push - Create a pull request
Releases are fully automated via GitHub Actions and semantic-release.
License
Business Source License 1.1 (BSL-1.1)
✅ Free for:
- Development and testing
- Personal projects
- Internal business use
❌ Not allowed:
- Offering Omnera as a managed service/SaaS to third parties
See LICENSE.md for full details.
Questions or feedback? Open an issue on GitHub or check the documentation.
