Toolbox
STAR explorer
The STAR format is a compact data container that is used with atproto spaces. This tool allows STAR files to be explored and their data examined.
Up to 10 MiB and 50,000 records. The file stays in your browser. Values in DAG-CBOR and JSON are decoded; anything else is shown as bytes.
Open a .star file or a sample to see its records.
This isn’t a valid STAR archive
A reader stops at the first problem, so nothing in the file is shown past it. The byte where it stopped is outlined.
Reader Overview
End00 says the archive is complete
Explorer
No keys match.
Its first bytes look like .
Checks
Known Profiles
The STAR spec’s application profiles section is still empty. These profiles come from the atproto spaces drafts and microcosm.blue’s profile notes, and may change.
| $type | What it holds | What the explorer checks |
|---|---|---|
atproto-space-repo | One repository in a space. The metadata holds the commit fields. | Strict path order, and the LtHash of every {collection}/{rkey}/{cid} against data. The MAC arrives in a response header and isn’t in the file. |
atproto-space-meta | A space’s policy, members, and writers. | The three sections in order, each in strict key order. |
atproto-record | One record. | Exactly one record. |
| Any other $type | Shown as key and value pairs. | The format rules only. |
When an archive is invalid · any one of these stops the whole archive
MagicThe file starts with 3a a2 65 72, not 2a 6c 01 00. This looks like a CAR file. Open it in the CAR explorer.MetadataThe metadata isn’t one DRISL map with a text $type.Control byteOffset 4,410 holds 02. After a record, only 01 (another record) or 00 (the end) is allowed.Trailing bytes412 bytes follow the end byte at offset 626,262.TruncatedThe file ends inside record 12. Without the end byte, the archive is incomplete.VarintThe record length at offset 1,204 is written as d6 81 00, which isn’t the shortest form.
Limits
| Limit | Value | Why, and what happens past it |
|---|---|---|
| STAR file | 10 MiB | Checked from the file’s size before anything is read. |
| Records | 50,000 | Reading stops at the limit and keeps the records before it. |
| Metadata | 64 KiB | Checked from the length before the metadata is read. |
| Key | 4 KiB | Checked from the length before the key is read. |
| Value | 1 MiB | A larger value is listed and shown as bytes only. |
| Length prefix | 9 bytes | Varints longer than 9 bytes, or not in the shortest form, stop the archive. |
| Value decoding | one value | Only the selected value is decoded. DAG-CBOR uses the CAR explorer’s limits, 32 levels and 10,000 items per map or array; JSON uses the same depth limit. |
| Work time | none | Reading streams with a progress bar and Cancel, so there is no fixed time budget. |
| Memory | 64 MiB | The same fixed WebAssembly maximum as the CAR explorer. |