Colonel Documentation
Colonel Documentation
Welcome to the official Colonel docs.
Colonel is a TypeScript-first web framework running on Bun with a compact, opinionated architecture:
- Kernel-driven request lifecycle
- Router with Controller@method mapping
- Dependency injection container
- Session support via request-scoped API
- EJS view rendering with layouts and partials
- CLI scaffolding via create-colonel
Audience
These docs are written for:
- New users scaffolding their first app
- Contributors extending the framework internals
- Teams who want an opinionated, inspectable backend stack
Read Next
- Getting Started
- Why Colonel
- Developer Experience Progress
- Architecture
- Routing
- Controllers and Dependency Injection
- Views and Static Files
- Sessions
- CLI and Template Workflow
- Stable API Contract
- 1.0 Release Notes
- Release Checklist
- Support Policy
- Roadmap
- Extending Colonel
GitHub Pages Setup
This docs section is ready for GitHub Pages from the docs directory.
- Open repository Settings -> Pages.
- Set Source to Deploy from a branch.
- Select your default branch and /docs folder.
- Save.
Once published, docs are available at:
https://gwhitdev.github.io/colonel-framework/