marten

Из публичных источников

Веб-фреймворк для Crystal с полным набором встроенных возможностей.

Машинный перевод · Показать оригинал

The batteries-included web framework for Crystal.

ПриложениеКатегория: Веб-приложенияOpen sourceданные проверены 16 окт. 2026 г.

Обзор

  • backend
  • crystal
  • crystal-lang
  • crystal-language
  • framework
  • http
  • server
  • web
  • web-framework
  • webapp
  • webapplication

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    martenframework.com/ ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/martenframework/marten ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
Web browserНеизвестно———
Server / self-hostedНеизвестно———
Container (OCI)Неизвестно———

Релизы

проверено 30 окт. 2026 г.
v0.7.1Последний10 окт. 2026 г.Официальный источник ↗

Файлы версии 0.7.1

К релизу не приложены файлы.

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 16 окт. 2026 г.
Оценка качества83
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 1 days ago
Документация · 1515
README 4758 chars, description present
Готовность к использованию · 156
install instructions: no; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
10 release(s), latest 5 days ago
Точность категории · 105
classifier confidence 0.5
Популярность · 107
488 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX MIT
Сообщество · 55
issues enabled, 34 forks

Лицензия

MIT
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/martenframework/martenОсновной★ 488 звёздактивность 15 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

README

Из martenframework/marten · лицензия MIT · загружено 30 окт. 2026 г.

Marten

[logo]

[Version] [License] [CI] [CI] [Discord]


Marten is a batteries-included web framework for Crystal. It provides a consistent and extensible set of tools for building complete web applications without reinventing the wheel.

Overview

Key characteristics

🧳 Batteries included

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

🧩 Consistent

Marten's components are designed to work together and follow consistent conventions across the framework, making its APIs predictable and easy to learn.

🔧 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 with the framework.

💠 App-oriented

Marten allows separating projects into a set of logical "apps". These apps can also be extracted to contribute features and behaviors to other Marten projects. This provides a foundation for developing and distributing reusable Marten applications.

⚡ Fast

Marten gives you the ability to build full-featured web applications while leveraging the native performance of the Crystal programming language. It also aims to keep compile times under control.

🛡️ Secure by default

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.

Marten at a glance

Design your models easily

Marten comes with an object-relational mapper (ORM) that you can leverage to describe your database using Crystal classes and a convenient DSL.

class Article < Marten::Model
  field :id, :big_int, primary_key: true, auto: true
  field :title, :string, max_size: 128
  field :content, :text
  field :author, :many_to_one, to: User
end

Process requests with handlers

Handlers are responsible for processing web requests and for returning responses. This can involve loading records from the database, rendering HTML templates, or producing JSON payloads.

class ArticleListHandler < Marten::Handler
  def get
    render "articles/list.html", { articles: Article.all }
  end
end

Render user-facing content with templates

Templates provide a convenient way to define your presentation logic and to write content (such as HTML) that is rendered dynamically. This rendering can involve model records or any other variables you define.

{% extend "base.html" %}
{% block content %}
<ul>
  {% for article in articles %}
    <li>{{ article.title }}</li>
  {% endfor %}
</ul>
{% endblock content %}

Documentation

Documentation is available at https://martenframework.com/docs.

Getting started

Are you new to the Marten web framework? The following resources will help you get started:

  • The installation guide will help you install Crystal and the Marten CLI
  • The tutorial will help you discover the main features of the framework by creating a simple web application

Authors

Morgan Aubert (@ellmetha) and contributors.

Acknowledgments

The Marten web framework initially drew its inspiration from Django and Ruby on Rails. You can browse the Acknowledgments section of the documentation to learn more about the various inspirations and contributions that helped shape Marten.

License

MIT. See LICENSE for more details.

Открыть репозиторий ↗