{"id":16725063,"url":"https://github.com/meyskens/fetch-comments","last_synced_at":"2026-04-29T15:03:43.872Z","repository":{"id":84515531,"uuid":"149113077","full_name":"meyskens/fetch-comments","owner":"meyskens","description":"Using Go-Git and bblfsh to fetch comments from Git repositories","archived":false,"fork":false,"pushed_at":"2018-09-17T16:37:21.000Z","size":3819,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T05:17:19.861Z","etag":null,"topics":["code-analysis","comments","git"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/meyskens.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":"2018-09-17T11:11:22.000Z","updated_at":"2019-08-16T07:38:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a0fc33a-519b-45fd-b675-8b8f3f31dc6e","html_url":"https://github.com/meyskens/fetch-comments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyskens%2Ffetch-comments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyskens%2Ffetch-comments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyskens%2Ffetch-comments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyskens%2Ffetch-comments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meyskens","download_url":"https://codeload.github.com/meyskens/fetch-comments/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746233,"owners_count":20341203,"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":["code-analysis","comments","git"],"created_at":"2024-10-12T22:47:45.458Z","updated_at":"2026-04-29T15:03:38.839Z","avatar_url":"https://github.com/meyskens.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Fetch Comments\n==============\n\nThis is a simple Go script that fetched all comments from a Git repository to train an [ML model to detect typos](https://github.com/irinakhismatullina/style-analyzer/tree/feature/typos-analyzer/lookout/style/typos_checker) in code comments.\nThis project uses [bblfsh](https://bblf.sh/v2.6.1/) and [go-git](https://github.com/src-d/go-git) to do this.\n\n## How to use\nTo use bblfsh you will need a server set up using Docker.  \n`docker run -d --name bblfshd --privileged -p 9432:9432 -v /var/lib/bblfshd:/var/lib/bblfshd bblfsh/bblfshd`  \nYou will also need to have drivers for the languages you need to use. Since we want diverse data I suggest just installing all using:  \n`docker exec -it bblfshd bblfshctl driver install --all`  \n\nNow that bblfshd is running you can start running this repo. \n\nCurrently the repos to analyse are listed in `main.go`\n```\nvar repos = map[string]string{\n\t// \"file name\": \"git url\"\n\t\"freeCodeCamp.coment\": \"https://github.com/freeCodeCamp/freeCodeCamp\",\n\t\"vue.coment\":          \"https://github.com/vuejs/vue\",\n\t\"springboot.coment\":   \"https://github.com/spring-projects/spring-boot\",\n\t\"moby.coment\":         \"https://github.com/moby/moby\",\n}\n```\n(This should be improved)\n\n## Provided comment lists\nThis projects analyses a few popular open source projects and uploads the artifacts to S3 using Travis CI (thank you for the free build time!). You can find these at https://s3.eu-west-3.amazonaws.com/fetch-comments/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeyskens%2Ffetch-comments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeyskens%2Ffetch-comments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeyskens%2Ffetch-comments/lists"}