{"id":24696874,"url":"https://github.com/franjid/github-followbacks","last_synced_at":"2026-04-09T22:52:35.854Z","repository":{"id":153343062,"uuid":"288974733","full_name":"franjid/github-followbacks","owner":"franjid","description":"Get how many followers is a given Github user following back","archived":false,"fork":false,"pushed_at":"2020-09-16T16:27:08.000Z","size":66,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T03:26:59.994Z","etag":null,"topics":["docker","followbacks","followers","following","github","php","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/franjid.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-20T10:21:15.000Z","updated_at":"2022-03-19T10:54:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"86de4cdf-e36c-4aca-b3fd-de3b91dc6d9b","html_url":"https://github.com/franjid/github-followbacks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/franjid/github-followbacks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franjid%2Fgithub-followbacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franjid%2Fgithub-followbacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franjid%2Fgithub-followbacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franjid%2Fgithub-followbacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/franjid","download_url":"https://codeload.github.com/franjid/github-followbacks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franjid%2Fgithub-followbacks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505765,"owners_count":23618967,"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":["docker","followbacks","followers","following","github","php","symfony"],"created_at":"2025-01-27T02:06:33.185Z","updated_at":"2026-04-09T22:52:30.836Z","avatar_url":"https://github.com/franjid.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nThis project exposes a command that accepts a Github user as a parameter. It will return how many followers is the user following back.\n\nMakes use of the [Github REST API](https://docs.Github.com/en/rest).\n\n## Set up\n\nIn order to set up the app in a Docker environment you have to:\n\n1) Copy `.env.dist` to `.env`\n2) Copy `code/app/.env.dist` to `code/app/.env`\n3) Run:\n    ```\n    docker-compose up\n    ```\n\n## Tests\n\nYou can check that all tests are passing:\n```\ndocker-compose exec php vendor/bin/phpunit --color tests/\n```\n\n## Running the command\n\nOnce Docker is up, you can execute the command to get user followbacks.\n\nSome examples:\n```\ndocker-compose exec php php bin/console github:followbacks -u ramsey\ndocker-compose exec php php bin/console github:followbacks -u ocramius\ndocker-compose exec php php bin/console github:followbacks -u sdras\n```\n\nThe output will be something like:\n```\n{\n    \"userName\": \"ramsey\",\n    \"followBacks\": {\n        \"count\": 42,\n        \"userNames\": [\"vlucas\", \"funkatron\", \"tswicegood\", \"pkeane\", \"elazar\", \"nateabele\", \"dotjay\", \"BigBlueHat\", \"dshafik\", \"enygma\", \"ralphschindler\", \"grahamc\", \"jlleblanc\", \"bradley-holt\", \"rdohms\", \"ashnazg\", \"wez\", \"harikt\", \"weaverryan\", \"awebneck\", \"convissor\", \"mfacenet\", \"maggie1000\", \"mospired\", \"jeremykendall\", \"saklay\", \"chrisspruck\", \"nicksloan\", \"marijn\", \"jwoodcock\", \"joshuamorse\", \"dmora\", \"epochblue\", \"codewaters\", \"kitglen\", \"jennharbin22\", \"jsundquist\", \"fabre-thibaud\", \"matthewtrask\", \"syntacticNaCl\", \"colinodell\", \"mwhitney\"]\n    }\n}\n```\n\n## Github API rate limit\n\nGithub REST API has a rate limit policy. It will let you make 50 requests/hour if you are not authenticated. That could be a problem if you want to get followbacks for Github users with thousands followers/following.\n\nThe number of request per hour can be increased with a personal access token. [Create one](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token#creating-a-token) (for this case we only need the `read:user` permission) and copy/paste it on the env variable `GITHUB_API_TOKEN` located in `code/app/.env`\n\n## Warning\n\nBear in mind that using this tool for Github users with thousands followers/following would take some time. This POC has been developed with a sequential API call approach for simplicity.\n\n## Possible improvements\n\n* Make parallel requests to the API to gain speed in getting results\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranjid%2Fgithub-followbacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranjid%2Fgithub-followbacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranjid%2Fgithub-followbacks/lists"}