GitHub activity

Public repositories only. Summaries were generated locally by Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf from the fetched repository facts.

objective-9c

kiljoy001/objective-9c

C8 stars last push 2026-11-30

Recent commits

  • docs: link the live playground
README excerpt

# objective-9c objective-9c is a small 9front language that transpiles o9 source to Plan 9 C. **Try it live:** the [Objective-9c playground](https://halatha.rentonsoftworks.com) runs in your browser on [Halatha](https://github.com/kiljoy001/halatha), with nothing to install. o9 is built for Plan 9-style programs: objects are CSP actors, public methods can be served through a 9P facade, structured data moves as `.tab` text, programs can shape their own namespaces, and raw Plan 9 C interop is isolated inside spawnable `function` blocks. ## Status - Release: 0.4.0 ([CHANGELOG.md](CHANGELOG.md)). - Target: 9front. - Output: generated C; no binary blob. - Build: `mk` builds `o9c/o9c` and `libo9.a`. - Tests: native 9front e2e tests under `o9c/test/` and `stdlib/e2e_*.o9`. - Current focus: keeping the language small while growing useful stdlib objects and examples. ## Start Here If you want to write an application rather than work on the compiler, start with [docs/APP_DEVELOPER.md](docs/APP_DEVELOPER.md). It has copy-paste CLIs, 9P services, settings files, UI examples, and an index of the programs that already exist. The short version: application code does not need raw C or manual `spawn`/`await`. Start with `stdlib/cli.o9`, `stdlib/config.o9`, and `stdlib/service.o9`; text, logging, files, directories, processes, networking, synchronization, runes, and custom 9P helpers live beside them in [`stdlib/README.md`](stdlib/README.md). Small complete examples are [demo/hello_cli.o9](demo/hello_cli.o9) and [demo/hello_service.o9](demo/hello_service.o9). ## Native QuickJS [`libquickjs/`](libquickjs/README.md) is a native Plan 9 QuickJS embedding library for lib9p servers. It intentionally omits the APE `qjs` CLI and the `std`/`os` modules, exposes a small `p9js_new`/`p9js_eval` API, and supplies memory/stack/interrupt hooks. The native 6c build is verified on generated9 amd64 after the host-side `preprocess-native.py` bridge; `mk test` prints `1+1 = 2`. It is a library scaffold, not a browser runtime. ## Quick Build From the repository root on 9front: ```rc mk mk install o9c --version o9build source.o9 ``` `o9build` binds the installed stdlib into the source directory namespace, transpiles the `.o9` file, compiles the generated C, links `libo9.a`, and writes an executable next to the source. Use `o9c` directly only when debugging the compiler. The version printed by `o9c --version` (or `o9c -V`) is defined in `o9c/grammar.d/99-main.y` and updated when the compiler's public version changes. After installation, `o9c`, `o9build`, `o9plumb`, and `o9proj` are on the command path. Start a small project with: ```rc o9proj myapp cd myapp mk run ``` To make plumbing an `.o9` file start a build, run: ```rc o9plumb ``` That installs an `include` line in `$home/lib/plumbing` and reloads plumber when `/mnt/plumb/rules` is available. ## A Small Program ```o9 class Counter { int64 val; method Counter(int64 initial) { val = initial; } method void inc(int64 n) { val = val + n; } method int64 get() { return val; } } main { Counter c = new Counter(10); c.inc(5); print(c.get(), "\n"); } ``` ## Mounted Method Call An app that stays alive with `serve()` posts a 9P service under `/srv`. With no app name argument, the default is the last class name (`Counter` here). Use clone sessions for result-bearing calls: ```rc mount -c /srv/Counter /mnt/o9 sid=`{cat /mnt/o9/clone} echo 'method Counter.c get' > /mnt/o9/$sid/ctl cat /mnt/o9/$sid/data echo close > /mnt/o9/$sid/ctl ``` ## Docs - [Quickstart](docs/QUICKSTART.md) - build and run a first app on 9front. - [Language Guide](docs/LANGUAGE.md) - the canonical guide for writing o9. - [Examples](docs/EXAMPLES.md) - small complete programs. - [Standard Library](stdlib/README.md) - stdlib object reference. - [tabula](docs/TABULA.md) - `.tab` files as structured, inert data. - [Two-Machine Demo](demo/TWO_MACHINE_DEMO.md) -

objective-9c is a C-language repository (8 stars, last pushed 2026-11-30) that describes a small 9front language transpiling o9 source to Plan 9 C, currently at release 0.4.0 with output as generated C rather than a binary blob. The build system uses `mk` to produce `o9c/o9c` and `libo9.a`, and tests consist of native 9front e2e tests under `o9c/test/` and `stdlib/e2e_*.o9`. The most recent commit subject is "docs: link the live playground."

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

Fog

kiljoy001/Fog

A Plan 9-style application platform on .NET and Orleans, built on NinePSharp

C#0 stars last push 2026-11-30

Recent commits

  • Accept the one timeout ff0528c's gate run gave in fog-rc that only ends by timing out: Conclist's lp left at its old word when the null-coalescing mutant drops lp.Next, so a left list of two or...
README excerpt

# Fog: Plan 9 on a Resilient Cluster > **A distributed, fault-tolerant operating system runtime bringing the Plan 9 philosophy to multi-machine clusters.** > Built in C# on .NET 10 using **Microsoft Orleans** virtual actors, **9front gefs** copy-on-write $B^\varepsilon$-tree storage, **Tendermint** BFT consensus, and strict **9P2000** protocols. --- ## 🌫️ Overview **Fog** reimagines Plan 9 for modern, resilient infrastructure. Instead of treating each machine as an isolated node with its own process table and kernel, a Fog cluster acts as a **Single System Image (SSI)**: * **Inside a cluster: one system image.** Each machine runs a Fog silo. Microsoft Orleans membership joins the silos into an elastic cluster. The cluster executes a distributed Plan 9 kernel: a unified PID space, process state and descriptors hosted in virtual actor grains, workload placement decided dynamically at `rfork`, and automatic recovery from grain state when a node dies. To any process or shell, the entire cluster feels like a single Plan 9 machine. * **Between clusters: a classic Plan 9 grid.** The cluster exposes standard 9P2000 services to the outside world. Outside machines—whether other Fog clusters, native 9front workstations, or browser clients—attach over 9P, authenticate with `dp9ik` against the cluster's auth server, and mount namespaces under `/n/{cluster}`. --- ## 🏛️ High-Level Architecture ```mermaid graph TD subgraph Outside ["The Plan 9 Grid (Outer Level)"] Client["Plan 9 / 9front Workstation (drawterm / rcpu)"] Browser["Browser Client (Wanix / Halatha)"] end Client -->|9P2000 + dp9ik Auth| Gateway["Fog TLS 1.3 / 9P Listener"] Browser -->|9P2000 / WebSockets| Gateway subgraph Cluster ["Fog Cluster: Single System Image (Inner Level)"] Gateway --> Kernel["Distributed Fog Kernel"] subgraph Actors ["Microsoft Orleans Grain Mesh"] ProcGrains["Process Grains (PID, State, Exit)"] FdGrains["Descriptor Group Grains"] EnvGrains["Environment Group Grains"] PipeGrains["Pipe & Channel Grains"] NsGrains["Namespace & Mount Table Grains"] end Kernel --> Actors subgraph Userland ["Plan 9 Userland"] Rc["rc Shell (Bytecode Compiler & Interpreter)"] Cmds["Core Commands (bind, cat, echo, mkdir)"] LibThread["libthread (CSP Channels, Alt, Rendezvous)"] Auth["Factotum & KeyFs Server"] end Kernel --> Userland subgraph Storage ["Distributed Gefs Storage Layer"] Gefs["gefs Copy-on-Write B-epsilon Trees"] Blocks["16 KiB Blocks + SHA-256 Hashes"] Tendermint["Tendermint BFT Consensus"] end Actors -->|9P QID-Versioned State| Gefs Gefs --> Blocks Blocks --> Tendermint end ``` --- ## 🧩 Solution Map & Projects Fog is structured into clean, modular projects under `Fog.sln`: | Project | Description | Key Components | | :--- | :--- | :--- | | [`NinePSharp.Fog`](NinePSharp.Fog/) | Core transactional engine & control plane | `FogTransactionStore`, `FogAtomicPlan`, `FogCommitPlan`, `FogControlFile`, LibTab records | | [`NinePSharp.Fog.Kernel`](NinePSharp.Fog.Kernel/) | Distributed Plan 9 kernel emulation | `Process`, `FogKernel`, `RforkFlags`, syscalls (`rfork`, `exec`, `mount`, `bind`), devices (`#c`, `#\|`, `#d`, `#p`, `RamFs`) | | [`NinePSharp.Fog.Gefs`](NinePSharp.Fog.Gefs/) | C# port of 9front's `gefs(4)` filesystem | Copy-on-write $B^\varepsilon$-tree (`Tree`), `Allocator`, `Arena`, `Superblock`, `Deadlist`, `GefsFs`, 9P server | | [`NinePSharp.Fog.Namespaces`](NinePSharp.Fog.Namespaces/) | Distributed namespaces via Orleans | `FogRootGrain`, `FogSharedRoot`, `FogAuthorizationAuthority`, `FogNamespaceAttachResolver` | | [`NinePSharp.Fog.Rc`](NinePSharp.Fog.Rc/) | C# port of Plan 9's `rc` shell | `RcCompiler`, `RcParser`, `RcLexer`, `RcShell`, `RcProgram`, `RcThread`, AST,

Fog is described in its README as a distributed, fault-tolerant operating system runtime that brings the Plan 9 philosophy to multi-machine clusters. It is built in C# on .NET 10 with Microsoft Orleans virtual actors, 9front gefs copy-on-write B-epsilon-tree storage, Tendermint BFT consensus, and 9P2000 protocols to present a single system image across a cluster. The README reports a quality gate with over 1,600 verified tests, including BDD, Coyote concurrency exploration, and Stryker mutation testing.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

rcpud

kiljoy001/rcpud

Go11 stars last push 2026-11-30

Recent commits

  • forgot to take out the trash
README excerpt

# rcpud — Remote CPU Daemon Connect to Linux machines from 9front using standard `rcpu`. rcpud is a 9P-native remote shell and graphics daemon. It speaks drawterm's cpu protocol — dp9ik authentication via factotum, TLS-PSK encrypted transport, exportfs namespace export, and wsysmsg draw protocol for graphical sessions. No changes needed on the 9front side. Run `rcpu -h <host>` and it works. ## Quick start ### Prerequisites - plan9port (for factotum, rc, auth libraries) - OpenSSL development headers (for TLS-PSK) - Go 1.21+ ### Build ```sh # rcpud — the CPU daemon itself go build -tags rcpud -o bin/rcpud . # drawsrv — framebuffer forwarding for graphical sessions go build -tags drawsrv -o bin/drawsrv . ``` ### Run ```sh # Start factotum with a dp9ik key export NAMESPACE=/tmp/ns.myns factotum & echo 'key proto=dp9ik dom=example.com user=scott !password=secret' \ | 9p write factotum/ctl # Start rcpud rcpud -l :17019 # Start drawsrv for graphical desktop forwarding drawsrv -tcp :17029 ``` ### Connect from 9front ```sh # Shell session rcpu -h 192.168.2.2 -u scott # Graphical session (coming soon) rcpu -G -h 192.168.2.2 -u scott ``` ## Features | Feature | Status | |---------|--------| | dp9ik authentication via factotum | Done | | TLS-PSK encrypted channel | Done | | Interactive rc shell with pty job control | Done | | Delete key (note relay → SIGINT) | Done | | `/dev/cons` proxied from drawterm | Done | | ANSI escape stripping for clean output | Done | | `-mount` flag: serve local directories | Done | | Hostname display in shell prompt | Done | | systemd service file | TBD | ### drawsrv (graphical desktop forwarding) | Feature | Status | |---------|--------| | `/dev/fb0` capture via mmap | Done | | wsysmsg protocol (drawfcall.h) | Done | | uinput mouse injection | Done | | TCP socket (`-tcp :port`) | Done | | Keyboard injection | TBD | | Channel format conversion | TBD | | Framebuffer delta updates | TBD | ## Similar projects [perpen/lx](https://github.com/perpen/lx) pioneered the idea of using Linux as a Plan 9 cpu server. It exports the Plan 9 namespace under `/9`, forwards notes to Linux signals, and supports X11 via VNC. Written in C against plan9port, last updated 2019. rcpud takes the same idea in a different direction: Go, drawterm wire compatibility (no client-side tools needed), dp9ik auth, TLS-PSK, and native wsysmsg draw protocol instead of VNC. Different tradeoffs for different use cases. ## Architecture ``` 9front drawterm │ ├── rcpu ──→ rcpud:17019 ──→ dp9ik auth ──→ TLS-PSK ──→ shell + namespace │ └── rcpu -G ──→ rcpud:17019 ──→ auth ──→ drawsrv:17029 ──→ fb capture ──→ wsysmsg │ uinput mouse/kbd ←──┘ ``` ## Project structure ``` rcpud.go — CPU daemon: auth, TLS, pty shell, namespace serving authproxy.go — Fixed factotum proxy (io.ReadFull TCP bugfix) ssl_psk.go — OpenSSL TLS-PSK wrapper mount.go — Local directory serving through 9P namespace drawsrv.go — Framebuffer capture + wsysmsg protocol server drawproxy.go — drawsrv socket proxying into rcpud namespace (WIP) gortns.go — Agent manager (experimental) ``` ## License MIT

rcpud is a Go-language remote CPU daemon (11 stars, last pushed 2026-11-30) that connects Linux machines to 9front via the drawterm cpu protocol, using dp9ik authentication through factotum, TLS-PSK transport, and an exportfs namespace export. A companion binary, drawsrv, provides framebuffer capture and wsysmsg-based graphical session forwarding over TCP. The project is MIT-licensed and includes a companion `drawproxy.go` file marked WIP.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

harvey-danger

kiljoy001/harvey-danger

A distributed operating system

0 stars last push 2026-11-30

Recent commits

  • arm32: preempt on the clock interrupt
README excerpt

<img src="https://harvey-os.org/images/harvey-os-logo.svg" alt="Harvey" width="200px"/> # Harvey: A distributed operating system Welcome to Harvey, we are delighted that you are interested in the project. ## What is harvey? Harvey is a distributed operating system. It’s most directly descended from [Plan 9 from Bell Labs](https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs). This heritage spans from its distributed application architecture all the way down to much of its code. However, Harvey aims to be a more practical, general-purpose operating system, so it also uses ideas and code from other systems. Starting July 2020, we will be replacing Harvey's user mode programs with programs written in Go. Many of these will come from [u-root](https://u-root.org). ## Prism Microkernel & Objective-9C Userland (Experimental) The `micro-kvm` branch provides a stripped AMD64 microkernel running directly under a minimal KVM hypervisor (`../9vm/9vm.c`) with an Objective-9C (`o9c`) actor supervisor as PID 1 (`boot/init.o9`). ### Architecture & Design - **Host-Passthrough Namespace**: The diskless host-passthrough namespace mounts the host tree through `#~/host`, with VirtIO 9P (`#9/0`) as a fallback, and overlays synthetic `/dev`, `/proc`, `/srv`, and `/env` bindings. See [9vm host transports](../9vm/README.md). - **Concurrency Model**: Objective-9C actors use lightweight processes sharing memory via `rfork(RFMEM)` and CSP channels. - **Toolchain**: Built with modern LLVM (`clang`, `ld.lld`, `llvm-ar`) without legacy Plan 9 compilers. - **External Verification**: Automated test runner lives in `../9vm/test_boot.py`. The [architecture map](../9vm/ARCHITECTURE.md) shows the Linux microVM, guest IPC, Objective-9C, Lola prototype, and bare-metal portability target. For the interactive Objective-9C Lola VM preview and its current limits, see the [display guide](../9vm/DISPLAY.md). ### Getting started Start by reading the [Wiki](https://github.com/Harvey-OS/harvey/wiki). There's a [Getting Started](https://github.com/Harvey-OS/harvey/wiki/Getting-Started) guide there to learn how to get Harvey up and running and many other things. ### Contributing You enjoyed playing with Harvey and you want to help out? Great! Take a look at our [Contribution Guide](https://github.com/Harvey-OS/harvey/blob/main/CONTRIBUTING.md) it covers a wide variety of topics including the [Harvey coding style](https://github.com/Harvey-OS/harvey/blob/main/CONTRIBUTING.md#coding-conventions), [Code of Conduct](https://github.com/Harvey-OS/harvey/wiki/Code-of-Conduct), where to get help and so on. ### Docs * [Harvey's wiki](https://github.com/Harvey-OS/harvey/wiki) * [Apex's wiki](https://github.com/Harvey-OS/apex/wiki). ### Status * ![harvey](https://github.com/Harvey-OS/harvey/workflows/harvey/badge.svg) * [![Coverity Badge](https://scan.coverity.com/projects/5328/badge.svg)](https://scan.coverity.com/projects/5328) ### Elsewhere * [Mailing list](https://groups.google.com/forum/#!forum/harvey) * [Slack](https://harvey-slack.herokuapp.com/) * [Harvey's Blog](https://harvey-os.org/#news) * [Twitter](https://twitter.com/harvey_os) ## Donate to Harvey! Harvey is a proud member of [SFC](https://sfconservancy.org/projects/current/) and gladly accepts donations. [![Donate](https://img.shields.io/badge/Donate-PayPal-brightgreen.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7Q45ZGJBQZZVN) ## Licenses * [![License GPL](https://img.shields.io/badge/license-GPL-blue.svg)](https://github.com/Harvey-OS/harvey/blob/main/LICENSE)

The repository kiljoy001/harvey-danger is described as "A distributed operating system," has no language specified, 0 stars, and its last push was on 2026-11-30. The most recent commit subject is "arm32: preempt on the clock interrupt." The README describes Harvey as a distributed operating system descended from Plan 9 from Bell Labs, with a `micro-kvm` branch offering an AMD64 microkernel running under a minimal KVM hypervisor alongside an Objective-9C actor supervisor.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

NinePSharp

kiljoy001/NinePSharp

A modular .NET 9P toolkit and server.

C#0 stars last push 2026-11-30

Recent commits

  • Leave an in-flight request's cancellation source undisposed, so a flush or a session's close that cancels it just as it ends does nothing rather than fail
README excerpt

# NinePSharp NinePSharp is a modular .NET 9P toolkit and server. It lets you expose local or service-backed resources through a unified 9P filesystem interface. ## Why NinePSharp - Core 9P protocol primitives and message types in reusable packages. - Batteries-included server runtime with dependency injection and backend routing. - Plugin-style backends so deployments only load what they need. - Runnable example host for embedded or local server scenarios. ## Repository Layout - `NinePSharp/` - core protocol constants, message types, serialization helpers. - `NinePSharp.Parser/` - F# parser implementation. - `NinePSharp.Server.Abstractions/` - shared interfaces/contracts for backends. - `NinePSharp.Server/` - runtime library and transport host components. - `NinePSharp.Namespaces/` - Plan 9 mount tables, virtual process groups, fid sessions, and resource contracts. - `NinePSharp.Namespaces.Orleans/` - distributed namespace and data-plane adapters for Orleans grains. - `NinePSharp.Namespaces.Orleans.Server/` - 9P2000 and maintained 9P2000.L-subset dispatcher for Orleans resources. - `NinePSharp.Examples/` - runnable sample host with an in-memory handler. - `NinePSharp.Tests/` and `NinePSharp.Parser.Tests/` - test suites. Fog, the Plan 9-style application platform built on these libraries, lives in its own repository, `kiljoy001/Fog`, and takes NinePSharp from NuGet. ## Quick Start Prerequisites: - .NET SDK 10.x Build the library and run the example host: ```bash dotnet build NinePSharp.Server/NinePSharp.Server.csproj -c Release dotnet run --project NinePSharp.Examples/NinePSharp.Examples.csproj ``` `NinePSharp.Server` is the embeddable runtime library. `NinePSharp.Examples` is the current runnable sample host. ## Tests ```bash dotnet test NinePSharp.Tests/NinePSharp.Tests.csproj -c Release dotnet test NinePSharp.Parser.Tests/NinePSharp.Parser.Tests.fsproj -c Release ``` Integration script (requires a local `9p` CLI): ```bash bash test_integration.sh ``` ## Quality ```bash bash scripts/run-quality.sh bash scripts/run-quality.sh --full FUZZ_SECONDS=30 bash scripts/fuzz.sh parser FUZZ_SECONDS=30 bash scripts/fuzz.sh namespace-syscalls ``` The standard gate runs a Release build, StyleCop/.NET analyzers, all main BDD, xUnit, and FsCheck suites, merged Coverlet coverage, stale-coverage checks, coverage thresholds, CRAP scoring, and the custom Semgrep rules in `quality/semgrep.yml` when Semgrep is installed. `--full` also runs the scoped Stryker mutation gate (`MIN_MUTATION=100` by default) and bounded SharpFuzz/AFL++ parser, filesystem, namespace, namespace-syscall, authorization and Orleans gateway campaigns. Mutation scopes include the Orleans adapters, gateway, shared transport, and sequential control client. Coverage defaults can be tuned with `MIN_LINE` and `MIN_BRANCH`; CRAP failure is controlled by `CRAP_LIMIT`. ## Orleans gateway Run a read-only, loopback example with `dotnet run --project NinePSharp.Examples -- --orleans 5640`. Attach as `guest` and read `/hello`. See [hosting, provider registration, security, and lifetime semantics](docs/orleans-integration.md) for embedding the gateway in your own host. ## Plan 9 namespaces Current development focuses on Plan 9 namespace behavior: virtual processes and process groups, bind/mount/unmount, union mounts, channel and fid lifetime, and control files. See the [namespace semantics](docs/plan9-namespace-semantics.md) and [BDD specifications](docs/specifications/plan9-namespace/README.md). Current [namespace validation evidence](docs/namespace-verification.md) records the tested scope and its limitations. The local namespace feature set includes independent descriptor groups and explicit resource cleanup: final-owner exit, close-on-exec, empty-table rfork, admitted I/O references, and provider-close failure handling. These have [executable cleanup scenarios](NinePSharp.Namespaces.Tests/Features/DescriptorCleanup.feature). Durable Orleans ownership and

NinePSharp is a C# repository (0 stars, last pushed 2026-11-30) that provides a modular .NET 9P toolkit and server with reusable protocol primitives, an F# parser, a server runtime with dependency injection, and Plan 9 namespace and Orleans gateway components. The project requires .NET SDK 10.x and includes test suites for xUnit, BDD, FsCheck, and SharpFuzz/AFL++ fuzzing. The most recent commit addresses a cancellation-source disposal issue so that a flush or session close canceling an in-flight request at its end does not fail.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

vtfs

kiljoy001/vtfs

A persistent terminal for LLM agents on Plan 9/9front, exposed as 9P files

Python0 stars last push 2026-11-30

Recent commits

  • Supervise rc for in-place restart and gate attaches with a token
README excerpt

# vtfs A persistent terminal for agents, exposed as 9P files. `vtfs` is a user-level 9P file server for Plan 9 and 9front. It runs a long-lived `rc` shell and publishes the terminal as files: type into `input`, read the rendered screen from `screen`, interrupt with `ctl`, and poll `status` for a sequence number and idle time. There is no pty and no per-command `exec`: the session is the object, and it survives between requests. This is deliberately *not* a shell tool. It is a terminal that happens to be drivable by a program. ``` /mnt/vt/ clone read: allocate a session id 1/ input write: type a command line cons write: same as input; read: raw output ring screen read: 24x80 text, no escape sequences scroll read: scrollback ring, oldest first ctl write: start reset intr kill free echo resize R C clear quiet MS timeout MS status read: state pid rows cols cursor seq idle ``` ## Why Agents need state, not one-shot commands. A terminal gives them: - **Persistence.** `cd`, environment, functions and running processes stay alive between tool calls. - **Observation.** `screen` is an idempotent snapshot of what a human would see, not a byte stream full of cursor escapes. - **Interruption.** `echo intr > ctl` sends an interrupt to the session's process group. - **Retry safety.** Reading `screen` twice does not consume anything. - **Sharing.** Any number of 9P clients can mount the same session. A human can watch in `rio` while the model types. ## Quiescence lib9p serializes request handling per connection, so `screen` must not block waiting for the shell to settle. Instead `status` exposes: ``` state running pid 474 seq 4 idle 1981 ``` A client writes a command, then polls `status` until `seq` has stopped changing and `idle` exceeds a threshold (default 120 ms), then reads `screen`. That is the whole contract. `p9client.py` implements it. `terminal_exec` takes the cleaner path: it records the raw byte offset (`out` in `status`), appends a marker line carrying `$status`, and reads the raw stream from that offset. The result is command output, not a screen snapshot, and success is normalized to `"0"`. rc's empty success string is the reason for that normalization. ## Build On 9front amd64: ```rc 6c vtfs.c 6l -o vtfs vtfs.6 /amd64/lib/lib9p.a ``` or: ```rc mk ``` The result links only against `lib9p` and `libc`; the reader and session processes use `rfork`, not `libthread`. ## Run ```rc vtfs -s vt -m /mnt/vt & mount /srv/vt /mnt/vt cat /mnt/vt/clone echo 'echo hello' > /mnt/vt/1/input sleep 1 cat /mnt/vt/1/screen ``` Flags: ``` -D lib9p request tracing -M do not mount locally (post /srv only) -s name /srv name (default vt) -m mtpt mountpoint (default /mnt/vt) -a addr also listen for 9P, e.g. 'tcp!*!5640' -T tokenfile require this token as the 9P attach aname ``` ### Authenticated listener Generate a token once and keep it mode 600 on both sides: ```sh openssl rand -hex 24 > ~/.config/vtfs/token ``` On 9front: ```rc vtfs -M -s vt -a 'tcp!*!5640' -T $home/lib/vtfs.token & # a local client must pass the token as the 9P attach name: mount /srv/vt /mnt/vt `{cat $home/lib/vtfs.token} ``` The MCP client reads `~/.config/vtfs/token` (or `VTFS_TOKEN`, or `VTFS_TOKEN_FILE`) and sends it automatically. The token authenticates the attach; it does not encrypt the stream. ## MCP server `vtfs_mcp.py` exposes the terminal as MCP tools: | tool | purpose | |---|---| | `terminal_new` | allocate a session | | `terminal_list` | show sessions and state | | `terminal_exec` | run a command, return clean output and `$status` | | `terminal_run` | type a command, wait for quiet, return the screen | | `terminal_send` | send raw keystrokes without waiting | | `terminal_screen` | snapshot the visible screen | | `terminal_restart` |

vtfs is a user-level 9P file server for Plan 9 and 9front, implemented in C with Python MCP and client tooling, that runs a long-lived `rc` shell and exposes it as files (`input`, `screen`, `ctl`, `status`) under `/mnt/vt/` with no pty or per-command exec. The recent commit supervises `rc` for in-place restart and gates attaches with a token. The last push was on 2026-11-30T22:23:53Z, and the project currently has 0 stars.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

focaltech-ft8009-isa

kiljoy001/focaltech-ft8009-isa

Reconstructed instruction set and Ghidra SLEIGH processor module for the undocumented FocalTech FT8009 TDDI touch MCU

Python0 stars last push 2026-11-21

Recent commits

  • Add 32-bit FocalTech TDDI ISA variant (FT8756:BE:32:default)
README excerpt

# FocalTech FT8009 instruction set The FocalTech FT8009 is a touch and display driver controller (TDDI) used in phone panels; this work started from the one in the Motorola Moto G Power 2021 ("borneo", DJN/BOE panel). It runs an application the host uploads into program RAM on every boot. The MCU inside has no public documentation: it is neither ARM nor 8051. This repository reconstructs its instruction set from the firmware itself and turns it into a Ghidra processor module. Status: complete for disassembly and decompilation across slot A (`0` unknown `.w` instructions across all 27,283 disassembled instructions / 401 functions in Ghidra headless analysis). Control flow, the immediate prefix, all 16 general registers (`sp, r1..r15`), the calling convention, the ALU/bitfield/shift groups, direct and indexed load/store addressing, and the Harvard PRAM/DRAM memory map are documented with evidence in `docs/ISA.md`. ## Layout | Path | What | | --- | --- | | `docs/ISA.md` | The instruction set as far as it is known, with evidence | | `ghidra/FocalTech_FT8009/` | Ghidra processor module (`FT8009:BE:16:default` and 32-bit `FT8756:BE:32:default`) | | `ghidra/scripts/FtReport.java` | Headless script: instruction and function counts | | `tools/fwimage.py` | Parse an application image: slots, header, identity | | `tools/walk.py` | Recursive-descent walk using the decoded control flow | ## Firmware No firmware is included; it is FocalTech/Motorola property. The tools take the image path as an argument. On the borneo phone it is `focaltech-djnboe-ft8009-07-000-borneo.bin` (180224 bytes, SHA-256 `b9b71a4279a668a0f49117eb62eebc429635c51360a514e71157f2e7db7e371f`), from the stock vendor firmware. ```sh python3 tools/fwimage.py focaltech-djnboe-ft8009-07-000-borneo.bin ``` ## Ghidra Tested with Ghidra 12.1.4. Copy the module into a Ghidra installation and compile the SLEIGH specification: ```sh cp -r ghidra/FocalTech_FT8009 $GHIDRA/Ghidra/Processors/ $GHIDRA/support/sleigh $GHIDRA/Ghidra/Processors/FocalTech_FT8009/data/languages/ft8009.slaspec ``` The code space is 64 KiB, so import one slot at a time. Slot A is the first 64 KiB of the file: ```sh head -c 65536 focaltech-djnboe-ft8009-07-000-borneo.bin > slotA.bin $GHIDRA/support/analyzeHeadless /tmp/proj ft -import slotA.bin \ -loader BinaryLoader -loader-baseAddr 0 -processor FT8009:BE:16:default \ -scriptPath ghidra/scripts -postScript FtReport.java ``` ## Related - [Dracen-W/FocalTechTouch-FT8719](https://github.com/Dracen-W/FocalTechTouch-FT8719): host driver for the sibling FT8719; documents the SPI package protocol and the same firmware header. - The Linux driver `drivers/input/touchscreen/focaltech_0flash_mmi/` uploads the image (`fts_fw_download`) and reads touch reports.

This repository contains a reconstructed instruction set and Ghidra SLEIGH processor module for the undocumented FocalTech FT8009 TDDI touch MCU, written in Python, with a recent commit adding a 32-bit ISA variant (FT8756:BE:32:default). The project reports complete disassembly and decompilation coverage for slot A, with 0 unknown `.w` instructions across 27,283 disassembled instructions and 401 functions in Ghidra headless analysis. The module is tested with Ghidra 12.1.4, and no firmware is included in the repository.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

9mint

kiljoy001/9mint

9mint: classic Tendermint v0.34.24 with native Plan 9/9front support

Go0 stars last push 2026-11-21

Recent commits

  • docs: add repository URL
README excerpt

9mint is the maintained fork of classic Tendermint Core v0.34.24, adding native Plan 9/9front support and a committed vendor tree.

9mint is a maintained fork of classic Tendermint Core v0.34.24 written in Go, described as adding native Plan 9/9front support while leaving the engine, config format, ABCI protocol, and RPC unchanged. The repository uses the module path `github.com/kiljoy001/9mint`, commits a patched vendor tree, and has 0 stars with a last push on 2026-11-21.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

dp9ik.net

kiljoy001/dp9ik.net

A .NET port of go-dp9ik for 9front dp9ik authentication

C0 stars last push 2026-11-11

Recent commits

  • Release 0.4.2, answering a TLS-PSK client that signals no secure renegotiation, as drawterm's does
README excerpt

# dp9ik.net 9front's dp9ik authentication for .NET, in managed code. | Package | Contents | | --- | --- | | `Dp9ik` | `passtokey`, AuthPAK (SPAKE2-EE over Ed448-Goldilocks with Decaf and Elligator 2), form 1 (ChaCha20-Poly1305) and form 0 (DES) tickets and authenticators, ticket requests, and the dp9ik session secret | | `Dp9ik.P9Auth` | Both sides of the p9any/dp9ik exchange over a `Stream`: the server's, and the client's, which gets its tickets from the domain's auth server as drawterm does | | `Dp9ik.Tls` | TLS 1.2 PSK keyed by the session secret, as `tlssrv` and `tlsclient -a` use it | The cryptography uses [BouncyCastle](https://www.bouncycastle.org/). No native code, OpenSSL or helper processes are involved. ## Compatibility Message formats and key derivations follow 9front `libauthsrv` (`passtokey.c`, `authpak.c`, `form1.c`, `convT2M.c`, `convM2T.c`, `convM2TR.c`, `_asrdresp.c`, `_asgetticket.c`) and factotum's dp9ik session secret; the client follows drawterm's `p9any` in `cpu.c`, dp9ik only. The tests compare every primitive with a reference built from drawterm's `libauthsrv`. As in 9front: - user names hold at most 27 bytes and the auth domain 47, leaving room for the C terminator (`ANAMELEN`, `DOMLEN`); - received tickets and ticket requests have their names terminated; - a dp9ik server refuses form 0 tickets; - the TLS channel offers only `TLS_PSK_WITH_CHACHA20_POLY1305_SHA256`, `TLS_PSK_WITH_AES_128_CBC_SHA256` and `TLS_PSK_WITH_AES_128_CBC_SHA` with PSK identity `p9secret`. ## Use Authenticate a client on a server whose key is registered with the auth server for its domain, then open the encrypted channel: ```csharp using Dp9ik.P9Auth; using Dp9ik.Tls; var config = new AuthServerConfig(Domain: "example.org", User: "bootes", Password: serverPassword); P9AuthResult result = await P9AuthProtocol.AuthenticateAsync(stream, config, cancellationToken); Stream channel = await P9PskTls.AcceptAsync(stream, result.Secret, cancellationToken); // result.User is the authenticated client user. ``` Authenticate to such a server as a user, getting the tickets from the auth server, and open the channel from the client's side: ```csharp var config = new P9AuthClientConfig( User: "glenda", Password: (prompt, _) => ValueTask.FromResult<string?>(ReadPassword(prompt.Text)), DialAuthServer: async (domain, token) => await DialAsync("auth.example.org", 567, token)); P9AuthClientResult result = await P9AuthClient.AuthenticateAsync(stream, config, cancellationToken); Stream channel = await P9PskTls.ConnectAsync(stream, result.Secret, cancellationToken); ``` The password is asked for again, with `prompt.Mismatch` set, when the auth server's ticket does not open with it; returning null ends the client. When the auth server cannot be had, a user who is the server's own authid makes the tickets itself, as drawterm's `mkservertickets` does. ## License MIT. See [LICENSE](LICENSE).

dp9ik.net is a .NET port of go-dp9ik implementing 9front's dp9ik authentication in managed code, with packages covering the AuthPAK protocol, p9any/dp9ik exchange over a Stream, and TLS 1.2 PSK keyed by the session secret. The project uses BouncyCastle for all cryptography with no native code or helper processes involved, and its message formats and key derivations follow 9front's libauthsrv and factotum's dp9ik session secret. The repository is licensed under MIT, has 0 stars, and its most recent commit (2026-11-11) released version 0.4.2 to handle a TLS-PSK client that signals no secure renegotiation.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

libtab

kiljoy001/libtab

Tabular storage in Plan 9 ndb syntax, with hashed, signed and encrypted cells backed by Monocypher. C source of truth for the Go and Python bindings.

C0 stars last push 2026-10-20

Recent commits

  • Fix native type widths and POSIX writer gating
README excerpt

# libtab [![CI](https://github.com/kiljoy001/libtab/actions/workflows/ci.yml/badge.svg)](https://github.com/kiljoy001/libtab/actions/workflows/ci.yml) Tabular storage in Plan 9 `ndb` syntax, with hashed and signed cells backed by [Monocypher](https://monocypher.org/). Data on disk is plain attribute-value text. You can read a table with `cat`, search it with `grep`, and edit it in an editor; the library adds an in-memory row index, typed cells, robust plain-text quoting, and atomic commits on top of that format. ``` schema=users col=name col=uid col=shell name=alice uid=1000 shell=/bin/rc ``` ## The data model A table is a **set of distinct rows in first normal form, keyed by the hash of the whole row**. Row identity is the content, not any one column. Two consequences are worth stating plainly, because they surprise people who expect a key-value map: - Adding a row that already exists is idempotent. Adding one that shares a column value with an existing row but differs elsewhere creates a *second* row: `{name=alice}` and `{name=alice, uid=1000}` are different rows. - `tab_search` returns **every** matching row. A caller that wants one picks one; the library will not choose on its behalf. Removal works by collapsing a row onto the table's canonical nil row, so clearing a cell can legitimately fail when the result would collide with a row that already exists. The library refuses rather than silently merging two rows. ## Cell types | Type | Storage | |------|---------| | plain | ndb text; values with spaces are quoted, and values native ndb cannot carry safely use HTML-style entities; encrypted values travel here as cat-able hex AEAD blobs (TEXT invariant) | | `HASHED` | BLAKE2b or Argon2id digest; the preimage is not recoverable | | `SIGNED` | body plus a Monocypher EdDSA-BLAKE2b signature, verified at load | Hashing, signing and verification all go through the bundled Monocypher. Plain cells use API text semantics: `tab_set(..., nil)` stores semantic nil, while the literal string `nil` is ordinary text. Existing raw `nil` cells on disk still read as semantic nil; new literal `nil` values are written as `n&#105;l` so they round-trip without becoming missing. Literal double quotes are written as `&quot;`, newlines as `&#10;`, and ampersands as `&amp;`. The earlier `__libtab_text64_v1:` carrier remains supported for compatibility, but new files use entity escaping. ## Streaming writes For bulk creation, `TabWriter` avoids materializing the whole table before the first byte reaches disk: ```c w = tab_writer_create(path, "users", cols, ncols); tab_writer_add_row(w, "name", "alice"); tab_writer_set(w, "uid", "1000"); tab_writer_add_row(w, "name", "bob"); /* finalizes alice */ tab_writer_commit(w); tab_writer_close(w); ``` `tab_writer_add_row` finalizes the previous row, so only the current row can be edited. Finalized rows stream through Bio and are deduped by a 128-bit BLAKE2b hash of the canonical row bytes. On plan9port/POSIX builds, rows stream to a temp file that commit fsyncs and renames over the target. On native Plan 9, rows stream directly to the target path, matching the core commit path's truncate-and-write behaviour. ## Building Needs [plan9port](https://9fans.github.io/plan9port/) for `libndb` and the `9c`/`9l` wrappers. ```sh mk # build libtab.a mk test # example-based tests mk prop # property tests, using theft mk sanitize # both suites under AddressSanitizer and UndefinedBehaviorSanitizer mk check # all of the above ``` On native amd64 Plan 9, use the native toolchain explicitly: ```sh mk 'CC=6c' 'LD=6l' 'AR=ar' 'O=6' test ``` ## Testing Three layers, because each catches what the others miss. **Example tests** (`tests/test_libtab.c`) cover behaviour someone thought to write down: round-trips, per-cell updates, nil semantics, text quoting, streaming-writer parity, schema rejection, and that the hash buckets actually grow. **Property

libtab is a C library that provides tabular storage in Plan 9 `ndb` syntax with hashed, signed, and encrypted cells backed by Monocypher, serving as the source of truth for Go and Python bindings. The repository has 0 stars and its last push was on 2026-10-20, with the most recent commit fixing native type widths and POSIX writer gating.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

go-dp9ik

kiljoy001/go-dp9ik

Client library for 9front dp9ik authentication (AuthPAK/SPAKE2-EE on Ed448)

C0 stars last push 2026-08-10

Recent commits

  • Merge pull request #2 from kiljoy001/codex/auth-ticket-validation
README excerpt

# go-dp9ik Go library for 9front dp9ik authentication (AuthPAK/SPAKE2-EE on Ed448) using CGo with drawterm's battle-tested crypto implementation. The repository now has two reusable layers: - `dp9ik`: low-level protocol, crypto, and wire-format primitives - `p9auth`: reusable server-side `p9any` + `dp9ik` verifier for 9P services It is still **not** a standalone 9front auth server and does not replace the auth server itself. ## Installation ```bash go get github.com/kiljoy001/go-dp9ik ``` ## Building The library includes C source files from drawterm that need to be compiled first: ```bash # Build C libraries (pre-built .a files included for convenience) make # Or build Go package directly (uses pre-built libraries) go build ``` ## Usage This repository is for applications that need to speak `dp9ik` or verify `dp9ik` authentication for 9P services. Use cases include: - custom Plan 9 clients written in Go - tools that need to obtain authentication tickets from 9front - 9P services that need to require 9front auth before `attach` ```go import "github.com/kiljoy001/go-dp9ik" // Client-side authentication to a 9front auth server key, err := dp9ik.PassToKey(password) if err != nil { return err } // Generate AuthPAK hash for username key.AuthPAKHash(username) // Connect to auth server and perform AuthPAK exchange // See dp9ik_test.go TestAuthPAKFullFlow for complete example ``` For a reusable server-side verifier: ```go import ( "os" "github.com/kiljoy001/go-dp9ik/p9auth" ) auth := p9auth.AuthFunc(p9auth.Config{ Domain: os.Getenv("AUTH_DOMAIN"), User: os.Getenv("AUTH_USER"), Password: os.Getenv("AUTH_PASSWORD"), }) // Example: pass auth to a 9P server hook such as go9p/fs.WithAuth(auth) ``` ## Testing This library is developed using TDD against a live 9front auth server. ```bash export DP9IK_TEST_AUTH_SERVER=auth.example:567 export DP9IK_TEST_AUTH_DOMAIN=example.com export DP9IK_TEST_AUTH_USER=test-user export DP9IK_TEST_AUTH_PASSWORD=secret go test -v ./... ``` ### Test Coverage **Happy Path Tests:** - [x] Server connectivity - [x] Server responsiveness - [x] Ticketreq wire format - [x] C implementation compatibility - [x] Password derivation (passtokey) - [x] AuthPAK key exchange - [x] Full authentication flow ✓ - [x] Struct size validation **Unhappy Path Tests:** - [x] Invalid server address - [x] Wrong password handling - [x] Invalid Y length rejection - [x] Empty username handling - [x] Connection timeout - [x] Server disconnect during AuthPAK - [x] Compile-time size checks **Additional Tests:** - [x] Concurrent authentication (thread safety) - [x] Complete AuthPAK flow - [x] Ticket marshaling/unmarshaling - [x] Authenticator marshaling/unmarshaling - [x] Server-side `p9any` + `dp9ik` verifier handshake - [x] Wrong-password rejection for server-side verifier **Result:** root package and `p9auth` package tests pass, including live-auth-server coverage. ## Architecture ### CGo Wrappers - Uses drawterm's C implementation via CGo - Wraps `libauthsrv.a`, `libsec.a`, `libmp.a`, `libc.a` - All cryptography from proven Plan 9 code - Minimal kernel stubs for POSIX compatibility ### Implemented Features **Wire Protocol:** - Ticketreq (AuthPAK type 19 and AuthTreq type 1) - Ticket encryption/decryption (Form0 DES + Form1 ChaCha20-Poly1305) - Authenticator encryption/decryption **Cryptographic Operations:** - Password-based key derivation (passtokey) - AuthPAK (SPAKE2-EE on Ed448 Goldilocks curve) - Shared secret establishment via ECDH **Authentication Flow:** - Complete dp9ik/AuthPAK handshake - Ticket marshaling/unmarshaling (convT2M, convM2T) - Authenticator marshaling/unmarshaling (convA2M, convM2A) - Reusable server-side `p9any` negotiation + `dp9ik` verification for 9P auth files **Thread Safety:** - Go mutex protects all CGo calls to C libraries - Safe for concurrent use from multiple goroutines - Tested with 10 simultaneous authentication flows ## Protocol Details

The repository `kiljoy001/go-dp9ik` is a Go client library for 9front dp9ik authentication (AuthPAK/SPAKE2-EE on Ed448) that uses CGo to wrap drawterm's C cryptographic implementation, with two reusable layers: `dp9ik` for low-level protocol and crypto primitives, and `p9auth` for a server-side verifier. The repository has 0 stars, was last pushed on 2026-08-10, and its most recent commit merges pull request #2 for auth ticket validation. Its test suite covers happy-path, unhappy-path, and concurrent authentication scenarios against a live 9front auth server, and the README states it is not a standalone 9front auth server.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf

factotum-dp9ik

kiljoy001/factotum-dp9ik

Standalone factotum with dp9ik (9front) authentication support

C3 stars last push 2026-05-09

Recent commits

  • fix .gitignore pattern: prefix factotum/passwd/netkey with / to avoid matching source directories
README excerpt

# factotum-dp9ik Standalone distribution of Plan 9 Port's `factotum` authentication agent with dp9ik (modern 9front auth) support. This is a self-contained build of the factotum changes from [plan9port PR](https://github.com/9fans/plan9port/pull/786), extracted for use by people who need dp9ik authentication support without waiting for upstream merge. ## What is this? This package provides: - **factotum**: Authentication agent supporting p9sk1, dp9ik, and p9any negotiation - **passwd**: Password changing utility - **netkey**: Network key management utility All Plan 9 dependencies (lib9, libauth, libsec, etc.) are included and built statically. ## What is dp9ik? dp9ik is the modern authentication protocol used by 9front, implementing: - AuthPAK (Password Authenticated Key exchange) - Ed448-Goldilocks elliptic curve cryptography - SPAKE2-EE (Elliptic curve Edition) - Modern cryptographic primitives (ChaCha20-Poly1305, SHA-512, HKDF) This allows plan9port systems to authenticate against modern 9front auth servers. ## Installation ### Prerequisites - gcc - make - pthread library - Linux: util and resolv libraries (usually installed by default) ### Building ```bash make -j4 ``` This builds all libraries and commands. The resulting binaries are: - `./factotum` - `./passwd` - `./netkey` ### Installing Copy the binaries to your preferred location: ```bash # Example: install to ~/bin cp factotum passwd netkey ~/bin/ # Or system-wide (requires appropriate permissions) cp factotum passwd netkey /usr/local/bin/ ``` ## Usage ### Starting factotum ```bash # Start with default settings factotum # Start with specific auth server factotum -a tcp!auth.mydomain.com!567 # Debug mode (print authentication details) factotum -d # Mount at specific location factotum -m /mnt/factotum ``` ### Adding keys Keys can be added via the `ctl` file: ```bash # Add a p9sk1 key echo "key proto=p9sk1 dom=example.com user=glenda !password=secret" > /mnt/factotum/ctl # Add a dp9ik key echo "key proto=dp9ik dom=example.com user=glenda !password=secret" > /mnt/factotum/ctl # Add a key that works for both protocols echo "key proto=p9any dom=example.com user=glenda !password=secret" > /mnt/factotum/ctl ``` ### Querying keys ```bash # List all keys (secrets are shown as attribute?) cat /mnt/factotum/ctl # Get specific key factotum -g "proto=dp9ik dom=example.com user=glenda !password?" ``` ### Protocols supported - **p9any**: Meta-protocol that negotiates dp9ik or p9sk1 automatically - **dp9ik**: Modern 9front authentication protocol - **p9sk1**: Classic Plan 9 shared-key authentication - **apop**: APOP email authentication - **chap**: CHAP authentication - **cram**: CRAM authentication - **mschap**: MS-CHAP authentication - **pass**: Plain password authentication - **rsa**: RSA public-key authentication - **wpapsk**: WPA-PSK authentication ## Testing The build includes test utilities: ```bash # Build the dp9ik unit tests cd src/libauthsrv make dp9iktest ./dp9iktest # For live testing against a 9front auth server, see: # src/cmd/auth/factotum/dp9iklive.sh ``` ## Documentation See `man/man4/factotum.4` for the full manual page. Key concepts: - **Keys**: Stored credentials with attributes (proto, dom, user, password, etc.) - **RPC interface**: Programs authenticate by writing to `/mnt/factotum/rpc` - **Confirmation**: Some operations may require user confirmation via `/mnt/factotum/confirm` ## Architecture This standalone build includes: **Libraries:** - `lib9`: Plan 9 C library (fmt, utf, etc.) - `libmp`: Multi-precision arithmetic - `libsec`: Cryptographic primitives (AES, ChaCha20, SHA-2, etc.) - `libauthsrv`: Authentication server protocol handling - `libauth`: Authentication client interface - `libbio`: Buffered I/O - `lib9p`: 9P protocol implementation - `libthread`: Plan 9 threading library - `lib9pclient`: 9P client library - `libip`: IP address parsing and formatting - `libmux`: Multiplexing I/O - `libndb`: Network

This C-language repository (3 stars, last pushed 2026-05-09) is a standalone distribution of Plan 9 Port's `factotum` authentication agent that adds dp9ik (modern 9front auth) support extracted from an upstream plan9port PR. It builds three binaries—`factotum`, `passwd`, and `netkey`—along with statically linked Plan 9 dependencies, and supports protocols including p9sk1, dp9ik, p9any, apop, chap, cram, mschap, pass, rsa, and wpapsk. The most recent commit fixes a `.gitignore` pattern to avoid matching source directories.

summary generated by a local model from public repository data model: Ternary-Bonsai-2-27B-PTQ1_0-mtp.gguf