{"id":13507785,"url":"https://github.com/hrefhref/booter","last_synced_at":"2025-08-15T21:47:50.982Z","repository":{"id":13590597,"uuid":"16283373","full_name":"hrefhref/booter","owner":"hrefhref","description":"Boot an Elixir application step by step (inspired by RabbitMQ)","archived":false,"fork":false,"pushed_at":"2019-07-22T08:40:00.000Z","size":86,"stargazers_count":23,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-17T12:18:21.069Z","etag":null,"topics":["elixir","erl","erlang"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrefhref.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2014-01-27T15:41:42.000Z","updated_at":"2024-06-27T12:13:51.000Z","dependencies_parsed_at":"2022-09-10T12:01:53.908Z","dependency_job_id":null,"html_url":"https://github.com/hrefhref/booter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hrefhref/booter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrefhref%2Fbooter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrefhref%2Fbooter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrefhref%2Fbooter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrefhref%2Fbooter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrefhref","download_url":"https://codeload.github.com/hrefhref/booter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrefhref%2Fbooter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270635064,"owners_count":24620063,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","erl","erlang"],"created_at":"2024-08-01T02:00:39.040Z","updated_at":"2025-08-15T21:47:50.938Z","avatar_url":"https://github.com/hrefhref.png","language":"Elixir","funding_links":[],"categories":["Debugging"],"sub_categories":[],"readme":"# Booter\n\n[![Build Status](https://travis-ci.org/eraserewind/booter.svg?branch=master)](https://travis-ci.org/eraserewind/booter)\n\nComplex applications can be composed of multiple subsystems or groups or processes, independants or dependants of\neach others. And starting theses subsystems is not easy as `:application.start/2` or a supervisor child spec.\n\nBooter allows modules to define a list of **boot steps** using Module attributes. Each step define what to call, what\nit requires and enables. A directed acyclic graph is then created from theses steps, and called in the correct order.\n\nInspired/adapted to Elixir by RabbitMQ's boot process implemented in [rabbit.erl][1] and [rabbit_misc.erl][2]. For an\nin-depth explaination, read Alvaro Videla's [article][3] and [slides][4].\n\n## Usage\n\n[Read the API documentation for full usage][exdoc].\n\n### Defining boot steps\n\nUsing `Booter` and the `boot_step/3` macro:\n\n```elixir\ndefmodule MyModule do\n  use Booter\n\n  # without name (__MODULE__ is assumed)\n  boot_step mfa: {mod, fun, args}, requires: :required_step, enables: :another_step\n\n  # with name\n  boot_step :awesome_name, mfa: {mod, fun, args}, requires: :required_step, enables: :another_step\n\n  # With name and description\n  boot_step :awesome_name, \"Unicorn generator\", mfa: {mod,fun,args}, requires: :rainbow_server, enables: :magic\nend\n```\n\n### Start boot\n\nJust call `Booter.boot!`. Can raise exceptions.\n\n[exdoc]: http://eraserewind.github.io/booter/\n[1]: https://github.com/rabbitmq/rabbitmq-server/blob/master/src/rabbit.erl\n[2]: https://github.com/rabbitmq/rabbitmq-server/blob/master/src/rabbit_misc.erl\n[3]: https://github.com/videlalvaro/rabbit-internals/blob/master/rabbit_boot_process.md\n[4]: http://fr.slideshare.net/old_sound/rabbitmq-boot-system\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrefhref%2Fbooter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrefhref%2Fbooter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrefhref%2Fbooter/lists"}