Marten - The pragmatic web framework

Repository: https://github.com/martenframework/marten

Documentation: https://martenframework.com/docs

Marten is a Crystal Web framework that enables pragmatic development and rapid prototyping. It provides a consistent and extensible set of tools that developers can leverage to build web applications without reinventing the wheel.

Marten is...

🎯 Simple

Marten's syntax is inherited from the slickness and simplicity of the Crystal programming language. On top of that, the framework tries to be KISS and DRY compliant as much as possible in order to reduce time-to-market.

⚡ Fast

Marten gives you the ability to build full-featured web applications by leveraging the bare metal performances of the Crystal programming language. It also makes a moderate use of macros and tries to optimize for decent compile times.

🧳 Full-featured

Marten adheres to the "batteries included" philosopy. Out of the box, it provides the tools and features that are commonly required by web applications: ORM, migrations, translations, templating engine, sessions, etc.

🔧 Extensible

Marten gives you the ability to contribute extra functionalities to the framework easily. Things like custom model field implementations, new route parameter types, session stores, etc... can be registered to the framework easily.

💠 App-oriented

Marten allows to separate projects into a set of logical "apps". These apps can also be extracted in order to contribute features and behaviours to other Marten projects. The goal here is to allow the creation of a powerful apps ecosystem over time.

🛡️ Secure

Marten comes with security mechanisms out of the box. Things like cross-site request forgeries, clickjacking, or SQL injections are taken care of by the framework to avoid common security issues.