MCPcopy Index your code
hub / github.com/chipsenkbeil/distant

github.com/chipsenkbeil/distant @v0.20.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.20.0 ↗ · + Follow
2,703 symbols 7,419 edges 248 files 739 documented · 27% updated 2mo agonightly · 2026-04-18★ 63319 open issues

Browse by type

Functions 2,333 Types & classes 370
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Distant Documentation | Discussion

Crates.io Docs.rs CI RustC 1.70+

🚧 (Alpha stage software) This program is in rapid development and may break or change frequently! 🚧

Installation

Unix

# Need to include -L to follow redirects as this returns 301
curl -L https://sh.distant.dev | sh

# Can also use wget to the same result
wget https://sh.distant.dev | sh

See https://distant.dev/getting-started/installation/unix/ for more details.

Windows

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
irm sh.distant.dev | iex

See https://distant.dev/getting-started/installation/windows/ for more details.

Usage

# Start a manager in the background
distant manager listen &

# SSH into a server, start distant, and connect to the distant server
distant launch ssh://example.com

# Read the current working directory
distant fs read .

# Start a shell on the remote machine
distant shell

See https://distant.dev/getting-started/usage/ for more details.

License

This project is licensed under either of

Apache License, Version 2.0, (LICENSE-APACHE or apache-license) MIT license (LICENSE-MIT or mit-license) at your option.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 1,307
Function 1,026
Class 275
Enum 67
Interface 28

Languages

Rust100%

Modules by API surface

distant-local/src/api.rs100 symbols
distant-net/src/common/transport/framed.rs97 symbols
distant-net/src/common/destination/parser.rs73 symbols
src/options.rs71 symbols
distant-ssh2/tests/ssh2/client.rs66 symbols
distant-core/src/client/process.rs55 symbols
distant-local/src/api/state/search.rs54 symbols
distant-ssh2/tests/sshd/mod.rs48 symbols
distant-core/src/client/lsp/msg.rs45 symbols
distant-core/src/client/lsp.rs45 symbols
distant-net/src/common/connection.rs41 symbols
distant-protocol/src/common/search.rs40 symbols

For agents

$ claude mcp add distant \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page