# Loco

Rust web framework modelled on Rails that generates models, controllers, background jobs and mailers for web apps and JSON APIs.


Source: https://findsoftware.frbit.cloud/loco/
Last reviewed: 2026-10-26
Listed since: 2026-10-26

## Record

### Links

- home: https://loco.rs
- repository: https://github.com/loco-rs/loco
- docs: https://loco.rs/docs/
- discord: https://discord.gg/fTvyBzwKS8

### Identity

- status: active
- maintainer: Dotan Nahum, Elad Kaplan
- maintainerType: unknown
- parent: unknown
- firstRelease: 2023
- hqCountry: unknown

### Kind

- category: framework
- hosting: binary
- language: rust
- runtime: binary
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: unknown
- databases: postgres, sqlite
- adminUi: unknown
- headlessApi: unknown
- templating: tera
- i18n: unknown

### Rendering and deploy

- runsAs: always-on
- renderingModes: server, spa
- installMethod: cargo install loco, then loco new

### License

- licenseModel: open-source
- license: Apache-2.0

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-09-24

### Adoption

- githubStargazers: 9525
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 155
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://loco.rs/ (read 2026-10-26)
- urls: https://api.github.com/repos/loco-rs/loco (read 2026-10-26)
- urls: https://loco.rs/llms.txt (read 2026-10-26)
- firstRelease: https://crates.io/api/v1/crates/loco-rs (read 2026-10-26)
- maintainer: https://raw.githubusercontent.com/loco-rs/loco/master/LICENSE (read 2026-10-26)
- category: https://github.com/loco-rs/loco/blob/master/README.md (read 2026-10-26)
- language: https://api.github.com/repos/loco-rs/loco (read 2026-10-26)
- runtime: https://loco.rs/docs/how-to/deploy/ (read 2026-10-26)
- license: https://api.github.com/repos/loco-rs/loco (read 2026-10-26)
- licenseModel: https://raw.githubusercontent.com/loco-rs/loco/master/LICENSE (read 2026-10-26)
- installMethod: https://github.com/loco-rs/loco/blob/master/README.md (read 2026-10-26)
- runsAs: https://loco.rs/docs/how-to/deploy/ (read 2026-10-26)
- renderingModes: https://loco.rs/docs/how-to/render-views/ (read 2026-10-26)
- renderingModes: https://loco.rs/docs/how-to/build-a-spa/ (read 2026-10-26)
- templating: https://loco.rs/llms.txt (read 2026-10-26)
- databases: https://loco.rs/docs/reference/configuration/ (read 2026-10-26)
- githubStargazers: https://api.github.com/repos/loco-rs/loco (read 2026-10-26)
- contributors: https://api.github.com/repos/loco-rs/loco/contributors?per_page=1 (read 2026-10-26)
- currentMajor: https://api.github.com/repos/loco-rs/loco/releases (read 2026-10-26)
- latestReleaseDate: https://api.github.com/repos/loco-rs/loco/releases (read 2026-10-26)

## Notes

Loco is a framework for web apps and JSON APIs written in Rust. The project describes itself as following Rails and adapting its concepts to Rust. Generators create models, controllers, background jobs and mailers, and the homepage names SeaORM and Axum as part of the stack.

The README installs the generator with `cargo install loco`, and `loco new` creates an app. Data is kept in PostgreSQL or SQLite, chosen in the database URI of the configuration file. Server-rendered HTML uses the Tera template engine, and a separate guide covers building a single-page app against the Loco backend.

## Worth knowing

A release build produces one binary, so the production host needs that binary and a config folder but no Rust toolchain. The [deployment guide](https://loco.rs/docs/how-to/deploy/) also covers a generated Dockerfile. The background workers and scheduler need an always-on host.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
