{"id":20258797,"url":"https://github.com/skymethod/podcast-events","last_synced_at":"2026-06-08T19:02:38.000Z","repository":{"id":106979100,"uuid":"546732884","full_name":"skymethod/podcast-events","owner":"skymethod","description":"Example code and validator for the proposed \u003cpodcast:events\u003e tag.","archived":false,"fork":false,"pushed_at":"2022-10-07T15:46:08.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T18:43:57.201Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/skymethod.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":"2022-10-06T14:54:40.000Z","updated_at":"2022-11-10T17:40:13.000Z","dependencies_parsed_at":"2023-04-28T10:01:00.737Z","dependency_job_id":null,"html_url":"https://github.com/skymethod/podcast-events","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skymethod/podcast-events","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skymethod%2Fpodcast-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skymethod%2Fpodcast-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skymethod%2Fpodcast-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skymethod%2Fpodcast-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skymethod","download_url":"https://codeload.github.com/skymethod/podcast-events/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skymethod%2Fpodcast-events/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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-11-14T11:11:37.322Z","updated_at":"2026-06-08T19:02:37.972Z","avatar_url":"https://github.com/skymethod.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# podcast-events\nExample code and validator for the [proposed \u0026lt;podcast:events\u003e tag](https://github.com/Podcastindex-org/podcast-namespace/issues/396)\n\n---\n\nThere are two tasks you can run to act as the _sending_ side.  After [ensuring deno is installed](https://deno.land/#installation), cloning this GitHub repo locally, and changing to the local repo directory root:\n\n## Generate an RSA public/private keypair\n`deno task keygen`: generates a new RSA keypair, and dumps out the private key pem, the public key pem, and the public key JWK set json\n- Copy and paste the private key pem to a local file. This is a secret that should never leave your machine.\n- Copy and paste the public key pem to another local file. Not a secret, can be used to validate a JWT on [jwt.io](https://jwt.io), but otherwise unused.\n- Copy and paste the public key JWK set json to a local file. Not a secret, in fact, you'll need to host this file somewhere on the public internet on an https: url in order to send verifiable events.\n- Source code entry point: [key_generator.ts](key_generator.ts)\n\n## Send some example listen events\n`deno task send`: generates a valid events payload using a keypair you manage\n- Can be the keypair generated above.\n- Command-line arguments:\n  - `--private-key`: specify path to private key pem file\n  - `--jwk-set-url`: https url on the public internet pointing to your JWK set json\n  - `--key-id`: key id (`kid`) within your JWK set json specifying a single key\n  - `--target-inbox-url`: inbox url where the events should be sent.  Could be the validator endpoint for simple payload validation (see below).\n  - Source code entry point: [send.ts](send.ts)\n---\n\nThere is one task you can run to act as the _receiving_ side.  After [ensuring deno is installed](https://deno.land/#installation), cloning this GitHub repo locally and changing to the local repo directory root:\n\n## Host a podcast-events validation endpoint on your local machine\n`deno task validator-server`: starts a local http server\n- Defaults to port 8080, but can specify with the `--port` command-line option\n- Once running, this endpoint implements the receiving side of the podcast-events spec (ie an `inboxUrl` in the `\u003cpodcast:events\u003e` tag) on `http://localhost:\u003cport\u003e/`\n- It does not send/aggregate the received events, but it does immediately validate them and return a json payload with the results\n- This makes it useful to test your event sender code\n- Source code entry point: [validator_server.ts](validator_server.ts) (with [validator.ts](validator.ts) as the handler)\n\nThe validator is also hosted on: https://podcast-events-validator.op3.dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskymethod%2Fpodcast-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskymethod%2Fpodcast-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskymethod%2Fpodcast-events/lists"}