{"id":16255229,"url":"https://github.com/qubyte/send-webmentions","last_synced_at":"2025-07-24T07:34:37.966Z","repository":{"id":66105581,"uuid":"178571997","full_name":"qubyte/send-webmentions","owner":"qubyte","description":"A glitch webmention sender for qubyte.codes.","archived":false,"fork":false,"pushed_at":"2020-05-01T01:11:32.000Z","size":9,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T00:08:49.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/qubyte.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,"zenodo":null}},"created_at":"2019-03-30T14:51:52.000Z","updated_at":"2019-03-30T14:53:26.000Z","dependencies_parsed_at":"2023-04-30T12:01:03.980Z","dependency_job_id":null,"html_url":"https://github.com/qubyte/send-webmentions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qubyte/send-webmentions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubyte%2Fsend-webmentions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubyte%2Fsend-webmentions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubyte%2Fsend-webmentions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubyte%2Fsend-webmentions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qubyte","download_url":"https://codeload.github.com/qubyte/send-webmentions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubyte%2Fsend-webmentions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266808556,"owners_count":23987450,"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-07-24T02:00:09.469Z","response_time":99,"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":[],"created_at":"2024-10-10T15:28:57.356Z","updated_at":"2025-07-24T07:34:37.958Z","avatar_url":"https://github.com/qubyte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# send-webmentions\n\nThis server exposes a webhook notification. When called, it will scan the configured site for new links to third-party sites, check if those sites are receptive to webmentions, and for ones that are dispatches mentions to them. Mentions which have been sent are kept in a local database so that mentions aren't sent more than once.\n\nTo use this yourself, remix this glitch and update these fields in package.json:\n\n - `baseUrl`: The base URL of your blog, including the protocol and domain (and not a path).\n - `denyList`: A list of regular expressions for URLs to ignore. URLs which begin with `baseUrl` or are relative will be automatically ignored.\n - `postPattern`: A regular expression to match URLs of your site which are blog entries.\n\nLinks in webmentions should be omitted. Add a class to each anchor tag in a webmention of `webmention` to filter them out.\n\nThis glitch assumes that you have a `/sitemap.txt`, and it uses this to determine a list of blog entries to process.\n\nThis glitch also assumes that your posts have a `\u003ctime\u003e` element with a class including `dt-published` in it, and that posts with updates have a second `\u003ctime\u003e` element with a class including `dt-updated`. It uses these to go through the following process for each new blog post:\n\n - A request is made for the post. The ETag is taken from the headers, and the `dt-published` and `dt-updated` are extracted from the both. If the latter is not found it defaults to the same value as `dt-published`. These are stored.\n - URLs are extracted and filtered according to the `denyList` and the `baseUrl`.\n - This glitch attempts to dispatch a mention for each remaining URL. When an endpoint was found for a URL and the dispatch successful, this glitch stores a record of the mention so that it doesn't get resent in the future.\n\nFor an existing blog post:\n\n - A request is made for the post. The ETag is taken from the headers. If this ETag matches the one stored, then no further processing occurs.\n - The body is processed for a `\u003ctime\u003e` element with `dt-updated`. If the element is not found or the value of it has not changed, then no futher processing occurs and the ETag stored by this glitch for the post is updated.\n - URLs are extracted and filtered according to the `denyList` and the `baseUrl`. Any URLs matching existing mentions for this post are also filtered out.\n - This glitch attempts to dispatch a mention for each remaining URL, storing successful mentions to avoid dispatching them again in the future. The ETag and update time stored for the post are updated.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubyte%2Fsend-webmentions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqubyte%2Fsend-webmentions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubyte%2Fsend-webmentions/lists"}