{"id":41502852,"url":"https://github.com/frdl/cta","last_synced_at":"2026-01-23T19:11:39.359Z","repository":{"id":58129218,"uuid":"529625996","full_name":"frdl/cta","owner":"frdl","description":"Content-addressable storage for PHP. ","archived":false,"fork":false,"pushed_at":"2023-01-30T23:42:23.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T10:50:02.226Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/frdl.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}},"created_at":"2022-08-27T15:38:15.000Z","updated_at":"2022-08-27T15:45:01.000Z","dependencies_parsed_at":"2023-02-16T12:45:28.963Z","dependency_job_id":null,"html_url":"https://github.com/frdl/cta","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/frdl/cta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frdl%2Fcta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frdl%2Fcta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frdl%2Fcta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frdl%2Fcta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frdl","download_url":"https://codeload.github.com/frdl/cta/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frdl%2Fcta/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28698422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"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":[],"created_at":"2026-01-23T19:11:38.465Z","updated_at":"2026-01-23T19:11:39.355Z","avatar_url":"https://github.com/frdl.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cta\nContent-addressable storage for PHP. *work in progress!* (ALPHA version)\n\n# Idea\n\n## Save Contents\n* Split Contents into chunks (of equal length)/save to ChunkStorage\n* Concat ChunkHashes into FileStorage Entry\n* Save header lines and FileStorage Entry CTA-Hash into UriStorage\n\n## Read/Serve Contents\n* Serve header lines from UriStorage (if for Browser/Download)\n* Look up FileStorage Entry in UriStorage\n* Look up ChunkHashes in FileStorage\n* Concat chunks from ChunkStorage to output contents\n\n# spec\n# content-addressable - [1.3.6.1.4.1.37553.8.1.8.1.16606](https://registry.frdl.de/?goto=oid%3A1.3.6.1.4.1.37553.8.1.8.1.16606)\n* [1.3.6.1.4.1.37553.8.1.8.1.16606](https://registry.frdl.de/?goto=oid%3A1.3.6.1.4.1.37553.8.1.8.1.16606)- CTA paradigmas where we do NOT track for hash collisions.\n* [1.3.6.1.4.1.37553.8.1.8.1.16606.1.56234465](https://registry.frdl.de/?goto=oid%3A1.3.6.1.4.1.37553.8.1.8.1.16606.1.56234465) - To reduce the possibility of collisions we store the hash along with the content-size.\n* [1.3.6.1.4.1.37553.8.1.8.1.16606.1.27200801029](https://registry.frdl.de/?goto=oid%3A1.3.6.1.4.1.37553.8.1.8.1.16606.1.27200801029) - Files/content is saved into chunks of the same size/length.\n# Server - frdl\\cta\\Server::class\n* UriStorage where we store references: uri[hash]\u003c-\u003efile[hash]\u003c-\u003echunks[hashes]\n* UriStorage where we store (and may serve) headers associated to a file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrdl%2Fcta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrdl%2Fcta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrdl%2Fcta/lists"}