Rust · Creative pipelines · Asset version control

OpenAsset Depot:
Version Control for Creative Work

A scene file is not a text document. It needs a clear owner while it is being edited, a dependable revision when it is submitted, and feedback attached to the exact version everyone is reviewing. OpenAsset Depot brings those concerns into one system.

A source-led walkthrough of the project in OpenStudioVault: a Rust API, PostgreSQL metadata, content-addressed storage, a native desktop app and creative-tool integrations.

Rust coreAPI, CLI and SDK
BLAKE3Chunk and blob identities
PostgreSQLTransactional revisions
Tauri + ReactNative artist workspace
3D reviewTimecodes and annotations

The design problem

Keep the artist workflow simple.
Keep the shared state authoritative.

Creative work crosses applications: a model is edited in Blender, referenced by an engine, and discussed in a review. The files can be large and binary, so merging is often the wrong collaboration model. This project takes a centralized approach: depots hold streams, artists work in local workspaces, and changelists collect a meaningful unit of work. It does not use Git as its storage backend. [S1]

OpenAsset Depot demo dashboard showing an active workspace, asset cards, pending changes and checked-out assets.
The repository’s dashboard screenshot, explicitly shown in demo mode. The artist-facing vocabulary is Sync Latest, Changes and Locks—not storage objects or database rows.

Interactive architecture · Archify

Many entry points.
One workspace engine and one server core.

Native file operations and host plug-ins call the same oad CLI. The web studio calls the API for media and feedback. The server coordinates metadata in PostgreSQL and file content in a separate object store.

Reading the map: desktop and host tools converge on the CLI at the left. The Rust API sits in the middle, with review above, PostgreSQL to the right and immutable chunks and manifests below.

Explore the interactive architecture Expand / collapse

Use the pan buttons, swipe the frame, or focus it and press ← / →. Home / End reach either edge; viewer controls are on the right.

Six layers

From an artist’s intent
to a durable shared revision.

The system becomes easier to understand when the responsibilities are separated: local work, content identity, coordination, transfer, host integration and review.

01

Local workspace intent

Track what the artist means to submit.

The daily workflow starts with Sync Latest, then Add Files or Lock / Check Out, followed by validation and a described submit. The CLI stores workspace metadata under .oad/ and loads an explicit pending list when submitting. That gives the desktop a focused Changes view rather than making a whole-project scan the default way to discover pending work. [S2]

Deletion follows the same intent-first model. A tracked file is marked for deletion, submitted as a revision, and removed locally only after the server returns success. This keeps a destructive local action behind the shared-state transition it depends on.

02

Content-addressed bytes

Give content an identity independent of its filename.

The object store reads a file in fixed-size chunks, computes a BLAKE3 hash for each chunk, and stores a chunk only if that hash is absent. A separate whole-file hash identifies a blob manifest containing the ordered chunk references and their sizes. The supplied Ubuntu configuration uses a 4 MiB chunk size. [S3]

Paths and revisions can change without making object identity depend on either. Identical chunks can be reused across uploads. The local backend shards objects into directories derived from their hashes and publishes through temporary files and rename operations, rather than writing directly to the final object name.

03

Locks and revisions

Make coordination a server decision.

The server resolves the authenticated user and workspace, normalizes paths and records lock ownership. During submit it locks the changelist row, checks that the changelist belongs to the submitting user and workspace, and requires an active exclusive lock for paths whose file-type rule demands one. These checks are not just desktop button states. [S4]

The metadata transaction creates revisions, advances file heads, records workspace acknowledgements, releases the submitting workspace’s locks and marks the changelist submitted. An already-submitted changelist follows a retry path: the same content returns the original revisions, while different content is rejected.

04

Protect local work

Sync revisions without silently replacing edits.

The API’s sync plan compares current file heads with the revisions acknowledged by the workspace. The CLI requests that plan in 1,000-file pages. Before acting on a path, it checks pending intent and local content hashes; it refuses to overwrite edits or delete an untracked local file that happens to occupy the same path. [S5]

Large submissions also take a different transfer path. Files above the CLI’s resumable-upload threshold are staged first, and the final submit names the resulting blob hashes. Smaller files stream as multipart file parts. Transfer and revision creation are connected, but they are not the same operation.

05

One host protocol

Keep application adapters thin.

The repository contains integrations for Blender, Maya, Houdini, Nuke, Unreal, Unity, Adobe Creative Cloud and DaVinci Resolve. Instead of reproducing the workspace engine inside each host, the common Python bridge invokes oad integration --protocol-version 2, reads a structured result and forwards progress. [S6]

The Tauri bridge uses the same protocol for native workspace actions. It validates command shapes, passes arguments directly to the CLI process, streams progress, checks the result envelope and applies operation timeouts. Host-specific UI can speak the application’s language while the CLI owns local file operations.

06

Revision-bound review

Attach feedback to the version that was actually seen.

The review API resolves a workspace, path and revision number to a revision identity before storing a comment. Timecodes, frame numbers and annotation JSON travel with that feedback. Replies must belong to the same asset revision as their parent. This turns “the model looked wrong” into a discussion about a particular submitted version. [S7]

The React viewer loads media and comments together, supports pen and shape annotations, and delegates 3D playback to a lazily loaded player. A review proxy lets a source asset have a browser-friendly representation without replacing the original versioned content.

A submit, end to end

Upload the bytes.
Then commit the shared meaning.

The ordinary multipart submit path makes the storage boundary visible: chunks and manifests are published before the transaction creates revisions that reference them.

Reading the sequence: register intent, validate, upload, store content, lock metadata, commit revisions and return the result. The CLI clears pending work only after a successful response.

Explore the submit sequence Expand / collapse

Pan with the buttons or ← / → when the frame is focused. Scroll inside the viewer to follow the sequence vertically; Home / End reach either horizontal edge.

Retries have a content check.

The submitted-changelist path compares uploaded paths and blob hashes with the stored result before replaying the original revision response. It does not create another revision just because a client repeats its request.

Cleanup respects in-flight work.

Submit holds a shared storage-maintenance lease from upload through metadata commit. Orphan cleanup requires the exclusive lease, so cleanup cannot remove a deduplicated object in the middle of that handoff. [S1]

The review studio

Version history is useful.
Seeing the revision is better.

The review surface brings the asset and its discussion together. For an animated model, a reviewer can inspect playback, pause at a moment, sketch over the view and leave feedback with a timecode. The comment remains tied to that asset revision rather than to whichever file happens to be newest. [S7]

Revision review of an animated GLB cube, with a yellow sketch, playback controls and a timecoded comment reading Slow the turn at the apex.
The repository’s review screenshot uses an animated cube fixture. It shows version 1, an annotation and feedback at frame 15. The project’s September 26 verification notes record GLB/FBX playback, persisted comments and annotations, and seeking from a stored timecode.

Preserve revision context.

Feedback, review proxies and source assets meet at a revision identity, so the conversation has a stable target.

Speak the artist’s language.

Sync, check out, validate and submit are the visible actions. Hashes, transactions and manifests stay underneath.

Share behavior, not just styling.

A common CLI protocol gives desktop and host workflows the same workspace operations instead of parallel implementations.

Deployment shape

Separate the public route
from the persistent core.

The supplied Ubuntu/nginx Compose topology runs the API, PostgreSQL and web companion as separate services. PostgreSQL and the API sit on an internal backend network; the web container also joins a proxy network and publishes its HTTP listener to loopback by default. A host nginx configuration provides the intended public entry point. [S8]

Database data and object data have separate named volumes. The configuration also makes upload size, chunk size, request timeout, origins and signup policy explicit. Those are operational choices that matter for a creative depot: moving a large asset is not the same workload as loading a small JSON page.

Sources

Follow the implementation.

The article follows the OpenAsset Depot repository at revision 80ff9991d2d5. The diagrams include source references for their components; the notes below identify the main code paths.

Source notes and screenshot credits
  • [S1] System model. README.md and docs/architecture.md: depots, streams, workspaces, client layers and the storage-maintenance lease.
  • [S2] Workspace intent. cli/oad/src/main.rs:1450–1669: pending state, preflight validation, upload, successful local cleanup and deletion handling.
  • [S3] Object identity. server/api/src/storage/mod.rs:144–195, storage/local.rs:65–119 and deploy/docker-compose.ubuntu-nginx.yml:15–17: chunk hashing, manifests, publication and configured chunk size.
  • [S4] Server coordination. server/api/src/locking/mod.rs:76–120 and changelists/mod.rs:275–751: uploads, ownership, lock checks, transaction and retry behavior.
  • [S5] Sync and transfer. server/api/src/sync/mod.rs:85–144 and cli/oad/src/main.rs:812–901,1554–1634: paged plans, local guards and staged large-file submissions.
  • [S6] Integration boundary. desktop/src-tauri/src/integration.rs:66–213 and plugins/common/openasset_depot_bridge/client.py:258–286: protocol v2, process arguments, results and progress.
  • [S7] Revision review. server/api/src/reviews/mod.rs:134–229, desktop/src/components/ReviewViewer.tsx:75–155 and docs/review-runtime-verification.md: revision targeting, annotations and the recorded cube-fixture verification.
  • [S8] Deployment. deploy/docker-compose.ubuntu-nginx.yml and the deployment instructions in README.md.

Images: docs/screenshots/dashboard.png and docs/screenshots/review.png from the same repository. The dashboard is demo mode; the review image shows the project’s cube fixture. Both are reproduced without alteration.

The takeaway

The hard part is not storing a file.
It is agreeing what the file means.

OpenAsset Depot connects local intent, exclusive editing, immutable content, transactional revisions and review context. The result is a coherent path from an artist’s working folder to a version the rest of the studio can sync and discuss.

Back to the beginning ↑