{"id":16732392,"url":"https://github.com/danielberkompas/mithril","last_synced_at":"2025-12-11T23:46:48.835Z","repository":{"id":57527303,"uuid":"110606193","full_name":"danielberkompas/mithril","owner":"danielberkompas","description":"An Elixir architecture-in-a-box for a backend server. Supports GraphQL, Authority authentication, and more.","archived":false,"fork":false,"pushed_at":"2019-03-09T16:38:52.000Z","size":5421,"stargazers_count":80,"open_issues_count":3,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-14T17:01:06.464Z","etag":null,"topics":["elixir","generator","mix-template","project-template","template","web-server"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielberkompas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-13T21:47:03.000Z","updated_at":"2023-12-08T00:37:48.000Z","dependencies_parsed_at":"2022-09-18T03:41:41.862Z","dependency_job_id":null,"html_url":"https://github.com/danielberkompas/mithril","commit_stats":null,"previous_names":["infinitered/mithril"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielberkompas%2Fmithril","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielberkompas%2Fmithril/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielberkompas%2Fmithril/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielberkompas%2Fmithril/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielberkompas","download_url":"https://codeload.github.com/danielberkompas/mithril/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244874220,"owners_count":20524576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","generator","mix-template","project-template","template","web-server"],"created_at":"2024-10-12T23:44:12.494Z","updated_at":"2025-12-11T23:46:43.814Z","avatar_url":"https://github.com/danielberkompas.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mithril\n\n[![Build Status](https://semaphoreci.com/api/v1/projects/39401688-bc0e-4d65-85b0-075dd293d2c7/1625736/badge.svg)](https://semaphoreci.com/ir/mithril)\n\n\u003e An Elixir architecture-in-a-box for a backend server. Supports GraphQL, Authority authentication, and more.\n\nMithril provides a foundation for a long-lived, maintainable, and highly\nscalable backend server. It uses Elixir for reliability and scalability, and\na set of conventions to ensure that the backend server is maintainable over\nthe long term.\n\nMithril is not a framework. It has two parts:\n\n1. **Project Generator**: A project generator which sets up your project\n   with good defaults and architecture.\n\n2. **Conventions**: A set of conventions described in the Mithril\n   documentation. None of these conventions are new to the Elixir community.\n   Mithril simply explains existing tools and demonstrates best practices.\n\nSee [the documentation](https://hexdocs.pm/mithril) for details.\n\n## Libraries Supported\n\nOther than Elixir, Mithril does not dictate your technology choices.\nHowever, the project generator can generate projects with support for\nany of the libraries listed below.\n\n| Name                                                             | Optional | Purpose                        |\n| ---------------------------------------------------------------- | -------- | ------------------------------ |\n| [Authority](https://github.com/infinitered/authority)            | Yes      | Authentication library         |\n| [Absinthe](https://absinthe-graphql.org)                         | Yes      | GraphQL APIs (for mobile apps) |\n| [Phoenix](https://phoenixframework.org)                          | Yes      | HTTP/Websocket support         |\n| [Webpack](https://webpack.js.org/) / [Brunch](http://brunch.io/) | Yes      | Front-end assets (JS/CSS)      |\n| [Hound](https://hex.pm/packages/hound)                           | Yes      | In-browser integration tests   |\n\n## Install\n\nMithril works best with Elixir 1.6. You can install Mithril like so:\n\n```sh\n$ mix archive.install hex mix_generator\n$ mix archive.install hex mix_templates\n$ mix template.install hex mithril\n```\n\nYou can then generate your project:\n\n```sh\n$ mix gen mithril my_app [options]\n```\n\nSee [the documentation](https://hexdocs.pm/mithril) for details on available options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielberkompas%2Fmithril","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielberkompas%2Fmithril","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielberkompas%2Fmithril/lists"}