{"id":18420304,"url":"https://github.com/vednig/opencdn","last_synced_at":"2026-05-06T04:32:49.552Z","repository":{"id":234735368,"uuid":"316725804","full_name":"vednig/opencdn","owner":"vednig","description":"Set-up Your Own Content Delivery Network","archived":false,"fork":false,"pushed_at":"2024-10-31T16:29:30.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T11:52:43.281Z","etag":null,"topics":["cache","cdn","cloudflare","css","html","opencdn","php","static-js","static-site"],"latest_commit_sha":null,"homepage":"http://opencdn.hstn.me","language":"HTML","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/vednig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"vednig"}},"created_at":"2020-11-28T12:10:22.000Z","updated_at":"2024-10-31T16:29:34.000Z","dependencies_parsed_at":"2024-04-20T16:07:32.289Z","dependency_job_id":"93f3bf37-9960-4ada-978e-084ffe83db89","html_url":"https://github.com/vednig/opencdn","commit_stats":null,"previous_names":["vednig/opencdn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vednig/opencdn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vednig%2Fopencdn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vednig%2Fopencdn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vednig%2Fopencdn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vednig%2Fopencdn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vednig","download_url":"https://codeload.github.com/vednig/opencdn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vednig%2Fopencdn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32678616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cache","cdn","cloudflare","css","html","opencdn","php","static-js","static-site"],"created_at":"2024-11-06T04:21:02.958Z","updated_at":"2026-05-06T04:32:49.529Z","avatar_url":"https://github.com/vednig.png","language":"HTML","funding_links":["https://github.com/sponsors/vednig"],"categories":[],"sub_categories":[],"readme":"# OpenCDN\nNotice: OpenCDN is not a proper CDN but rather a way for small sites and startups to keep delivering content even in case of low traffic.\nWhen you have gathered enogh traffic consider switching.\n\u003cbr\u003e\n\nOpenCDN way for Non-Popular static JS , CSS and HTML.\nTo create your own CDN.And deliver content faster.\u003cbr\u003e\n**Why was it needed?**\u003cbr\u003e\nWhen using a popular CDN service like fastly or cloudflare your content has time limitations if traffic comes after a specific time again.\nStill it will take same time for it to work.To prevent this situation an alternative was created as a php program.For example, add files on all 3 servers but on connection of client it will accept the file from the nearest server.\n\n**How to Use:**\u003cbr\u003e\n\nAdd files insert.php and result.php to your servers.\u003cbr\u003e\nDistribute your content to all the servers.\u003cbr\u003e\nSave nearest server I.P. or Hostname to the user in localstorage.\u003cbr\u003e\nNow Cache the common scripts in local storage.(Optional)\u003cbr\u003e\nEach time a content is requested relocate to the nearest Host or I.P.\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvednig%2Fopencdn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvednig%2Fopencdn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvednig%2Fopencdn/lists"}