2026-49
CLI + SDK for Tangled
Now that Tangled has got stable lexicons, I've decided to put some time into making a nice Rust SDK + CLI. While its largely a mechanical process of recreating a new client, there are slightly different constraints. With a web client, the goal is for actions to be laid out in a visually sensible fashion. With a CLI, the goal is to get as much done as possible in a few commands, because every operation requires a whole new command. With the SDK (which also a kind of client!), the goal is elimation of invalid states with types, and for a clean "feeling" API.
To that end, I've been adding features to each of these clients.
Web
The web client now lets you fill in completely custom CSS: letting users change padding, rounding, colorschemes, hide unnecessary information:
CLI
The CLI supports the jujutsu template DSL in all outputs:

One of the other goals of a CLI is to pipe outputs to tools, so naturally, more output formats are available:
λ ./target/debug/tangled issue list -F json -L 1 | jq
[
{
"author": {
"did": "did:plc:eakrvcsyku3u5xmrpir5druf",
.
.
.
SDK
The SDK uses typestates to prevent invalid states, such as only permitting auth-only requests on authenticated clients:
let client = tangled::instance();
let core = client.resolve_repo("tangled.org", "core").await?;
client.repo(core)
.issues()
.close(42) // does not compile!
.send()
.await?;
let authenticated_client = tangled::login(...);
authenticated_client
.repo(core)
.issues()
.close(42) // now it does
.send()
.await?;
Tinkering with jj-musubi
jj-musubi
is a lovely project that does the hard work of solving
live-sync of jujutsu-colocated repositories across multiple
machines. Most imporantly, unlike a git client that just
pushes and pulls in the background, jj-musubi can sync
undescribed changes, the full jj op log, and more. It can be
incredibly convenient if you have your work across multiple
machines, and want to just hand things off. I often write
things up on my laptop and switch over to a bigger server
machine for builds and tests, but having to push to a branch
and pull from one each time is tiring! Also very
interesting, is that the core musubi protocol has been
modeled formally in
Lean.
The way jj-musubi works is that it requres a "hub", to be
always online, each client then runs a background daemon
that sends or recieves events from the hub. This seems
perfectly shaped to put into a Tangled knotserver! I got
around to integrating the core musubi model into a Tangled
knot. The git objects synced by jj-musubi are stored in an
entirely separate location, so as to completely avoid
federation (but also make use of
git-alternates,
to save a bit on space). Combined with the Tangeld CLI, this
may be a fun (experimental) addition for next week!
Advent of Code 2026
As always, I've been solving AOC in Haskell, but this time, with a twist, I have decided to not use my local setup to solve AOC at all, instead, I've been solving AOC inside a web playground of Micro Haskell that runs inside a "webtile", that runs inside a Bluesky client! You can check it out for yourself here:
- Day 01: https://mu.social/profile/oppi.li/post/3n3ovsylvu22k
- Day 02: https://mu.social/profile/oppi.li/post/3n3p4syykes24
Webtiles are just little WASM programs with few more constraints, that makes them embeddable anywhere. In addition, there is a small record format they follow, that enables users to upload tiles to their atproto PDii, you can browse all my tiles on the "appmosphere". Luckily, Micro Haskell is small enough to fit in a webtile.
Private data
We now have an alpha release of private repositories on Tangled ready to go. Just like the AT Spaces alpha, we are permitting testers into a temporary knot where private-repos are enabled, and we will be clearing this knot after the test phase. Send me your handle if you'd like to join the fun!