{"id":15413004,"url":"https://github.com/ascorbic/cdp-edge-inject","last_synced_at":"2026-04-04T13:30:17.951Z","repository":{"id":137069463,"uuid":"507954658","full_name":"ascorbic/cdp-edge-inject","owner":"ascorbic","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-10T12:47:42.000Z","size":6,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T14:38:26.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://deploy-preview-1--cdp-edge-inject.netlify.app/","language":"TypeScript","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/ascorbic.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}},"created_at":"2022-06-27T15:02:29.000Z","updated_at":"2022-06-27T16:19:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca6bf584-9b9f-4877-a269-f3b1c94c76c8","html_url":"https://github.com/ascorbic/cdp-edge-inject","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"97df9359b3e30807384f0f0d3b8ec5fd4299bd4d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascorbic%2Fcdp-edge-inject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascorbic%2Fcdp-edge-inject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascorbic%2Fcdp-edge-inject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascorbic%2Fcdp-edge-inject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ascorbic","download_url":"https://codeload.github.com/ascorbic/cdp-edge-inject/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239964549,"owners_count":19725952,"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":[],"created_at":"2024-10-01T16:55:00.402Z","updated_at":"2026-04-04T13:30:17.878Z","avatar_url":"https://github.com/ascorbic.png","language":"TypeScript","readme":"# CDP on the edge\n\nThis is an example of using an edge function to inject the collaborative deploy preview snippet in dynamic pages. This uses HTMLRewriter, which is a high-performance streaming HTML parser from Cloudflare.\n\nIt currently needs a build plugin because the site ID, deploy ID etc aren't available to the edge function. The plugin writes those values to a JSON file that is imported into the edge function.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fascorbic%2Fcdp-edge-inject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fascorbic%2Fcdp-edge-inject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fascorbic%2Fcdp-edge-inject/lists"}