# Loco

> The one-person framework for Rust.

Source: https://talira.ai/catalog/loco-sdpwth2g
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Library, Command-line tool
- Categories: [frameworks / web / full stack](https://talira.ai/categories/frameworks/web/full-stack), [languages / rust](https://talira.ai/categories/languages/rust)
- Platforms: web, cli[^2][^5]
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1][^2]
- Free tier: yes[^1][^2]
- Self-hostable: yes[^2][^3]
- Plugins: yes[^4]

Loco is a Rails-inspired web framework for Rust ("Rust on Rails") for side projects and startups. It follows convention over configuration and generates connected building blocks: models on [SeaORM](https://talira.ai/catalog/seaorm-rbxbb26e.md) with migrations, controllers on Axum, background jobs (a queue on [Redis](https://talira.ai/catalog/redis-v917j45s.md), Postgres or [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md), or in-process async tasks), mailers, authentication, scheduled tasks, storage (memory, disk, S3, GCP or Azure) and a cache layer, with testing support for models, controllers and jobs. `loco new` creates an app (for example a SaaS starter with a client-side front end) and `cargo loco` runs and generates code. Parts can be used on their own: just a service, a database layer, a worker or a task.

## Links

- Website: https://loco.rs
- GitHub: https://github.com/loco-rs/loco
- Docs: https://loco.rs/docs/

## Problems it solves

- I want Rails-style conventions, generators and background jobs but in Rust
- every Rust web project starts with a week of wiring an ORM, auth, jobs and config together
- a Rust backend for a SaaS with user sign-up and login already set up
- run background workers and scheduled jobs in a Rust web app without bolting on a separate system
- scaffold models, migrations and controllers in Rust from the command line
- move a Ruby web app to Rust for speed and lower hosting costs without losing developer productivity
- send emails from a Rust web app in the background
- upload files to S3, GCP or Azure from my Rust backend through one storage API
- a batteries-included Rust web framework for a one-person startup
- test Rust controllers, models and background jobs with fixtures the framework sets up

## Features

- Generators for models, controllers, jobs, mailers and authentication
- SeaORM entities with relationships, validation and migrations
- Controllers and middleware on Axum
- View templating integration
- Background jobs on a Redis, Postgres or SQLite queue, or threads/async tasks
- Scheduler for jobs and shell scripts
- Mailers delivered in the background
- Storage on memory, disk, AWS S3, GCP or Azure
- Cache layer
- Testing support for models, controllers and jobs
- `loco new` app generator and `cargo loco` CLI

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.74 out of 1.
Signals: maintenance 1.00, adoption 0.80, momentum 0.73, community 0.89, backing 0.20, extensibility 0.40.

- last commit 17 days ago
- 71 commits in the last 90 days
- latest release v1.3.1 18 days ago
- 9.6k GitHub stars
- 164 contributors
- accepts sponsorship (Github)
- used by SpectralOps, Nativish
- has a plugin system

## Alternatives

- [Ruby on Rails](https://talira.ai/catalog/ruby-on-rails-xkdcpj5k.md): Accelerate your agents with convention over configuration.
- [axum](https://talira.ai/catalog/axum-8swp74wx.md): HTTP routing and request-handling library for Rust that focuses on ergonomics and modularity
- [Phoenix](https://talira.ai/catalog/phoenix-pr0aa2gd.md): Peace of mind from prototype to production.
- [Django](https://talira.ai/catalog/django-h3z1mj1k.md): The web framework for perfectionists with deadlines.
- [Laravel](https://talira.ai/catalog/laravel-4d4w140j.md): The PHP framework for web artisans.

## Sources

[^1]: https://github.com/loco-rs/loco/blob/master/LICENSE (checked 17 Nov 2026)
[^2]: https://github.com/loco-rs/loco (checked 17 Nov 2026)
[^3]: https://loco.rs/docs/how-to/deploy/ (checked 17 Nov 2026)
[^4]: https://loco.rs/docs/reference/hooks/ (checked 17 Nov 2026)
[^5]: https://loco.rs/docs/reference/cli/ (checked 17 Nov 2026)
