Gristar; a a command-line utility to list, and extract attachments from .grist database files

I’ve build a prototype of a tar like gristar command
which extracts grist attachments in bulk from a grist file.

If you use it, be aware that this is a prototype.

GristAr

GristAr is a command-line utility designed to manipulate, list, and extract attachments from .grist database files. Think of it as ar or sqlar, but specifically tailored for the Grist internal storage schema.

It utilizes high-performance SQLite Incremental BLOB I/O to handle large attachments efficiently without loading them entirely into memory.

Features

  • List: View all attachments stored in a Grist file with size summaries.

  • Extract: Bulk export attachments to a local directory with glob pattern support.

  • Cat: Stream attachment content directly to stdout for piping to other tools.

1 Like

I’ve created a test release for some architectures and osses.
So you can now download prebuild binaries.

if you have access to a windows machine please try it,
i might need to link sqlite3 statically for windows, but this will be seen.

If you have an apple machine please try to fix the build :slight_smile: