{"id":13714221,"url":"https://github.com/sshaw/glc","last_synced_at":"2026-05-17T00:02:16.168Z","repository":{"id":136718027,"uuid":"52184533","full_name":"sshaw/glc","owner":"sshaw","description":"The GitHub Link Checker. Monitor GitHub activity for links that aren't permanent, and do something.","archived":false,"fork":false,"pushed_at":"2016-03-14T01:46:54.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T01:11:43.813Z","etag":null,"topics":["comment","github","go","pull-request","urls"],"latest_commit_sha":null,"homepage":"","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/sshaw.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}},"created_at":"2016-02-21T01:06:56.000Z","updated_at":"2023-09-08T17:07:15.000Z","dependencies_parsed_at":"2023-07-03T09:01:07.719Z","dependency_job_id":null,"html_url":"https://github.com/sshaw/glc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sshaw/glc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fglc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fglc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fglc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fglc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshaw","download_url":"https://codeload.github.com/sshaw/glc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fglc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33123091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"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":["comment","github","go","pull-request","urls"],"created_at":"2024-08-02T23:01:55.051Z","updated_at":"2026-05-17T00:02:16.110Z","avatar_url":"https://github.com/sshaw.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# GLC: The GitHub Link Checker\n\nMonitor GitHub activity for [links that aren't permanent](https://help.github.com/articles/getting-permanent-links-to-files/), and do something.\n\n**WIP**\n\n## Install\n\n\tgo get github.com/sshaw/glc/...\n\nPut `$GOPATH/bin` (assuming `GOPATH` has one path) in your `PATH`.\n\n## Usage\n\n    usage: glc  [-a token] [-d path] [-e name...] [-i name...]\n    \t\t\t[-r name...] [-u name...] [-w seconds] command\n    Command must be one of:\n      print\t\tPrint activity containing non-permanent links, include their permanent versions\n      correct\tUpdate the original event, replacing each non-permanent link with its permanent version\n      comment\tCreate a comment on the event that includes the permanent version of each non-permanent link\n\n    Options:\n      -a token          --auth=token\t\t\t   GitHub API token, all activity will be performed as the associated user\n      -d path\t        --db=path\t\t\t\t   Where to store the DB, defaults to $HOME/.glc/\n      -e name[,name]    --event=name[,name...]\t   Only process the named GitHub events\n      -i name[,name]    --ignore-files=name[,name] Ignore links to these file's basenames\n\n\t  -r name[,name...] --repos=name[,name...]\t   Monitor the named repositories, name must be in user/repo format\n      --include-repos=name[,name...]\t\t\t   name can also be a file with one repository per line\n      --exclude-repos=name[,name...]\t\t\t   Do not monitor the named repositories, name must be in user/repo format\n\t  \t\t\t\t\t\t\t\t\t\t\t   name can also be a file with one repository per line\n\n      -u name[,name...] --users=name[,name...]\t   Monitor repositories owned by the given usernames name can also be a file\n      --include-users=name[,name...]\t\t\t   with one repository per line\n      --exclude-users=name[,name...]\t\t\t   Do not monitor repositories owned by the given usernames name can also be a\n      \t  \t\t\t\t\t\t\t\t\t\t   file with one repository per line\n      -w seconds        --wait=seconds\t\t\t   Retrieve events every seconds seconds, defaults to 10\n\nGLC monitors [public GitHub events](https://developer.github.com/v3/activity/events/#list-public-events), polling for new events every `-w` seconds (default `10`).\nCurrently only these events are monitored: `IssueEvent`, `IssueCommentEvent`, `PullRequestEvent`.\n\nIf no token is specified then your IP will be substantially [rate limited by GitHub](https://developer.github.com/v3/#rate-limiting). A token can be provided by the `-a` option\nor by setting the `GLC_AUTH_TOKEN` environment variable.\n\nThe `correct` and `comment` options require a token.\n\nGLC will not detect problematic links in older events unless they're still in GitHub's event feed and the event has not yet been seen.\n\n### Examples\n\nOnly correct links in the repositories listed in `repos.txt`:\n\n\tglc -a TOKEN -r repos.txt correct\n\nOnly leave comments on new issues that weren't created by users `foo` and `bar`:\n\n\tglc -a TOKEN -e IssueEvent --exclude-users=foo,bar comment\n\n\n## TODO\n\n*  GitHub hooks\n\n## Author\n\nSkye Shaw [skye.shaw AT gmail.com]\n\n## License\n\nReleased under the MIT License: http://www.opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Fglc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshaw%2Fglc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Fglc/lists"}