{"id":15512303,"url":"https://github.com/barryf/webhook-mentions","last_synced_at":"2026-04-04T01:02:19.509Z","repository":{"id":10084836,"uuid":"64423628","full_name":"barryf/webhook-mentions","owner":"barryf","description":"Automatically send webmentions from your GitHub Pages blog.","archived":false,"fork":false,"pushed_at":"2023-03-16T09:58:13.000Z","size":32,"stargazers_count":11,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T13:36:51.917Z","etag":null,"topics":["indieweb","jekyll","ruby","webmention"],"latest_commit_sha":null,"homepage":"https://barryfrost.com/2016/07/introducing-webhook-mentions","language":"Ruby","has_issues":true,"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/barryf.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":"2016-07-28T19:47:15.000Z","updated_at":"2024-01-04T15:47:48.000Z","dependencies_parsed_at":"2025-01-29T13:47:30.226Z","dependency_job_id":null,"html_url":"https://github.com/barryf/webhook-mentions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/barryf/webhook-mentions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwebhook-mentions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwebhook-mentions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwebhook-mentions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwebhook-mentions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barryf","download_url":"https://codeload.github.com/barryf/webhook-mentions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwebhook-mentions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010938,"owners_count":26084837,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["indieweb","jekyll","ruby","webmention"],"created_at":"2024-10-02T09:53:35.095Z","updated_at":"2025-10-12T09:30:38.347Z","avatar_url":"https://github.com/barryf.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Webhook Mentions\n\nThis is a small web app that sends [Webmentions](http://webmention.net) to any links in new/updated posts in a [Jekyll](https://jekyllrb.com)-powered [GitHub Pages](https://pages.github.com) site marked up with [Microformats 2 h-entry markup](http://microformats.org/wiki/microformats2#h-entry).\n\nDeploy the app and then set up a webhook from your GitHub Pages repository to it and whenever a post is successfully pushed webmentions will be sent to any links.\n\nWebmention is a technology developed by the [IndieWeb](https://indieweb.org) community.\n\n## Deploy\n\nI recommend running this on Heroku using the _Deploy to Heroku_ button. You can host it yourself but will need to define the environment variables below.\n\n[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy??template=https://github.com/barryf/webhook-mentions)\n\nChoose a name for your copy of the app, e.g. `barryf-webhook-mentions`. Make a note of this for later. You'll next need to define the following configuration:\n\n- `ROOT_URL` - the root URL of your GitHub Pages site, e.g. `https://barryf.github.io`.\n- `GITHUB_ACCESS_TOKEN` - a personal access token for your GitHub Pages site (see below for help).\n- `GITHUB_USER`: your GitHub username, e.g. `barryf`.\n- `GITHUB_REPO`: your GitHub Pages site repository name, e.g. `barryf.github.io`.\n\n#### Personal access token\n\n1. Generate a [new personal access token](https://github.com/settings/tokens/new) for your GitHub account.\n2. Give it a description, e.g. `Webhook Mentions`.\n3. Select the `public_repo` scope.\n4. Click the green _Generate token_ button.\n5. Copy the token on the following page and keep this value safe. When the page is closed you cannot view this token again.\n\n## Set up a webhook\n\n1. Visit your GitHub Pages repository settings page and select _Webhooks \u0026 services_.\n2. Create a new webhook by clicking the _Add webhook_ button.\n3. Complete the following fields:\n    - **Payload URL:** the root of your endpoint on Heroku e.g. `https://barryf-webhook-mentions.herokuapp.com`\n    - **Content type:** `application/json`\n    - **Secret:** _Leave blank._\n    - **Which events...?** select _Let me select individual events_ and then select _Page build_.\n4. Finish by clicking the green _Add webhook_ button.\n\n## Write a new post\n\nTest the integration out by writing a test post with a link to my blog post at `https://barryfrost.com/2016/07/introducing-webhook-mentions` and pushing it to your GitHub Pages site. A few seconds later you should see the webmention appear below my post.\n\nDon't forget your post layout will need [Microformats 2 h-entry markup](http://microformats.org/wiki/microformats2#h-entry) or the app will not find the link to my blog post.\n\nIf you have any problems please log an issue and I'll try to help debug.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarryf%2Fwebhook-mentions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarryf%2Fwebhook-mentions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarryf%2Fwebhook-mentions/lists"}