{"id":18707586,"url":"https://github.com/discourse/discourse-github","last_synced_at":"2025-05-09T02:50:29.179Z","repository":{"id":33875219,"uuid":"152050568","full_name":"discourse/discourse-github","owner":"discourse","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-09T12:23:17.000Z","size":703,"stargazers_count":38,"open_issues_count":1,"forks_count":26,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-04-09T13:28:54.401Z","etag":null,"topics":["discourse-plugin"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"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/discourse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-08T09:09:44.000Z","updated_at":"2025-04-09T12:23:20.000Z","dependencies_parsed_at":"2023-02-13T23:01:04.653Z","dependency_job_id":"113b42ca-a246-42f1-a380-441cc1900b43","html_url":"https://github.com/discourse/discourse-github","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/discourse%2Fdiscourse-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discourse","download_url":"https://codeload.github.com/discourse/discourse-github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253181404,"owners_count":21866990,"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":["discourse-plugin"],"created_at":"2024-11-07T12:18:59.336Z","updated_at":"2025-05-09T02:50:29.162Z","avatar_url":"https://github.com/discourse.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discourse Github\n\nhttps://meta.discourse.org/t/discourse-github/99895/\n\nThis plugin combines functionality of deprecated github_badges and discourse-github-linkback plugins.\n\n### Installation\n\nFollow the [plugin installation guide](https://meta.discourse.org/t/install-a-plugin/19157).\n\n### Github Badges\n\nAssign badges to your users based on GitHub contributions.\n\n#### How to use:\n\n1. Enable `github badges enabled` in Settings -\u003e Plugins.\n\n2. Generate an access token on Github. Be sure to give it only the `public_repo` scope. Paste that token into the `github linkback access token` setting.\n\n3. Add URL of the GitHub repo to scan for contributions to the `github badges repo` site setting.\n\n### Github Linkback\n\nCreate a link from a Github pull request or commit back to a Discourse post where it is mentioned.\n\n#### How to use:\n\n1. Enable `github linkback enabled` in Settings -\u003e Plugins.\n\n2. Generate an [access token](https://github.com/settings/tokens) on Github.\n   Be sure to give it \u003cem\u003eonly\u003c/em\u003e the `public_repo` scope. Paste that token into the\n   `github linkback access token` setting.\n\n3. Finally, add the projects you wish to post to in the `github linkback projects` site setting in the formats:\n   - `username/repository` for specific repositories\n   - `username/*` for all repositories of a certain user\n\n### Github Permalink\n\nReplace Github non-permalinks with [permalinks](https://help.github.com/articles/getting-permanent-links-to-files/).\n\n#### How to use:\n\n1. Enable `github permalinks enabled` in Settings -\u003e Plugins.\n2. If you want to exclude certain files or directories from permalink overwrites, you can modify that in the `github permalinks exclude` site setting in the following formats:\n   - `filename` links to all files with matching filename\n   - `username/*` links to all repositories belonging to the user/organization\n   - `username/repository/*` links to any file in the repository\n   - `username/repository/directory/*` links to any file in the directory within repository\n   - `username/repository/file.rb` a specific file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fdiscourse-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscourse%2Fdiscourse-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fdiscourse-github/lists"}