{"id":21519351,"url":"https://github.com/alexwayfer/flame_app_generator","last_synced_at":"2025-04-09T22:08:52.600Z","repository":{"id":205747458,"uuid":"714985615","full_name":"AlexWayfer/flame_app_generator","owner":"AlexWayfer","description":"Generator for Flame web applications","archived":false,"fork":false,"pushed_at":"2025-03-26T16:13:08.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T22:08:47.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/AlexWayfer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-06T08:54:50.000Z","updated_at":"2025-03-26T16:13:11.000Z","dependencies_parsed_at":"2024-01-16T14:33:42.800Z","dependency_job_id":"a1a98167-bbd2-4f3b-98fe-c576a772dd3d","html_url":"https://github.com/AlexWayfer/flame_app_generator","commit_stats":null,"previous_names":["alexwayfer/flame_app_generator"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexWayfer%2Fflame_app_generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexWayfer%2Fflame_app_generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexWayfer%2Fflame_app_generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexWayfer%2Fflame_app_generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexWayfer","download_url":"https://codeload.github.com/AlexWayfer/flame_app_generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119294,"owners_count":21050755,"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":[],"created_at":"2024-11-24T00:57:31.161Z","updated_at":"2025-04-09T22:08:52.585Z","avatar_url":"https://github.com/AlexWayfer.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flame App Generator\n\n[![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/flame_app_generator?style=flat-square)](https://cirrus-ci.com/github/AlexWayfer/flame_app_generator)\n[![Code Coverage](https://img.shields.io/codeclimate/coverage/AlexWayfer/flame_app_generator?style=flat-square)](https://codeclimate.com/github/AlexWayfer/flame_app_generator/code)\n[![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/flame_app_generator.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/flame_app_generator)\n[![Depfu](https://img.shields.io/depfu/AlexWayfer/flame_app_generator?style=flat-square)](https://depfu.com/repos/github/AlexWayfer/flame_app_generator)\n[![license](https://img.shields.io/github/license/AlexWayfer/flame_app_generator.svg?style=flat-square)](LICENSE.txt)\n[![Gem](https://img.shields.io/gem/v/flame_app_generator.svg?style=flat-square)](https://rubygems.org/gems/flame_app_generator)\n\nGem for new [Flame](https://github.com/AlexWayfer/flame) web applications generation.\n\nIt was created for myself, but you can suggest options for generation to adopt it for your usage.\n\n## Installation\n\nInstall it globally:\n\n```shell\ngem install flame_app_generator\n```\n\n## Usage\n\n### With local template\n\n```sh\nflame_app_generator name_of_a_new_app path/to/template\n```\n\n### With GitHub template\n\n```sh\nflame_app_generator name_of_a_new_app template_github_org/template_github_repo --git\n```\n\nBe aware: `flame_app_generator` uses `template/` directory from the GitHub repo, not the root one.\n\n### With custom project name\n\nIt can be used instead of camelized app name, for example:\n\n```sh\nflame_app_generator foobar path/to/template --project-name=FooBar\n```\n\n### With custom domain\n\nIt can be used instead of default `.com` domain, for example:\n\n```sh\nflame_app_generator foobar path/to/template --domain=foo-bar.dev\n```\n\n## Template creation\n\nExample of gem template you can see at [AlexWayfer/flame_app_template](https://github.com/AlexWayfer/flame_app_template).\n\nAvailable paths:\n\n| Path part  | Example of source | Example of result |\n| ---------- | ----------------- | ----------------- |\n| `app_name` | `app_name.rb`     | `foo_bar.rb`      |\n\nAny `*.erb` file will be rendered via [ERB](https://ruby-doc.org/stdlib/libdoc/erb/rdoc/ERB.html);\nif you want an `*.erb` file as result — name it as `*.erb.erb` (even if there are no tags).\n\nAvailable variables:\n\n| Variable            | Example of result  | Default                         |\n| ------------------- | ------------------ | ------------------------------- |\n| `name`, `app_name`  | `foo_bar`          | _required_                      |\n| `module_name`       | `FooBar`           | camelized app name              |\n| `short_module_name` | `FB`               | upcased chars from module name  |\n| `domain_name`       | `foobar.com`       | downcased module name + `.com`  |\n| `indentation`       | `tabs` or `spaces` | `tabs` (it's easier to convert) |\n\nBy default indentation is `tabs`, but if a template spaces-indented — option will not affect.\nSo, this option only for tabs-indented templates.\n\n### Git templates\n\nYou can create public git-templates and then guide users to call\n`flame_app_generator app_name your_org/your_repo --git`,\nbut be aware that `flame_app_generator` will look for template inside `template/` directory\nto allow you having out-of-template README, specs (for the template itself), anything else.\n\n## Development\n\nAfter checking out the repo, run `bundle install` to install dependencies.\n\nThen, run `bundle exec rspec` to run the tests.\n\nTo install this gem onto your local machine, run `toys gem install`.\n\nTo release a new version, run `toys gem release %version%`.\nSee how it works [here](https://github.com/AlexWayfer/gem_toys#release).\n\n## Contributing\n\nBug reports and pull requests are welcome\non [GitHub](https://github.com/AlexWayfer/flame_app_generator).\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexwayfer%2Fflame_app_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexwayfer%2Fflame_app_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexwayfer%2Fflame_app_generator/lists"}