{"id":13554648,"url":"https://github.com/louisgab/devilbox-cli","last_synced_at":"2025-10-02T06:32:31.206Z","repository":{"id":141252114,"uuid":"174563101","full_name":"louisgab/devilbox-cli","owner":"louisgab","description":"A minimal cli tool to interact with devilbox from anywhere","archived":true,"fork":false,"pushed_at":"2021-01-11T09:16:41.000Z","size":71,"stargazers_count":44,"open_issues_count":0,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-05T19:44:58.737Z","etag":null,"topics":["apache","bash","cli","devilbox","docker","docker-compose","lamp","lamp-stack","mysql","php"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/louisgab.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-08T15:38:46.000Z","updated_at":"2024-08-11T20:12:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"54f73c10-5f09-466e-8bd3-b32ceb5dd2f1","html_url":"https://github.com/louisgab/devilbox-cli","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/louisgab/devilbox-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisgab%2Fdevilbox-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisgab%2Fdevilbox-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisgab%2Fdevilbox-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisgab%2Fdevilbox-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/louisgab","download_url":"https://codeload.github.com/louisgab/devilbox-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louisgab%2Fdevilbox-cli/sbom","scorecard":{"id":599691,"data":{"date":"2025-08-11","repo":{"name":"github.com/louisgab/devilbox-cli","commit":"b8f439cda2f59ca80018e27cbf934fff5f3ab492"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"Code-Review","score":1,"reason":"Found 3/23 approved changesets -- score normalized to 1","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":"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":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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 11 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-21T00:06:14.963Z","repository_id":141252114,"created_at":"2025-08-21T00:06:14.963Z","updated_at":"2025-08-21T00:06:14.963Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277968828,"owners_count":25907418,"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-10-02T02:00:08.890Z","response_time":67,"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":["apache","bash","cli","devilbox","docker","docker-compose","lamp","lamp-stack","mysql","php"],"created_at":"2024-08-01T12:02:52.166Z","updated_at":"2025-10-02T06:32:30.959Z","avatar_url":"https://github.com/louisgab.png","language":"Shell","readme":"# Devilbox CLI\n\n![npm](https://img.shields.io/npm/v/devilbox-cli.svg?style=flat-square)\n![npm](https://img.shields.io/npm/dt/devilbox-cli.svg?style=flat-square)\n![GitHub file size in bytes](https://img.shields.io/github/size/louisgab/devilbox-cli/dist/devilbox-cli.sh.svg?style=flat-square)\n[![GitHub license](https://img.shields.io/github/license/louisgab/devilbox-cli.svg?style=flat-square)](https://github.com/louisgab/devilbox-cli/blob/master/LICENSE)\n\n\u003e A simple and conveniant command line to manage devilbox from anywhere\n\n---\n\n## Getting Started\n\n### Requirements\n\nYou need [Devilbox](https://github.com/cytopia/devilbox#quick-start) to be installed somewhere on your computer.\n\nBy default, the script will use the path `$HOME/.devilbox`.\nIf you have cloned devilbox somewhere else, add the following to your profile and change `##PATH_TO_DEVILBOX##` accordingly:\n\n```sh\nexport DEVILBOX_PATH=\"$HOME/##PATH_TO_DEVILBOX##\"\n```\n\nThen reload your terminal or run `source ~/.zshrc` if you use zsh.\n\n### Install\n\nAs simple as :\n\n```\nnpm install -g devilbox-cli\n```\n\nIf installed successfully, you should see something like this when you run `devilbox -v`:\n\n```sh\ndevilbox-cli v0.4.1 (2020-12-06)\nA simple and conveniant cli to manage devilbox from anywhere\nhttps://github.com/louisgab/devilbox-cli\n```\n\n#### Alternatives\nIf you don't have npm or don't wan to use it, you can also download the script directly:\n```sh\ncurl -O https://raw.githubusercontent.com/louisgab/devilbox-cli/master/dist/devilbox-cli.sh\nchmod +x devilbox-cli.sh\nsudo mv devilbox-cli.sh /usr/local/bin/devilbox\n```\nThis way you can call the script from anywhere, but you won't be able to download updates (that was the point of using npm).\nFor a manual update, delete it first \n```sh\nsudo rm /usr/local/bin/devilbox\n```\nThen re-download the script.\n\n### Usage\n\ndevilbox-cli provides all basic command to manage your installation:\n\n```sh\ndevilbox check   # Check your .env\ndevilbox config  # Get and set variables on your .env\ndevilbox enter   # Enter the php container with shell.sh script\ndevilbox exec    # Execute a command in the container\ndevilbox mysql   # Execute a command in the container\ndevilbox open    # Open the devilbox intranet\ndevilbox run     # Start the containers\ndevilbox stop    # Stop all containers\ndevilbox restart # Stop and rerun all containers\ndevilbox update  # Update to latest devilbox version\n```\n\nTo see containers current versions defined in devilbox `.env` file, use the `config` command:\n\n```sh\ndevilbox config --apache --php --mysql\n# [!] Apache current version is 2.4\n# [!] PHP current version is 7.2\n# [!] MySql current version is 5.6\n```\n\nIt can also list available versions of any container:\n\n```sh\ndevilbox config --mysql=*\n# [!] MySql available versions:\n# 5.5\n# 5.6\n# 5.7\n# 8.0\n```\n\nAnd of course, it can change any version:\n\n```sh\ndevilbox config --php=8.0\n# [✔] PHP version updated to 8.0\n```\n\nYou can also point devilbox to your projects folder:\n\n```sh\ndevilbox config --www=../Documents/Projects/www\n# [✔] Projects path config updated to ../Documents/Projects/wwww\n```\n\nAnd if you dont remember a command, `devilbox help` is your best friend :)\n\n### Optional Configuration\n\nBy default, the `run` command will start the default LAMP stack containers `php httpd mysql`. The command can be customized by configuring your desired services via the `$DEVILBOX_CONTAINERS` variable. For example, if you'd like to also run the NOSQL stack, you would define the following:\n\n```sh\nexport DEVILBOX_CONTAINERS=\"php httpd mysql redis memcd mongo\"\n```\n\nThen reload your terminal or run `source ~/.zshrc` if you use zsh.\n\n### Important notes\n\nThe script was tested on zsh and bash on linux. Use at your own risk on other platforms.\n\n## Contributing\n\nHighly welcomed! The script only implements the basics I needed for myself (LAMP). It may be useful for others to add missing commands, test it on macOS and Windows, and test in on other shells.\n\n## License\n\n[MIT License](LICENSE.md)\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouisgab%2Fdevilbox-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flouisgab%2Fdevilbox-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouisgab%2Fdevilbox-cli/lists"}