{"id":13312211,"url":"https://github.com/barryf/wembley","last_synced_at":"2026-04-04T01:02:23.538Z","repository":{"id":141799619,"uuid":"368310353","full_name":"barryf/wembley","owner":"barryf","description":"Webmention receiver (WIP)","archived":false,"fork":false,"pushed_at":"2024-11-24T13:43:58.000Z","size":173,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T20:38:58.018Z","etag":null,"topics":["arc","architect","indieweb","serverless","webmention"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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":"2021-05-17T20:12:09.000Z","updated_at":"2024-11-24T13:43:56.000Z","dependencies_parsed_at":"2025-03-10T20:33:11.660Z","dependency_job_id":"b713b1e1-baa9-4ced-a20c-0a2b0e827823","html_url":"https://github.com/barryf/wembley","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/barryf/wembley","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwembley","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwembley/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwembley/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwembley/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barryf","download_url":"https://codeload.github.com/barryf/wembley/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barryf%2Fwembley/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31383636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T23:20:52.058Z","status":"ssl_error","status_checked_at":"2026-04-03T23:20:51.675Z","response_time":107,"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":["arc","architect","indieweb","serverless","webmention"],"created_at":"2024-07-29T18:03:37.430Z","updated_at":"2026-04-04T01:02:23.491Z","avatar_url":"https://github.com/barryf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wembley\n\nThis is a [Webmention](https://webmention.net) receiver to be used as an\nendpoint to receive webmentions for your website.\n\nIt's still very much a work-in-progress and not ready for use, but I wanted to\nshare progress as the spec evolves in the [IndieWeb](https://indieweb.org)\ncommunity.\n\n* Node.js with [Architect framework](https://arc.codes)\n* Deploy to AWS using Lambda, API Gateway, DynamoDB, SNS\n\n## Outline\n\n### Receiving webmentions\n\n* **POST /webmention** with `source` and `target` form parameters\n\t* Return 400 if `source` and `target` are not valid URLs\n\t* Return 400 if `source` is the same as target\n\t* Return 400 if `target` is not a known domain (`DOMAINS` env var)\n\t* Return 400 if `source`'s domain is found in blocked domain table\n\t* Generate a unique id for the webmention\n\t* Store `id`, `source`, `target` and a timestamp in webmentions table\n\t* Log status \"Received webmention\"\n\t* Publish verify event with `id` payload\n\t* Return 201 with `Location` header `/webmention/:id`\n* Handle **verify** event with `id` payload\n\t* Get the webmention record from the database\n\t* Fetch the source, limiting to 1Mb, 20 redirects and a 5-second timeout\n\t* Log error if `Content-Type` is not HTML, JSON or text\n\t* Log error if `source` content does not include `target`\n\t* Publish parse event with `id`\n* Handle **parse** event with `id` payload\n\t* Get the webmention record from the database\n\t* Send source URL to [XRay](https://xray.p3k.io) to parse into JF2\n\t* Log status \"Source was parsed\" or error if unsuccessful\n\t* Upload author photo to Cloudinary\n\t* Create a JF2 object (format TBD - see\n    https://github.com/indieweb/webmention-ecosystem/issues/2)\n\t* Update webmention record with JF2 post in table\n\t* Publish send event with `id` payload\n* Handle **send** event with `id` payload\n\t* Get the webmention record from the database\n\t* Send POST to config webhook URL with webmention record in JSON body\n\n### Listing webmentions\n\n* **GET /webmention** with `target` query parameter\n\t* Query for webmentions matching `target`\n\t* Return 404 if no webmentions are found\n\t* Return 200 with list of webmentions as HTML (default) or JSON depending on\n    `Accept` header\n\n### Webmention statuses\n\n* **GET /webmention/:id**\n  * Query for statuses matching `id`\n  * Return 404 if no statuses are found\n  * Return 200 with list of statuses as HTML (default) or JSON depending on\n    `Accept` header\n\n## env\n\n* `ROOT_URL` e.g. https://wembley.barryfrost.com/\n* `DOMAINS` e.g. barryfrost.com\n* `WEBHOOK_URL` e.g. https://api.barryfrost.com/webmention\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarryf%2Fwembley","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarryf%2Fwembley","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarryf%2Fwembley/lists"}