{"id":19215595,"url":"https://github.com/alwaysblank/cover-charge","last_synced_at":"2026-02-13T03:40:24.528Z","repository":{"id":94010023,"uuid":"205044847","full_name":"alwaysblank/cover-charge","owner":"alwaysblank","description":"Intercept page requests to make someone do something.","archived":false,"fork":false,"pushed_at":"2019-08-29T18:28:15.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T08:31:56.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/alwaysblank.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":"2019-08-29T00:05:27.000Z","updated_at":"2019-08-29T18:28:17.000Z","dependencies_parsed_at":"2023-03-13T17:08:23.247Z","dependency_job_id":null,"html_url":"https://github.com/alwaysblank/cover-charge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alwaysblank/cover-charge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwaysblank%2Fcover-charge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwaysblank%2Fcover-charge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwaysblank%2Fcover-charge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwaysblank%2Fcover-charge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alwaysblank","download_url":"https://codeload.github.com/alwaysblank/cover-charge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alwaysblank%2Fcover-charge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274920118,"owners_count":25373956,"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-09-13T02:00:10.085Z","response_time":70,"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-09T14:14:09.570Z","updated_at":"2026-02-13T03:40:19.510Z","avatar_url":"https://github.com/alwaysblank.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cover Charge\n\nForce people to do something (i.e. sign up for a newsletter) before they can \naccess something (i.e. a page, a download, etc), *but* store a cookie to\nauthenticate them for future requests for \n\n1) that thing\n2) (optionally) other, similar things\n\n## Planning\n\nI have a couple major goals:\n\n- Redirection and blocking should operate without JavaScript (ideally all\nserver-side).\n- Cookies (or other auth storage) should be set only *as-needed*, to optimize\nnetwork performance and simplicity. i.e. Set a cookie on the url of an item,\nor on a \"higher\" url to apply to everything below it, but *don't* set a cookie\non the root domain.\n- Provide the simplest possible implementation: The intent is that this package\ncan be transparently added to any project, and then built on top of. This means\nit should be an unopinionated as possible, and provide as little styling as\npossible (ideally none).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwaysblank%2Fcover-charge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falwaysblank%2Fcover-charge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falwaysblank%2Fcover-charge/lists"}