FDU Hole (树洞) terminal client — TUI, CLI, and telnet server all in one.
- TUI — full interactive terminal UI with image rendering, search, settings
- CLI — all operations available as commands, with
--jsonfor agent/programmatic use - Serve — telnet server that exposes the TUI over the network
cargo build --release
# binary at target/release/danta-clidanta login -e <email> -p <password>danta # or
danta tuiKeybindings:
j/k— navigate up/downEnter— open holen— new postr— reply (in hole detail)/— searchTab— switch divisionm— messages,— settingsq— back / quit
danta holes # list holes
danta view 12345 # view hole and floors
danta post "hello" -d 1 -t "tag" # create post
danta reply 12345 "content" # reply to hole
danta search "keyword" # search
danta me # user infoAll commands support --json for machine-readable output:
danta --json holes -l 5
danta --json view 12345
danta --json meFull command list: danta --help
Expose the TUI over TCP so other machines can connect:
danta serve # localhost:2323
danta serve -p 8080 # custom port
danta serve -b 0.0.0.0 -p 2323 # listen on all interfacesConnect from another machine:
stty raw -echo; nc <host> 2323; stty sane
# or
socat TCP:<host>:2323 STDIO,raw,echo=0Each connection spawns an isolated TUI session via PTY.
Settings are stored at ~/.config/danta-cli/config.toml. Editable in-app via , key in TUI.
Options: border style, sort order, floors per page, image protocol (Kitty/iTerm2/Sixel/auto), thumbnail mode, and more.
MIT