Introduction

Welcome to Routix, the high-performance Golang router for modern web applications.


Routix is a high-performance, developer-friendly HTTP router and web framework for Golang. It combines the speed of a Radix Tree routing engine with the elegant developer experience inspired by modern frameworks like Laravel.

Designed for building scalable APIs, microservices, and full-stack applications, Routix gets out of your way while providing powerful tools when you need them.

⚡ Blazing Fast

Built on top of a highly optimized Radix Tree. Zero allocation in hot paths ensures maximum throughput.

🛠️ Laravel-Inspired CLI

Scaffold projects, generate controllers, run migrations, and manage styles with a powerful CLI tool.

🔌 Battery Included

Middleware system, CORS, Rate Limiting, Recovery, Logger, and structured Error Handling out of the box.

🏗️ Production Ready

Docker support, Graceful Shutdown, Dependency Injection, and Security best practices built-in.

Core Features

Routix provides a robust set of features to handle complex application requirements:

🎯 Core Framework

  • Fast HTTP Router: Optimized radix tree routing for matching complex patterns instantly.
  • Middleware System: Composable middleware chain for authentication, logging, and more.
  • Route Groups: Organize routes with prefixes and middleware (e.g., /api/v1, /admin).
  • Parameter Binding: Automatic URL parameter extraction and type conversion.
  • Response Helpers: Fluent APIs for JSON, HTML, Redirects, and custom structures.

🛠️ CLI Tool

Why write boilerplate? Routix comes with a powerful CLI to speed up development:

  • Project Scaffolding: routix new starts a standard project structure.
  • Code Generators: routix make:controller, make:model.
  • Hot Reload: routix serve for instant feedback during development.
  • Database Migrations: routix migrate management system.

Philosophy

Routix follows a "Batteries Included, But Removable" philosophy. You get everything you need to start fast—Router, CLI, Middleware—but the architecture remains modular. You aren't forced into a specific database or ORM unless you choose the full-stack starter.

Next Steps

Ready to build? Check out the installation guide to get started.