Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fxguest

Capability / guest session speech CLI for fx projects.

fxguest demonstrates FsCap allow/deny and FuelCap exhaust under a guest session. Intended as a short teaching/demo tool — not a sandbox OS. Dual-path: emit-C and IR.

Requires fx 0.9.6+ (with --cli)
Platforms Windows + Linux x86_64
License GPL-3.0
Org LedoCorp

Install (release binaries)

  1. Install fx 0.9.6+.
  2. Download the asset for your OS from Releases.
  3. Put bin/windows/fxguest.exe or bin/linux/fxguest on your PATH.
# Windows (PowerShell)
Invoke-WebRequest -Uri https://github.com/ledocorp/fxguest/releases/download/v0.1.0/fxguest-0.1.0-windows-x86_64.zip -OutFile fxguest.zip
Expand-Archive fxguest.zip -DestinationPath .
.\bin\windows\fxguest.exe --help

# Linux
curl -LO https://github.com/ledocorp/fxguest/releases/download/v0.1.0/fxguest-0.1.0-linux-x86_64.tar.gz
tar xzf fxguest-0.1.0-linux-x86_64.tar.gz
./bin/linux/fxguest --help

Optional: fxguest-ir is the IR dual-path binary (same CLI).

Quick start (60 seconds)

fxguest --allow fixtures allow ok.txt
fxguest --allow fixtures deny outside.txt
fxguest --allow fixtures budget --fuel 2

CLI

Invocation Behavior
fxguest --allow <dir> allow <rel> Read under FsCap; print body
fxguest --allow <dir> deny <outside-rel> Expect FsCap deny (exit 2)
fxguest --allow <dir> budget [--fuel N] Burn FuelCap until exhaust (exit 3)

Exit codes: 0 allow ok · 1 usage / .. · 2 cap deny · 3 missing / fuel exhausted.

Rebuild from source

fx build fxguest_lib.fx -o out --emit-c --cli \
  --link <host>/cap/fx_cap_runtime.c \
  --link-include <host>/cap

Same with --backend ir for IR. No author-written host.c.

Non-goals (v1)

Soft-fx · plugin loader · WASM guest · NetCap HTTPS (see fxfetch) · concurrent nursery (see fxpipe) · macOS prebuilt claim

Docs

License

Copyright Shawn Londono · LedoCorp · GPL-3.0 — see LICENSE.

About

fxguest - capability / guest session speech CLI for fx (LedoCorp)

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages