- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
r/rust and r/cli ready-to-post drafts (no reddit automation — post manually via the submit URLs). Forum announcement already posted live 2026-08-16 (topic 4, general). |
||
| docs | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
fanfic-archivist-cli
Terminal client for the FicHub companion bot ("the Archivist") — a self-hosted fanfiction archive with 107-site scraper parity, pluggable recommendations, full-text body search, an LLM "Ask the Archive", a Fic Requests board, and a Roadmap consensus arena.
This crate is the CLI front-end (fic-archivist binary) over the
platform-neutral archivist-core
library. It renders PlatformMessage IR as colored TTY output (or JSON) and
ships a WebSocket module as a seam for a future FicHub web-chat route.
Install
cargo install fic-archivist --version 0.2.0
Or build from source:
git clone https://opencommit.eu/MagicZhang/fanfic-archivist-cli.git
cd fanfic-archivist-cli
cargo build --release # binary at target/release/fic-archivist
Configure
The CLI talks only to the FicHub REST API. Set FANFIC_ARCHIVIST_BASE_URL
to your instance (default https://fichub.polarisocial.xyz):
export FANFIC_ARCHIVIST_BASE_URL=https://fichub.polarisocial.xyz
fic-archivist --help
Config file: ~/.config/fichub/config.toml.
Commands
search— search the archivequote— fetch fic metadata by URLdownload— download a fic (EPUB/PDF/MOBI/...)body-search— full-text body searchbookmarks— your bookmarksrecs— personalized recommendationsask— LLM "Ask the Archive"link/updates/status— bot pairing + update feed- REPL mode — interactive shell with the same commands
Run fic-archivist --help for the full command list.
License
AGPL-3.0-or-later. See LICENSE.
Related
- archivist-core — the platform-neutral core crate (REST client, dispatch, intent, cache)
- fanfic-archivist — the multi-platform bot workspace (Discord, Matrix, Telegram, Slack, IRC, fediverse, CLI)
- fanfic-scrapers — the scraper crate with 107-site parity
- fichub — the FicHub archive server itself