Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
2a19ab5
Merge pull request #153 from bencode/develop
bencode Nov 14, 2026
5672e15
Roles, messages, goals and tasks that agents keep on their own Mac
bencode Nov 25, 2026
ea509bd
Merge pull request #156 from bencode/roles-tasks-messages
bencode Nov 25, 2026
2debf76
Web: an icon bar for the right column, and Agents with their roles an…
bencode Nov 25, 2026
65d5235
Merge pull request #157 from bencode/web-agents-roles
bencode Nov 25, 2026
c087535
Web: Agents as rows under each machine, with teams as trees that fold
bencode Nov 25, 2026
2e6cae7
Merge pull request #158 from bencode/web-agents-rows
bencode Nov 25, 2026
08ffa3d
Tasks in the right column: what is being done now, then the goals as …
bencode Nov 25, 2026
c1ab864
Merge pull request #159 from bencode/web-tasks
bencode Nov 25, 2026
b6f1681
Goals tab: every goal and task, ended ones too
bencode Nov 26, 2026
9fe6a53
Merge pull request #160 from bencode/web-goals-page
bencode Nov 26, 2026
06640e7
Messages in the right column
bencode Nov 26, 2026
766bebe
Merge pull request #161 from bencode/web-messages
bencode Nov 26, 2026
6107b8f
Let agent-send call an agent by its role
bencode Nov 26, 2026
9c5b272
Merge pull request #162 from bencode/agent-send-roles
bencode Nov 26, 2026
2437b86
A tighter workbench
bencode Nov 26, 2026
98bd532
Keep the workspace still as a peek opens, and open the peek with ⌥↩
bencode Nov 26, 2026
6f4c8db
Merge pull request #163 from bencode/ui-polish
bencode Nov 26, 2026
3a459dc
Release 0.9.0
bencode Nov 26, 2026
068e00d
Merge pull request #164 from bencode/release-0.9.0
bencode Nov 26, 2026
f1588d9
Know an agent's session from herdr when Isbell's hook did not report it
bencode Nov 26, 2026
ece7b81
Merge pull request #165 from bencode/herdr-session-fallback
bencode Nov 26, 2026
68eb311
Release 0.9.1
bencode Nov 26, 2026
a2d8a7b
Merge pull request #166 from bencode/release-0.9.1
bencode Nov 26, 2026
00657e2
Say how to answer at the foot of each agent-talk message, and where t…
bencode Nov 26, 2026
b86e7e4
Merge pull request #167 from bencode/agent-talk-wait-answer
bencode Nov 26, 2026
0336680
Ship the isbell-tools skill with each release, merged with agent-talk…
bencode Nov 26, 2026
f9b9916
Merge pull request #168 from bencode/isbell-tools-skill
bencode Nov 26, 2026
8e46402
Release 0.9.2
bencode Nov 26, 2026
183ae63
Merge pull request #169 from bencode/release-0.9.2
bencode Nov 26, 2026
a4e0e2c
Show a task's details in a card beside the Tasks column, opened by a …
bencode Nov 26, 2026
1400270
Merge pull request #170 from bencode/task-hover-card
bencode Nov 26, 2026
ff056d6
Read wide documents and diagrams: a width toggle, and Mermaid diagram…
bencode Nov 26, 2026
f8a4f3d
Merge pull request #171 from bencode/markdown-wide-diagrams
bencode Nov 26, 2026
0a135ce
Drop the toolbar's width button: the Aa panel's Page width is the one…
bencode Nov 26, 2026
ec76324
Merge pull request #172 from bencode/remove-width-button
bencode Nov 26, 2026
e240585
Share agents by link: a space of their own where guests talk with the…
bencode Nov 27, 2026
a55466e
Merge pull request #173 from bencode/agent-share-gateway
bencode Nov 27, 2026
291d92b
Share agents from the Agents column: shares, their links, and the age…
bencode Nov 27, 2026
23321e3
Ask a share's end a minute short of what is picked
bencode Nov 27, 2026
3690fcb
Join agents shared by link: they show under the Agents column and ope…
bencode Nov 27, 2026
ec8fe57
Merge pull request #174 from bencode/agent-share-web-owner
bencode Nov 27, 2026
2824b65
Merge pull request #176 from bencode/agent-share-web-guest
bencode Nov 27, 2026
258238b
Release 0.10.0
bencode Nov 27, 2026
7a05412
Merge pull request #177 from bencode/release-0.10.0
bencode Nov 27, 2026
712a507
Let a share's guests send files for the agents shared, of at most 20 MB
bencode Nov 27, 2026
0418258
Keep agentShare.session out of the gateway's own methods: a share's g…
bencode Nov 27, 2026
70fe937
Merge pull request #178 from bencode/agent-share-guest-upload
bencode Nov 27, 2026
54adb84
Release 0.10.1
bencode Nov 27, 2026
9dd4d95
Merge pull request #179 from bencode/release-0.10.1
bencode Nov 27, 2026
c188918
Phone: tabs for Agents and Files, agents by their roles
bencode Nov 27, 2026
5f3da34
Merge pull request #180 from bencode/mobile-m1-tabs
bencode Nov 27, 2026
0e04e7e
Phone: a Tasks tab, with each task and goal to read
bencode Nov 27, 2026
c135ea7
Merge pull request #181 from bencode/mobile-m2-tasks
bencode Nov 27, 2026
d1595a0
Phone: an inbox tab, a message pinned over the chat it opens
bencode Nov 27, 2026
b9b60a1
Merge pull request #182 from bencode/mobile-m3-inbox
bencode Nov 27, 2026
7ab064d
Phone: a new agent named into a team, and new work handed to a role
bencode Nov 28, 2026
71216b5
Merge pull request #183 from bencode/mobile-m4-new
bencode Nov 28, 2026
7982779
Push the user's iPhone a message that asks them something or warns them
bencode Nov 28, 2026
3854547
Merge pull request #184 from bencode/mobile-m5-push
bencode Nov 28, 2026
8f37212
Release 0.11.0
bencode Nov 28, 2026
6a88b24
Merge pull request #185 from bencode/release-0.11.0
bencode Nov 28, 2026
6bf3a9c
Let a tablet's terminal take a finger, as a phone's does
bencode Nov 28, 2026
466482c
Merge pull request #186 from bencode/ipad-terminal
bencode Nov 28, 2026
42808eb
Let an agent bring a role back: isbell agent launch, and isbell-tools…
bencode Nov 28, 2026
5b92c72
Merge pull request #191 from bencode/role-resume
bencode Nov 28, 2026
f6523de
Release 0.11.1
bencode Nov 28, 2026
5eb0fc7
Merge pull request #192 from bencode/release-0.11.1
bencode Nov 28, 2026
23af81b
Drop the phone's list of past sessions: an agent finds and resumes on…
bencode Nov 28, 2026
8c073fc
Merge pull request #193 from bencode/phone-drop-sessions
bencode Nov 28, 2026
3201a97
Show each agent's role in a share's picks
bencode Nov 29, 2026
3112e53
Merge pull request #195 from bencode/share-show-roles
bencode Nov 29, 2026
b6fb3cb
Keep a terminal's text on its cells after full-width punctuation
bencode Nov 29, 2026
6479166
Merge pull request #196 from bencode/term-fullwidth-punct
bencode Nov 29, 2026
e64ee1b
Share a file from a phone, and keep the phone's Files bar to one row
bencode Nov 29, 2026
32095dd
Merge pull request #197 from bencode/phone-files-share
bencode Nov 29, 2026
c13eb9b
Put the messages that want the user first, and count them alike on PC…
bencode Dec 1, 2026
024321d
Tasks column: Now and Goals as tabs, the last chosen shown
bencode Dec 1, 2026
97c3d94
Name the count of messages for you as what it is now; say where the w…
bencode Dec 1, 2026
52421d6
Tasks tabs: don't shadow count with each tab's number
bencode Dec 1, 2026
1678619
Merge pull request #201 from bencode/tasks-tabs
bencode Dec 1, 2026
050d054
Merge pull request #200 from bencode/messages-asks-first
bencode Dec 1, 2026
d622d83
Session bar: facts open from where it stands, actions set apart by kind
bencode Dec 1, 2026
57d997d
Merge pull request #202 from bencode/session-bar-info
bencode Dec 1, 2026
248e81c
Keep the README to what a newcomer needs, the rest in docs
bencode Dec 1, 2026
4de333d
Merge pull request #203 from bencode/docs-readme
bencode Dec 1, 2026
a502d81
Show the README's pictures as Isbell looks now, light or dark
bencode Dec 1, 2026
9e7f27c
Draw the README's workbench as it is now: projects, tabs, agents, tas…
bencode Dec 1, 2026
cbd451b
Show the iPhone app in the README, and the web app until it is out
bencode Dec 1, 2026
5d6932a
Merge pull request #204 from bencode/readme-images
bencode Dec 1, 2026
aca82ee
Show what Isbell is to someone without a key, and at /about to anyone
bencode Dec 2, 2026
76d864d
Merge pull request #205 from bencode/landing
bencode Dec 2, 2026
a381622
Install and run isbell on Linux, as on a Mac
bencode Dec 2, 2026
d08d1c7
Let whoever opens an agent share's link talk with the agents there
bencode Dec 3, 2026
4330f51
Merge pull request #207 from bencode/agents-page
bencode Dec 3, 2026
cfc7b40
Open an agent share's link on a phone as the phone's own pages are
bencode Dec 3, 2026
3c21e82
Keep the shared agent looked at as the list reorders or grows
bencode Dec 3, 2026
99e157d
Merge pull request #208 from bencode/agents-phone
bencode Dec 3, 2026
24cbe64
Open the paths an agent writes up against Chinese, as GitHub lines, a…
bencode Dec 4, 2026
7d8f99f
Merge pull request #209 from bencode/chat-links
bencode Dec 4, 2026
2b217d9
Go to the lines a link names, and mark them
bencode Dec 4, 2026
00a4cc5
Merge pull request #210 from bencode/chat-lines
bencode Dec 4, 2026
8d7ce7c
Merge pull request #206 from bencode/linux
bencode Dec 4, 2026
3c0fe56
Release 0.12.0
bencode Dec 4, 2026
b990413
Merge pull request #211 from bencode/release-0.12.0
bencode Dec 4, 2026
5344550
Send clicks and the wheel in a terminal to herdr, which knows what th…
bencode Dec 4, 2026
2d9caed
Merge pull request #212 from bencode/term-pointer
bencode Dec 4, 2026
95f0361
Open the links a program writes in a terminal as the others open
bencode Dec 4, 2026
7b82680
Merge pull request #213 from bencode/term-osc-links
bencode Dec 4, 2026
598aa03
Release 0.13.0
bencode Dec 4, 2026
ad1d3b9
Merge pull request #214 from bencode/release-0.13.0
bencode Dec 4, 2026
32a8184
Merge main into develop: 0.13.0
bencode Dec 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 56 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,81 @@
# A tag v<version> builds isbell for Apple silicon Macs and publishes it as a GitHub release, which
# is then mirrored to isbell.fmap.dev/releases for install.sh to download (docs/development.md). The
# asset names carry no version, so a version's directory, or latest, finds them.
# A tag v<version> builds isbell for Apple silicon Macs and for Linux (x86_64 and arm64, static with
# musl, for any distribution) and publishes them as a GitHub release, with the isbell-tools skill of
# that version, which is then mirrored to isbell.fmap.dev/releases for install.sh and the skill's
# update.sh to download (docs/development.md). The asset names carry no version, so a version's
# directory, or latest, finds them. A pull request that changes this file builds them too, without
# publishing, to see them build before a tag does.
name: Release

on:
push:
tags: ["v*"]
pull_request:
paths: [".github/workflows/release.yml"]

permissions:
contents: write

jobs:
macos-arm64:
runs-on: macos-latest
build:
strategy:
matrix:
include:
- os: macos-latest
target: aarch64-apple-darwin
- os: ubuntu-24.04
target: x86_64-unknown-linux-musl
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-musl
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Check the tag names the crate's version
if: startsWith(github.ref, 'refs/tags/')
run: |
version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[] | select(.name == "isbell") | .version')
test "${GITHUB_REF_NAME#v}" = "$version" || { echo "tag $GITHUB_REF_NAME, crate $version"; exit 1; }

- run: cargo build --release --locked -p isbell
# ring, the one dependency with C in it, builds for musl with musl-gcc.
- name: Add musl
if: runner.os == 'Linux'
run: |
sudo apt-get update && sudo apt-get install -y musl-tools
rustup target add ${{ matrix.target }}

- run: cargo build --release --locked -p isbell --target ${{ matrix.target }}

- name: Package
run: |
tar -C target/release -czf isbell-aarch64-apple-darwin.tar.gz isbell
shasum -a 256 isbell-aarch64-apple-darwin.tar.gz > isbell-aarch64-apple-darwin.tar.gz.sha256
asset=isbell-${{ matrix.target }}.tar.gz
tar -C target/${{ matrix.target }}/release -czf "$asset" isbell
shasum -a 256 "$asset" > "$asset.sha256"

- uses: actions/upload-artifact@v4
with:
name: isbell-${{ matrix.target }}
path: isbell-${{ matrix.target }}.tar.gz*

publish:
if: startsWith(github.ref, 'refs/tags/')
needs: build
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v4
with:
merge-multiple: true

# VERSION, only in the package, tells the skill which isbell it goes with: a checkout has none.
- name: Package the skill
run: |
mkdir skill && cp -R integrations/isbell-tools skill/
printf '%s\n' "${GITHUB_REF_NAME#v}" > skill/isbell-tools/VERSION
tar -C skill -czf isbell-tools.tar.gz isbell-tools
shasum -a 256 isbell-tools.tar.gz > isbell-tools.tar.gz.sha256

- name: Publish
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create "$GITHUB_REF_NAME" --generate-notes \
isbell-aarch64-apple-darwin.tar.gz isbell-aarch64-apple-darwin.tar.gz.sha256
run: gh release create "$GITHUB_REF_NAME" --generate-notes isbell-*.tar.gz isbell-*.tar.gz.sha256
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "3"
members = ["crates/*"]

[workspace.package]
version = "0.8.0"
version = "0.13.0"
edition = "2024"
publish = false

Expand All @@ -29,7 +29,7 @@ plist = "1"
rand = "0.10"
reqwest = { version = "0.12", default-features = false, features = ["http2", "rustls-tls-webpki-roots"] }
redis = { version = "1.7", features = ["tokio-comp", "connection-manager", "script"] }
rustix = { version = "1", features = ["process"] }
rustix = { version = "1", features = ["fs", "process"] }
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand Down
210 changes: 48 additions & 162 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,203 +1,89 @@
# Isbell

Run AI coding agents on your own Macs. Watch them, answer them and read what they write from any
Run AI coding agents on your own machines. Watch them, answer them and read what they write, from any
browser or your iPhone.

![Isbell in a browser: projects and files on the left, a session's chat in the middle, and every running session on the right](docs/workbench.png)
<picture>
<source media="(prefers-color-scheme: dark)" srcset="web/public/landing/workbench-dark.png">
<img src="web/public/landing/workbench.png" alt="Isbell in a browser: projects on the left, an agent asking a question in the middle, and every agent on every machine on the right">
</picture>

An agent can work for an hour and then stop to ask you one question. Isbell is for that moment:

- **Every agent in one place**, across all your machines, the ones waiting for you first.
- **Answer from anywhere**: reply in a chat, or work in the agent's real terminal, from a browser
or your phone. Your iPhone can tell you when an agent needs you.
- **See what they made**: Markdown, code, diagrams, images and HTML pages, without opening an editor.
- **Nothing to expose**: your Macs open no port, and the server stores none of your data.

Your agents keep running on your own Macs, inside [herdr](https://herdr.dev), the terminal workspace
Isbell connects to. Isbell does not replace them or run any model.
An agent can work for an hour and then stop to ask you one question. Isbell is for that moment.
Your agents keep running on your own machines, inside [herdr](https://herdr.dev), the terminal workspace
Isbell connects to; Isbell does not replace them or run any model. Your machines open no port, and the
server stores none of your data.

Status: early development. The public server at `isbell.fmap.dev` is provided as is, with no
guarantee of availability; you can [run your own](#self-hosting).

## What you need
guarantee of availability; you can [run your own](docs/self-hosting.md).

- A Mac with Apple silicon. On other systems, [build from source](#from-source).
- [herdr](https://herdr.dev). Setup offers to install it.
- An agent. Claude Code, Codex and pi are fully supported; any other works through the Terminal.
## Get started

Isbell only sees what runs inside herdr, so start your agents there.
You need a Mac with Apple silicon or a Linux machine, x86_64 or arm64
([other systems](docs/install.md#from-source)), and an agent: Claude Code, Codex and pi are fully
supported; any other works through the terminal.

## Set up

Paste this to the agent on your Mac (Claude Code, Codex, …):
Paste this to the agent on your machine:

```text
Set up Isbell on this Mac: read https://raw.githubusercontent.com/bencode/Isbell/main/docs/setup.md and follow it.
Set up Isbell on this machine: read https://raw.githubusercontent.com/bencode/Isbell/main/docs/setup.md and follow it.
```

It installs `isbell` (and herdr, if you agree) and runs the gateway. It never sees your space key.
Then:

1. Run `isbell space show` in your own terminal and copy the key.
2. Open <https://isbell.fmap.dev> and paste it.
3. Run `herdr` and start your agents in it.
3. Run `herdr` and start your agents in it: Isbell only sees what runs there.

The key is the only credential for your space: anyone who has it can reach the agents on your
machines, so keep it to yourself. For another Mac, paste the same text to the agent there, and run
`isbell space join <key>` yourself when it asks.

Setup also offers a small hook for Claude Code, Codex and pi. It puts what each agent was asked and
what it is doing on its card, and records sessions so that you can find and resume them after their
pane is closed.
machines, so keep it to yourself. For another machine, paste the same text to the agent there, and run
`isbell space join <key>` yourself when it asks. To do it all by hand: [docs/install.md](docs/install.md).

## What it does

### On a computer

- **Workbench**: your projects, each one's sessions and files, and a tab for whatever you open, in
one window that remembers where you were.
- **Active Sessions**: every agent on all your machines, the ones asking first, then those just
finished and those running.
- **Look without leaving**: open a session in a drawer over your work and answer the agent there.
⌘K finds any agent.
- **Chat**: a session reads as turns, from the agent's own record; reply, or answer what it asks in
its terminal ([Codex needs `--no-daemon`](docs/setup.md)).
- **Terminal**: work in any pane from the browser; paste or drop in a file to hand it to the agent.
- **Files**: read what the agents write, on any worktree. Markdown with its outline, math and
diagrams; source with highlighting; images; HTML pages, run apart from the app.
- **Sessions**: a project's past sessions by day, to search, read again or resume.
- **New**: start an agent or a shell in a project, on any machine.
- **Notifications** when an agent asks or finishes, while Isbell is open in a tab.

### On your iPhone

<img src="docs/phone.png" alt="Isbell on an iPhone: the sessions asking first, then those just finished and those running" width="280">

A remote control for when you are away from your computer, with a layout of its own:
- **Every agent in one place**: across all your machines, the ones asking you first. Look at one in
a drawer without leaving your work; ⌘K finds any.
- **Answer them**: in a chat read from the agent's own record, or in its real terminal; drop in a
file, or speak.
- **Read what they make**: Markdown, code, diagrams, images and HTML pages, on any worktree. Share a
file by a link that lasts an hour, a day or a week.
- **Run a team**: agents take names, keep your goals and tasks, and send you messages that wait for
your answer, with [the isbell-tools skill](integrations/isbell-tools/SKILL.md).
- **Share agents**: let someone else talk to a few of your agents while you watch.
- **Start and resume**: start an agent in any project on any machine, from your own templates; find
and resume past sessions; send a session a message on a schedule.

- See every session, the ones asking you first, and get a push when an agent asks or finishes, even
with Isbell closed.
- Read a session as a chat and reply, or answer in its terminal with a bar of the keys agents ask
for.
- Read the files agents write, start a new session, and find and resume past ones.
## On your iPhone

To set it up:
<picture>
<source media="(prefers-color-scheme: dark)" srcset="web/public/landing/phone-dark.png">
<img src="web/public/landing/phone.png" alt="The Isbell iPhone app: a push from an agent asking, the agents with the one asking first, and answering it in the chat" width="720">
</picture>

1. Open <https://isbell.fmap.dev> in Safari, then Share → Add to Home Screen.
2. Open Isbell from the Home Screen and paste your key.
3. In Settings, turn on **Push to this iPhone**. Pushes need `isbell` 0.3.0 or later on your machines.
A layout of its own: every session, the ones asking first; chat and terminal; files; your tasks and
messages; and a push when an agent asks, finishes or sends you something, even with Isbell closed.

After an update, close the app completely and open it again to get the new version.
The iPhone app is on its way to the App Store. Until then, the web app does the same from your Home
Screen: open <https://isbell.fmap.dev> in Safari, then Share → Add to Home Screen. Open Isbell from
the Home Screen, paste your key, and turn on **Push to this iPhone** in Settings.

## CLI

`isbell` does the same from a terminal, and copies files between machines:
`isbell` does the same from a terminal, and copies files between machines; `isbell help` lists it
all.

```bash
isbell machine list
isbell machine probe <machine> # tries a direct link, shows its path
isbell agent prompt <machine>/<agent> "..." --wait
isbell terminal attach <machine>/<pane-or-agent> --control
isbell file get <machine>:<absolute path>
isbell file share <path> --for 1d # a link to read it, live, from a browser
isbell file share <path> --for 1d
```

## Privacy and how it works

```text
+----------------------- relay server -------------------------+
| relay <--> Redis: in memory only, every key expires |
| stores no user data, logs no message content |
+-----^---------------------------------------------^----------+
| |
| WSS: status, | WSS, dialled out
| small calls | by the gateway
| |
+-----+--------------+ +------------+---------------+
| Browser | WebRTC | Each of your Macs |
| isbell.fmap.dev |<===============>| gateway -- herdr -- agents |
+--------------------+ direct +----------------------------+
terminal and files go direct; through the relay only if that fails
```

- **No user data on the server**: the relay only pairs browsers with gateways and passes messages
along. Redis holds routing and each machine's last status, all expiring within 15 minutes, never
on disk. Your key, settings and read marks stay on your machines and in your browser.
- **Direct first**: terminals and files go over a WebRTC direct link; when none can be opened, the
same traffic goes through the relay.
- **TLS, not end to end**: what goes through the relay is visible to the relay as it passes. If that
matters to you, [run your own](#self-hosting).
- **One key per space**: each connection signs with the key, and the relay checks the signature
without ever receiving it.
- **Gateways only dial out**: a machine opens no port.
- **Pages run apart**: an HTML page from a project runs on an origin of its own, so its scripts
cannot reach the app or your key.

## Install by hand

```bash
curl -fsSL https://isbell.fmap.dev/install.sh | sh
```

This installs the latest release to `~/.local/bin/isbell` after checking its checksum, and offers
herdr's own installer when herdr is missing. Then:

1. On your first machine: `isbell space init`, which creates your space and prints its key.
2. `isbell gateway install`, which keeps the gateway running on this machine.
3. Open <https://isbell.fmap.dev> and paste the key.
4. On each other machine: `isbell space join <key>`, then `isbell gateway install`.

- `isbell space show` prints the key again on any machine in the space.
- `gateway install` makes a launchd user agent: started at login, restarted after a failure, logging
to `~/Library/Logs/isbell/gateway.log`. It keeps the `PATH` of the shell it ran in, so herdr and
the agents are found; run it again after changing `PATH`.
- `gateway status` and `gateway uninstall` check and remove it.

### Upgrade and uninstall

- `isbell upgrade` installs the latest release and restarts the gateway. The web app marks a machine
on an older version in the sidebar.
- `ISBELL_VERSION=v0.1.0` before `sh` in the install command installs that release instead.
- To remove Isbell, see [Uninstall](docs/setup.md#uninstall).

### From source

On other systems, or to run `main`, with Rust (<https://rustup.rs>) and herdr installed:

```bash
cargo install --git https://github.com/bencode/Isbell --locked isbell
```

Where `gateway install` is not available, run `isbell gateway run` under a supervisor of your own.

## Self-hosting

`deploy/compose.yml` runs the relay with its own Redis, and the web app as static files. It is set up
for `isbell.fmap.dev`, so point it at your own domain:

1. In `deploy/compose.yml`, set `PUBLIC_ORIGIN` to `wss://your.domain` and adjust the published ports.
2. Create `web/.env.production`:

```bash
VITE_RELAY_URL=wss://your.domain/v1/ws
VITE_PREVIEW_ORIGIN=https://preview.your.domain
```

3. From the repository root: `docker compose -f deploy/compose.yml up -d --build`.
4. Put a TLS reverse proxy in front:

| Site, path | Upstream |
|---|---|
| `your.domain` `/v1/*`, `/healthz` | relay, port 5800 |
| `your.domain`, everything else | web app, port 5801 |
| `preview.your.domain` | preview origin, port 5802 |

5. On each machine, before creating or joining a space, add `relay = "wss://your.domain/v1/ws"` to
`~/.config/isbell/config.toml`, or set `ISBELL_RELAY`.

## Development
## More

Building, running a local relay, tests and releasing: [docs/development.md](docs/development.md).
- [How it works, and your privacy](docs/how-it-works.md)
- [Install by hand, upgrade, uninstall, build from source](docs/install.md)
- [Self-hosting](docs/self-hosting.md)
- [Development](docs/development.md)

## License

Expand Down
3 changes: 3 additions & 0 deletions crates/isbell-proto/src/frame/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ pub enum DataKind {
Ping,
/// A piece of a byte stream (a file), in either direction.
Chunk,
/// A click or a turn of the wheel in a terminal, as JSON: where, in cells, and not how a program
/// would read it, which herdr knows and the caller does not.
Pointer,
}

#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
Expand Down
Loading
Loading