C4

C4 – Separate file description from file content

Hacker News

C4 – Separate file description from file content

C4 is a standardized identification system that separates file description from file content so they can be stored or transmitted independently. You can send a small text-based filesystem description by email while the file content is fulfilled by content ID from any source. Running c4 on any path produces a c4m file and stores the content: $ c4 ./projects/HERO/ drwxr-xr-x 2026-03-20T14:30:00Z 12058624 renders/ -rw-r--r-- 2026-03-20T14:30:00Z 4718 scripts/render_setup.py c45xZe... drwxr-xr-x assets/ Every file gets a C4 ID — an SMPTE-standardized identifier derived from content, not name or location. Same content, same ID, always. A 2 MB c4m file can describe an 8 TB project. For these commands content is stored locally at ~/.c4/store by default, configurable to any path or S3-compatible endpoint. c4 id does identification without storing. The store is just files (or objects) keyed by C4 ID — no database, no daemon, automatic deduplication. C4 solves a general problem in distributed computing, inspired by digital media production — where projects span millions of files across terabytes of content, bulk transfers move on shuttle drives, and work is distributed across organizations and data centers. File paths are unreliable identification in this environment. C4 IDs remove the dependency on location — any system that can return content given an ID becomes a valid source: object storage, production SANs, shuttle drives, another workstation. Because the c4m travels independently of content, you can do a remarkable amount of work before a single byte arrives. Pre-organize an incoming delivery into your pipeline's directory structure. Diff two project states to plan what needs to transfer. Deduplicate across vendors to skip terabytes you already have. Merge deliveries from multiple sources into a unified view. The content catches up later from whatever source is fastest — the c4m already tells it where to go. c4sh adds shell utilities that make c4m files behave like mounted filesystems in your existing terminal. cd project.c4m and you're inside — ls, mv, rm, cat all work on the description. cp ./footage/ project.c4m: captures files in; cp project.c4m:shots/ ./workspace/ extracts them out. pool bundles a c4m with its content for transport; ingest absorbs it on the other end. c4: https://github.com/Avalanche-io/c4 c4sh: https://github.com/Avalanche-io/c4sh Also: Python, TypeScript, C, Swift implementations Install: brew install mrjoshuak/tap/c4 — or — pip install c4py — or — npm install @avalanche-io/c4 All Apache 2.0. Solo developer. Happy to answer questions.

Share card

Actual performance

4points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: para, compatible, organizations · Missing: supports, reddit linkedin, podcasting
82%82% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: email, single · Missing: mac, agents, macos
73%73% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, existing, filesystem · Missing: https docs, excited, just released
60%60% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: way, para · Missing: mobile apps, ios, personal
45%45% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
20%20% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Mi
Minimum Description Length RNNs in PyTorch44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Minimum Description Length RNNs in PyTorch

Hacker News7
Cd
Cdist configuration file49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cdist configuration file

Hacker News2
Pa
Parsing MXNet Parameter File in C++41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Parsing MXNet Parameter File in C++

Hacker News1
DT
DTMF lib and file encoder30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DTMF lib and file encoder

Hacker News1
Re
Reimagine the File System43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Reimagine the File System

Hacker News49
Ro
Rotating any LTSpice symbol i.e. .asy file43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rotating any LTSpice symbol i.e. .asy file

Hacker News1
Ro
Rotating Electronics symbol file in LTSpice by Bash47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rotating Electronics symbol file in LTSpice by Bash

Hacker News1
Te
Ten Whistlegraphs – A Feral File Exhibition43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ten Whistlegraphs – A Feral File Exhibition

Hacker News2
Re
Replica, id3 file cloner46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Replica, id3 file cloner

Hacker News1
DH
DHCP as a file system – an experiment with Go and FUSE40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DHCP as a file system – an experiment with Go and FUSE

Hacker News34