Loco is a Web or API framework for Rust. It’s also a productivity suite for developers: it contains everything you need while building a hobby or your next startup. It’s also strongly inspired by Rails.
Build apps locally and save lots of time. No need for SaaS or cloud services. Save time, money, and effort with auth, workers, emails & more out of the box.
This is free and open source software.
Key Features
- You have a variant of the MVC model, which removes the paradox of option. You deal with building your app, not making academic decisions for what abstractions to use.
- Models – model your business with rich entities and avoid writing SQL, backed by SeaORM. Build relations, validation and custom logic on your entities for the best maintainability.
- Views – use server-rendered templates with Tera or JSON. Loco can render views on the server or work with a frontend app seamlessly. Configure your fullstack set up any way you like.
- Controllers – handle Web requests parameters, body, validation, and render a response that is content-aware. We use Axum for the best performance, simplicity and extensibility.
- Background jobs – perform compute or I/O intensive jobs in the background with a Redis backed queue, or with threads. Implementing a worker is as simple as implementing a perform function for the Worker trait.
- Deployment – generate deployment configurations with a guided CLI interface. Select from deployment options for tailored deployment setups.
- Scheduler – simplifies the traditional, often cumbersome crontab system, making it easier and more elegant to schedule tasks or shell scripts.
- Fat models, slim controllers. Models should contain most of your logic and business implementation, controllers should just be a lightweight router that understands HTTP and moves parameters around.
- Command line driven to keep your momentum and flow. Generate stuff over copying and pasting or coding from scratch.
- Every task is “infrastructure-ready”, just plug in your code and wire it in: controllers, models, views, tasks, background jobs, mailers, and more.
- Convention over configuration: decisions are already done for you — the folder structure matter, configuration shape and values matter, and the way an app is wired matter to how an app operates and for you do be the most effective.
Website: loco.rs
Support: GitHub Code Repository
Developer: Elad Kaplan, Dotan J. Nahum
License: Apache License 2.0
Loco is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Rust Web Frameworks | |
|---|---|
| axum | Ergonomic and modular web framework |
| warp | Composable, web server framework |
| hyper | Protective and efficient HTTP library |
| Loco | Web or API framework for Rust |
| Gotham | Flexible web framework that promotes stability, safety, security and speed |
| Rocket | Async web framework focusing on usability, security, extensibility, and speed. |
| Poem | Full-featured and easy-to-use web framework |
| ntex | Framework for composable network services |
| Trillium | Modular toolkit for building async web applications |
| zino | Next-generation framework for composable applications |
| Iron | Extensible, concurrency focused web development |
| Viz | Fast, robust, flexible, lightweight web framework |
| Xitca-Web | HTTP library and web framework |
| Thruster | Fast, middleware based, web framework |
| nickel | Simple and lightweight foundation for web applications |
| Graphul | Express inspired web framework |
| Roa | Async web framework inspired by koa, lightweight but powerful |
| Ohkami | Intuitive and declarative web framework |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

