{"id":19339379,"url":"https://github.com/appfolio/usedby","last_synced_at":"2025-06-14T11:06:21.210Z","repository":{"id":44625391,"uuid":"138625208","full_name":"appfolio/usedby","owner":"appfolio","description":"Discover all dependents of ruby gems across a github organization.","archived":false,"fork":false,"pushed_at":"2023-05-13T04:36:22.000Z","size":50,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":66,"default_branch":"master","last_synced_at":"2025-05-19T21:52:28.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appfolio.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}},"created_at":"2018-06-25T17:01:28.000Z","updated_at":"2022-02-03T19:38:28.000Z","dependencies_parsed_at":"2023-07-14T19:13:05.056Z","dependency_job_id":null,"html_url":"https://github.com/appfolio/usedby","commit_stats":{"total_commits":54,"total_committers":3,"mean_commits":18.0,"dds":0.2777777777777778,"last_synced_commit":"46a67384e20d1fa2a4a8f7fd642cb8a857917881"},"previous_names":["appfolio/organization_gem_dependencies"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/appfolio/usedby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfolio%2Fusedby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfolio%2Fusedby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfolio%2Fusedby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfolio%2Fusedby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appfolio","download_url":"https://codeload.github.com/appfolio/usedby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfolio%2Fusedby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259804871,"owners_count":22913903,"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-10T03:21:51.524Z","updated_at":"2025-06-14T11:06:21.191Z","avatar_url":"https://github.com/appfolio.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# usedby\n\nFigure out where your gems are actually being used!\nSimilar to GitHub's \"Used By\" feature, but for private repos.\n\nThis gem installs a command line utility `usedby`, that\noutputs a json file with a reverse dependency tree.\n\nThis acts more or less like GitHub's \"Used By\" feature.\nIt currently uses GitHub's code search API which has a few limitations:\nhttps://help.github.com/en/github/searching-for-information-on-github/searching-code\n\n## Installation\n\n```sh\ngem install usedby\n```\n\n## Usage\n\n```sh\nusedby GITHUB_ORGANIZATION [--direct] [--gems GEM1,GEM2,GEM3] [--order gems|projects]\n```\n\nYou will be securely prompted for a [GitHub Personal Access Token](https://github.com/settings/tokens).\n\nFor example, running `usedby rails --gems railties,rake --order gems` produces output\nlike the following:\n\n```json\n{\n  \"railties\": {\n    \"4.0.0.beta\": [\n      \"routing_concerns/Gemfile.lock\"\n    ],\n    \"4.0.0\": [\n      \"prototype-rails/Gemfile.lock\"\n    ]\n  },\n  \"rake\": {\n    \"0.9.2.2\": [\n      \"routing_concerns/Gemfile.lock\"\n    ],\n    \"10.1.0\": [\n      \"prototype-rails/Gemfile.lock\"\n    ]\n  }\n}\n```\n\nOn the other hand, running `usedby rails --gems railties,rake --order projects` produces output\nlike the following:\n\n```json\n{\n  \"prototype-rails\": {\n    \"railties\": \"4.0.0.beta\",\n    \"rake\": \"10.1.0\"\n  },\n  \"routing_concerns\": {\n    \"railties\": \"4.0.0.beta\",\n    \"rake\": \"0.9.2.2\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfolio%2Fusedby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappfolio%2Fusedby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfolio%2Fusedby/lists"}