{"id":15065970,"url":"https://github.com/ron-chang/dockit","last_synced_at":"2026-01-29T22:01:43.448Z","repository":{"id":57423358,"uuid":"331045618","full_name":"Ron-Chang/dockit","owner":"Ron-Chang","description":"Fuzzy current location to git pull with all submodules or launch, close and exec container through docker-compose.","archived":false,"fork":false,"pushed_at":"2021-09-29T18:36:50.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T10:54:56.290Z","etag":null,"topics":["cli","container","docker","docker-compose","git","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Ron-Chang.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-01-19T16:43:42.000Z","updated_at":"2021-03-22T17:05:52.000Z","dependencies_parsed_at":"2022-09-07T04:52:12.510Z","dependency_job_id":null,"html_url":"https://github.com/Ron-Chang/dockit","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Ron-Chang/dockit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ron-Chang%2Fdockit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ron-Chang%2Fdockit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ron-Chang%2Fdockit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ron-Chang%2Fdockit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ron-Chang","download_url":"https://codeload.github.com/Ron-Chang/dockit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ron-Chang%2Fdockit/sbom","scorecard":{"id":122569,"data":{"date":"2025-08-11","repo":{"name":"github.com/Ron-Chang/dockit","commit":"4989d961ec89cf6da6716b8c8ebf97441aa20a6d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/19 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":"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":"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":"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"}}]},"last_synced_at":"2025-08-16T02:50:21.392Z","repository_id":57423358,"created_at":"2025-08-16T02:50:21.392Z","updated_at":"2025-08-16T02:50:21.392Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28886881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","container","docker","docker-compose","git","python3"],"created_at":"2024-09-25T00:58:33.302Z","updated_at":"2026-01-29T22:01:43.433Z","avatar_url":"https://github.com/Ron-Chang.png","language":"Python","readme":"# Dockit\n## - What is this?\n\ndocker\n\u003e To launch, close and execute container with docker-compose and its relative services without change the directory.\n\ngit\n\u003e Fuzzy the current location to pull all the submodules and specify the project if required.\n\n## - History\n\n|#|      date|                                            version|\n|-|----------|---------------------------------------------------|\n|1|2020/01/24| [v0.1.2](https://github.com/Ron-Chang/dockit#v012)|\n|2|2020/01/27| [v0.1.4](https://github.com/Ron-Chang/dockit#v014)|\n|3|2020/02/02| [v0.1.5](https://github.com/Ron-Chang/dockit#v015)|\n|4|2020/02/13| [v0.1.6](https://github.com/Ron-Chang/dockit#v016)|\n|5|2020/03/22| [v0.1.8](https://github.com/Ron-Chang/dockit#v018)|\n\n#### v0.1.2\n- Fixed dockit -u \u0026 -d cannot work properly when the project not located at $HOME directory.\n#### v0.1.4\n- Replaced whole color module.\n#### v0.1.5\n- Fixed display bug while remote added new branches.\n- Removed optional argument `-n`, use positional argument instead.(default:basename of $pwd)\n#### v0.1.6\n- Support pull a project and the all the submodules which belongs to the project without change the directory.\n- Support change source directory by setting a environment variable `export DOCKIT_ROOT='~/your/custom/path'`.\n#### v0.1.8\n- Removed -l flag of _exec_container to solve some container cannot call go properly\n\n## - How to install\n- Install\n```bash\npip install dockit\n```\n- Setup source root(Optional)\nMake it temporary or add the following line to your `.bashrc`, `.zshrc` or profile to keep it permanently.\n```bash\nexport DOCKIT_ROOT='~/TO/YOUR/CUSTOM/PATH'\n```\n\n## - How to use\n\n```bash\ndockit.py [-h] [-a] [-p] [-l] [-c] [-u] [-d] [-e] [-s] [project]\n```\n\n#### -h, --help\n\u003e show this help message and exit\n\n#### -p, --git-pull\n\u003e pull git repository and all sub repositories\n\n#### -l, --docker-launch-service\n\u003e parse project prefix and launch ${PREFIX}_service\n\n#### -u, --docker-up-service\n\u003e docker-compose up -d container with the same name as project\n\n#### -a, --docker-attach-container\n\u003e to keep attaching mode after docker-compose upped\n\n#### -d, --docker-down-service\n\u003e docker-compose down container with the same name as project\n\n#### -c, --docker-close-service\n\u003e parse project prefix and close ${PREFIX}_service\n\n#### -e, --docker-exec-container\n\u003e docker exec -it container bash\n\n#### -s, --docker-show-containers\n\u003e show docker processes\n\n```bash\n# .bashrc or .zshrc\nalias gitpull=\"dockit -p\"\nalias run=\"dockit -e\"\nalias up=\"dockit -u\"\nalias uu=\"dockit -l\"\nalias uuu=\"dockit -lu\"\nalias uur=\"dockit -lue\"\nalias uura=\"dockit -luea\"\nalias down=\"dockit -d\"\nalias dd=\"dockit -c\"\nalias ddd=\"dockit -cd\"\nalias dps=\"dockit -s\"\n```\n\nIf you like my work, please consider buying me a coffee or [PayPal](https://paypal.me/RonDevStudio?locale.x=zh_TW)\nThanks for your support! Cheers! 🎉\n\u003ca href=\"https://www.buymeacoffee.com/ronchang\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" align=\"right\"\u003e\u003c/a\u003e\n","funding_links":["https://paypal.me/RonDevStudio?locale.x=zh_TW","https://www.buymeacoffee.com/ronchang"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fron-chang%2Fdockit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fron-chang%2Fdockit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fron-chang%2Fdockit/lists"}