{"id":33230949,"url":"https://github.com/iron-meteor/iron-cli","last_synced_at":"2025-12-27T12:58:21.959Z","repository":{"id":15455705,"uuid":"18188739","full_name":"iron-meteor/iron-cli","owner":"iron-meteor","description":"A scaffolding command line tool for Meteor applications.","archived":false,"fork":false,"pushed_at":"2020-02-03T10:44:06.000Z","size":1312,"stargazers_count":637,"open_issues_count":25,"forks_count":81,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-10-01T07:25:16.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iron-meteor.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-27T19:36:16.000Z","updated_at":"2025-08-15T15:59:30.000Z","dependencies_parsed_at":"2022-08-30T15:52:34.295Z","dependency_job_id":null,"html_url":"https://github.com/iron-meteor/iron-cli","commit_stats":null,"previous_names":["eventedmind/em"],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/iron-meteor/iron-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-meteor%2Firon-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-meteor%2Firon-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-meteor%2Firon-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-meteor%2Firon-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iron-meteor","download_url":"https://codeload.github.com/iron-meteor/iron-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iron-meteor%2Firon-cli/sbom","scorecard":{"id":494498,"data":{"date":"2025-08-11","repo":{"name":"github.com/iron-meteor/iron-cli","commit":"533cc8b0a44445b5f9e8a4b52f3a2061e95ae82c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/23 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T20:08:01.186Z","repository_id":15455705,"created_at":"2025-08-19T20:08:01.186Z","updated_at":"2025-08-19T20:08:01.186Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27769064,"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-12-16T02:00:10.477Z","response_time":57,"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":[],"created_at":"2025-11-16T17:00:47.598Z","updated_at":"2025-12-16T17:56:34.323Z","avatar_url":"https://github.com/iron-meteor.png","language":"JavaScript","readme":"# iron\n\n[![Join the chat at https://gitter.im/iron-meteor/iron-cli](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/iron-meteor/iron-cli?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nA command line scaffolding tool for Meteor applications. It automatically\ncreates project structure, files and boilerplate code.\n\n## Installation\nInstall the iron command line tool globally so you can use it from any project directory.\n\n```sh\n$ npm install -g iron-meteor\n```\n\n**This replaces the `em` command line tool.**\n\nYou can remove the meteor-em tool like this:\n\n```sh\n$ npm uninstall -g meteor-em\n```\n\nYou can upgrade an existing project either by hande or by using the `migrate`\ncommand like this:\n\n**./my-app**\n```sh\n$ iron migrate\n```\n\n## Usage\nUse the `help` command to get a list of the top level commands.\n\n```\n$ iron help\n```\n\nUse the `g` command to see a list of generators.\n\n```\n$ iron g\n```\n\n**Run Iron in verbose mode (extended logging)**\n\n```\n$ IRON_DEBUG=true iron\n```\n\n## Directory Structure\nThe application will have the following directory structure:\n\n```sh\nmy-app/\n .iron/\n   config.json\n bin/\n build/\n config/\n   development/\n     env.sh\n     settings.json\n app/\n   client/\n     collections/\n     lib/\n     stylesheets/\n     templates/\n     head.html\n   lib/\n     collections/\n     controllers/\n     methods.js\n     routes.js\n   packages/\n   private/\n   public/\n   server/\n     collections/\n     lib/\n     methods.js\n     publish.js\n     bootstrap.js\n```\n\n## Generators\n```sh\n$ iron g:scaffold todos\n$ iron g:template todos/todo_item\n$ iron g:collection todos\n$ iron g:route webhooks/stripe --where \"server\"\n$ iron g:controller todos/show_todo\n$ iron g:route todos/show_todo --action \"show\"\n$ iron g:publish todos\n$ iron g:stylesheet main\n$ iron g:package package:name\n```\n\n## Commands\n\n### Create an Application\n```sh\n$ iron create my-app\n```\n\nThe following parameters can be specified:\n```\n--css=css|scss|less\n--js=js|coffee|es6\n--html=html|jade\n--skip-template-css=true|false\n--skip-template-js=true|false\n--skip-template-html=true|false\n--skip-iron-router\n--skip-route-controller\n--skip-route-template\n--skip-generator-comments\n```\n\n**NOTE**\n\n*Implementing complete customization and configuration is high on the development priority list. See the [Github issue](https://github.com/iron-meteor/iron-cli/issues/53) if you'd like to contribute.*\n\n### Run Your Application\n```sh\n$ iron run\n```\n\nThis will automatically load your config/development/env.sh and config/development/settings.json files.\n\n### Run the Application with a Different Environment\n```sh\n$ iron run --env=staging\n```\n\nThis will use the config files in `config/staging` instead.\n\n### Debug Your Application on the Server Side\n```sh\n$ iron debug\n```\n\n### Build Your Application\n```sh\n$ iron build\n```\n\n### Connect to MongoDB Database\n```sh\n$ cd app/\n$ meteor mongo\n```\n\n**NOTE**\n\n*Ideally running `iron mongo` in the project directory should work but it doesn't for some reason and is being tracked in issue #136*\n\n## Deployment\n\n### Deploy Your Application with Meteor Up\n[Meteor Up](https://github.com/arunoda/meteor-up) is a command line tool to deploy any Meteor app to your own server.\n\n#### Configure Meteor Up\nThe following configuration options are supported in `config.json`:\n\n```\n\"mup\": {\n  \"version\": \"mup\" or \"mupx\",\n  \"environment\": \"/path/to/environment\"\n}\n```\n\n#### Initialize Meteor Up\nUse `iron mup` to run Meteor Up commands. To create a `mup.json` file for an environment run:\n\n```sh\niron mup \u003cenvironment\u003e --init\n```\n\n**IMPORTANT**\n\nYour `mup.json` file must contain `\"enableUploadProgressBar\": false` to work with Iron.\n\n#### Create Meteor Up Server\nAfter [configuring](https://github.com/arunoda/meteor-up/#example-file) `mup.json`, the server can be bootstrapped with a single command:\n\n```sh\niron mup \u003cenvironment\u003e --setup\n```\n\n#### Deploy to Meteor Up Environment\n```\n  'iron mup development' //deploy to development environment\n  'iron mup dev' // shortcut for development\n  'iron mup production'\n  'iron mup prod'\n  'iron mup \u003ccustom-from-config\u003e'\n```\n\n### Deploy Your Application on Heroku\nIron projects require buildpacks to look for the app in /app/ in addition to the root for deployments to work. Currently there is a patched version of the Horse buildpack available that is compatible with Iron based projects. Use this fork until the patches has been added to the main Horse repo.\n\n```sh\n$ heroku config:set BUILDPACK_URL=https://github.com/lirbank/meteor-buildpack-horse.git\n```\n\nThis will build your application and put the resulting bundle into the project's\nbuild folder.\n\n## Meteor Commands\nMeteor commands will automatically be proxied to the meteor command line tool.\n\n## Contributing\nContributions and ideas are welcome.\n\n## Tests\nTo run tests\n```sh\nnpm test\n```\n\n## License\nMIT\n","funding_links":[],"categories":["📦 Legacy \u0026 Inactive Projects","Scaffolding"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firon-meteor%2Firon-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firon-meteor%2Firon-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firon-meteor%2Firon-cli/lists"}