{"id":21026358,"url":"https://github.com/nimblehq/elixir-templates","last_synced_at":"2025-11-11T20:37:27.538Z","repository":{"id":36957825,"uuid":"271156947","full_name":"nimblehq/elixir-templates","owner":"nimblehq","description":"Our optimized Elixir templates used in our projects","archived":false,"fork":false,"pushed_at":"2023-08-02T01:37:56.000Z","size":1744,"stargazers_count":89,"open_issues_count":23,"forks_count":6,"subscribers_count":19,"default_branch":"develop","last_synced_at":"2025-06-13T07:50:13.987Z","etag":null,"topics":["elixir","generator","otp","phoenix","phoenix-framework"],"latest_commit_sha":null,"homepage":"https://nimblehq.co","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/nimblehq.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-10T02:26:26.000Z","updated_at":"2025-03-07T09:17:08.000Z","dependencies_parsed_at":"2024-11-19T11:55:34.078Z","dependency_job_id":"739b46b9-cc99-4c2e-812a-1866685801ec","html_url":"https://github.com/nimblehq/elixir-templates","commit_stats":{"total_commits":780,"total_committers":18,"mean_commits":"43.333333333333336","dds":"0.34487179487179487","last_synced_commit":"3c3ac262c404f6d3ed4379914da19d04cdaf08b3"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/nimblehq/elixir-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Felixir-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Felixir-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Felixir-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Felixir-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nimblehq","download_url":"https://codeload.github.com/nimblehq/elixir-templates/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Felixir-templates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260786961,"owners_count":23063019,"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","otp","phoenix","phoenix-framework"],"created_at":"2024-11-19T11:44:17.488Z","updated_at":"2025-11-11T20:37:22.485Z","avatar_url":"https://github.com/nimblehq.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\n\nPhoenix/Mix template for projects at [Nimble](https://nimblehq.co/).\n\n## Prerequisites\n\nNimbleTemplate has been developed and actively tested with the below environment:\n\n- Mix 1.13.3\n- Elixir 1.14.0\n- Erlang/OTP 25.0.4\n- Phoenix 1.6.11\n- Node 16.15.0\n\n## Installation\n\n*Note:* NimbleTemplate only works on a _new_ Phoenix/Mix project, applying it to an existing Phoenix/Mix project might not work as expected.\n\nStep 1: Generate a new project\n\n```bash\n# New Phoenix project\nmix phx.new awesome_project\n\n# New Mix project\nmix new awesome_project\n```\n\nStep 2: Add `nimble_template` dependency to `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:nimble_template, \"~\u003e 4.7.0\", only: :dev, runtime: false},\n    # other dependencies ...\n  ]\nend\n```\n\nStep 3: Fetch and install dependencies\n\nRun this command in the root of the project directory to install NimbleTemplate.\n\n```bash\nmix do deps.get, deps.compile\n```\n\n## Usage\n\n```bash\nmix help nimble_template.gen # Print help\n\nmix nimble_template.gen -v # Print the version\n\n# Phoenix application\nmix nimble_template.gen --web   # Apply the Web template\nmix nimble_template.gen --api   # Apply the API template\nmix nimble_template.gen --live  # Apply the LiveView template\n\n# Non-Phoenix application\nmix nimble_template.gen --mix # Apply the Mix template\n```\n\n## Running tests\n\nThe testing documentation is on [Wiki](https://github.com/nimblehq/elixir-templates/wiki/Testing)\n\n### Release process\n\nThe release documentation is on [Wiki](https://github.com/nimblehq/elixir-templates/wiki/Release)\n\n## Contributing\n\nContributions, issues, and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/nimblehq/elixir-templates/issues).\n\n## FAQ\n\n### 1. Getting `(Mix) The task \"phx.new\" could not be found` error\n\nThe Phoenix application generator is missing. By solving this problem, you need to run\n\n```bash\nmix archive.install hex phx_new\n```\n\nor\n\n```bash\nmix archive.install hex phx_new #{specific-version}\n```\n\n### 2. Getting `Wallaby can't find chromedriver` error\n\nYour OS is missing/not installing `chromedriver`, you need to run:\n\nHomebrew\n\n```bash\nbrew install --cask chromedriver\n```\n\nDebian/Ubuntu\n\n```bash\napt install chromium-chromedriver\n```\n\nOr download the package on the official site: https://chromedriver.chromium.org/downloads\n\n## License\n\nThis project is Copyright (c) 2014 and onwards. It is free software, and may be redistributed under the terms specified in the [LICENSE] file.\n\n[LICENSE]: /LICENSE\n\n## About\n\n![Nimble](https://assets.nimblehq.co/logo/dark/logo-dark-text-160.png)\n\nThis project is maintained and funded by Nimble.\n\nWe love open source and do our part in sharing our work with the community!\nSee [our other projects][community] or [hire our team][hire] to help build your product.\n\n[community]: https://github.com/nimblehq\n[hire]: https://nimblehq.co\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimblehq%2Felixir-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimblehq%2Felixir-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimblehq%2Felixir-templates/lists"}