{"id":50999909,"url":"https://github.com/cablehead/klump","last_synced_at":"2026-06-20T13:30:52.941Z","repository":{"id":333910168,"uuid":"1139255649","full_name":"cablehead/klump","owner":"cablehead","description":"Chunked blob storage experiment using fjall","archived":false,"fork":false,"pushed_at":"2026-01-22T05:32:14.000Z","size":16,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-18T21:31:42.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/cablehead.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-21T18:14:06.000Z","updated_at":"2026-05-04T06:45:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cablehead/klump","commit_stats":null,"previous_names":["cablehead/klump"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cablehead/klump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fklump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fklump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fklump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fklump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cablehead","download_url":"https://codeload.github.com/cablehead/klump/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fklump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34572423,"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-20T02:00:06.407Z","response_time":98,"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":"2026-06-20T13:30:51.991Z","updated_at":"2026-06-20T13:30:52.934Z","avatar_url":"https://github.com/cablehead.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# klump\n\nChunked blob storage experiment using [fjall](https://github.com/fjall-rs/fjall).\n\n## Problem\n\nStoring large blobs requires buffering entire content before write. Can't stream, can't know ID until done.\n\n## Approach\n\n- Split incoming bytes into 64KB chunks\n- Store chunks by BLAKE3 hash (content-addressed, deduped)\n- Blob ID (scru128) assigned immediately, before content fully ingested\n- Append-only: each chunk write adds one entry, EOF marker signals completion\n\nTwo keyspaces:\n- `cas`: `hash (32B) → chunk bytes`\n- `blobs`: `blob_id (16B) + seq (4B) → content-type (seq 0)` | `hash (32B)` | `empty (EOF)`\n\n```\nblob_id + seq:0  → \"text/plain\"  (content-type)\nblob_id + seq:1  → hash          (chunk)\nblob_id + seq:2  → hash          (chunk)\nblob_id + seq:3  → (empty)       (EOF)\n```\n\nStatus inferred: last entry empty = Complete, otherwise Ingesting.\n\nReaders can prefix-scan `blob_id` to stream chunks as they arrive.\n\n## Usage\n\n```\necho \"hello\" | klump put -t text/plain   # returns scru128 id\nklump get \u003cid\u003e                           # streams content to stdout\nklump list                               # show all blobs\nklump info \u003cid\u003e                          # show chunks\n```\n\n## Why\n\nExploring streaming writes for [xs](https://github.com/cablehead/xs). Readers could subscribe to a blob ID and process chunks as they arrive, before ingest completes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcablehead%2Fklump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcablehead%2Fklump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcablehead%2Fklump/lists"}