{"id":20557082,"url":"https://github.com/mitsuru793/ruby-git-shelf","last_synced_at":"2026-06-22T19:31:28.903Z","repository":{"id":85132115,"uuid":"123802409","full_name":"mitsuru793/ruby-git-shelf","owner":"mitsuru793","description":" GitShelf manages repositories cloned through it. If you clone repository with GitShelf, they are cached their data to a yaml and put each category directory.","archived":false,"fork":false,"pushed_at":"2019-03-07T12:15:21.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-20T00:51:28.260Z","etag":null,"topics":["git","manager","repository"],"latest_commit_sha":null,"homepage":"","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/mitsuru793.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-03-04T15:34:03.000Z","updated_at":"2019-03-07T12:15:22.000Z","dependencies_parsed_at":"2023-03-06T14:45:34.943Z","dependency_job_id":null,"html_url":"https://github.com/mitsuru793/ruby-git-shelf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mitsuru793/ruby-git-shelf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitsuru793%2Fruby-git-shelf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitsuru793%2Fruby-git-shelf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitsuru793%2Fruby-git-shelf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitsuru793%2Fruby-git-shelf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitsuru793","download_url":"https://codeload.github.com/mitsuru793/ruby-git-shelf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitsuru793%2Fruby-git-shelf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34663524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":["git","manager","repository"],"created_at":"2024-11-16T03:34:44.800Z","updated_at":"2026-06-22T19:31:28.884Z","avatar_url":"https://github.com/mitsuru793.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitShelf [![Build Status](https://travis-ci.org/mitsuru793/ruby-git-shelf.svg?branch=master)](https://travis-ci.org/mitsuru793/ruby-git-shelf) [![Maintainability](https://api.codeclimate.com/v1/badges/844dcdd519e1d7b83aab/maintainability)](https://codeclimate.com/github/mitsuru793/ruby-git-shelf/maintainability) [![Inline docs](http://inch-ci.org/github/mitsuru793/ruby-git-shelf.svg?branch=master)](http://inch-ci.org/github/mitsuru793/ruby-git-shelf)\n\nGitShelf manages repositories cloned through it. If you clone repository with GitShelf, they are cached their data to a yaml and put each category directory.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'git_shelf'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install git_shelf\n\n## Usage\n\n```\n$ bin/git-shelf\nCommands:\n  git-shelf count CATEGORY    # Count CATEGORY of repositories from cached yml. CATEGORY is listed on countable command.\n  git-shelf countable         # List countable category of repositories from cached yml. You can use it on count command.\n  git-shelf dump              # Dump repositories directory tree as a yaml.\n  git-shelf get CATEGORY URL  # Get a repository from URL and put it into CATEGORY directory.\n  git-shelf help [COMMAND]    # Describe available commands or one specific command\n  git-shelf list [CATEGORY]   # list repository paths each category\n  git-shelf restore           # Clone repositories from a cached yaml.\n```\n\n### Clone repository\n\nClone into ruby category. You can create new category.\n\n```shell\n$ git-shelf ruby https://github.com/mitsuru793/ruby-git-shelf\n$ tree ~/git-shelf\n/Users/mitsuru793/git-shelf/ruby\n└── github.com\n    └── mitsuru793\n        └── ruby-git-shelf\n            ├── bin\n            ...\n```\n\n### Count repositories each their data\n\nCount the number of repositories only their data.\n\n```shell\n$ git-shelf count category\n+------------+-------+\n| Category   | Count |\n+------------+-------+\n| bash       | 1     |\n| js         | 1     |\n| javascript | 3     |\n| dotfiles   | 6     |\n| vim        | 10    |\n| ruby       | 14    |\n| php        | 64    |\n+------------+-------+\n```\n\n### List repository paths\n\n```shell\n$ git-shelf list ruby\n/Users/mitsuru793/ruby/github.com/YorickPeterse/oga\n/Users/mitsuru793/ruby/github.com/carr/phone\n\n$ git-shelf list ruby --no-base-path\nruby/github.com/YorickPeterse/oga\nruby/github.com/carr/phone\n```\n\n### Get value from config.yml\n\n```shell\n$ git-shelf config shelf.path\n/Users/mitsuru793/code/git-shelf\n```\n \n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/mitsuru793/ruby-git-shelf.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitsuru793%2Fruby-git-shelf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitsuru793%2Fruby-git-shelf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitsuru793%2Fruby-git-shelf/lists"}