README
¶
sysclet · ANSI Header Studio and TheDraw Font Catalog
Features · Quick Start · TUI · CLI · Font Catalog · sysc-greet Export · Development · License
Features
| Feature | What it does |
|---|---|
| ANSI header editor | Edit text in a full-screen terminal UI and see the TheDraw output update as you type. |
| 3,481 bundled font records | Search and preview the bundled catalog without a network connection. Load other .tdf files from disk. |
| Authored color and alignment | Keep each TDF cell's foreground and background by default. Choose left, center, or right alignment, or override either ANSI color. |
| sysc-greet export | Preview a profile slot, create a new profile, or update an existing one with a backup. |
| ANSI export | Save the colored terminal output as .ans and keep its escape sequences intact. |
| Command line | Render a header or print an escaped sysc-greet profile snippet without opening the TUI. |
The program embeds its font data. Clipboard copying uses the system clipboard utility when available; other features work without one.
Quick Start
Install for your user on Linux distributions with Go and POSIX sh:
curl -fsSL https://raw.githubusercontent.com/Nomadcxx/sysclet/main/install.sh | sh
Run the installer from an interactive terminal as your user, without sudo. It needs Go 1.20+ and network access, and installs sysclet to ~/.local/bin/sysclet without using a distro package manager. The TDF fonts are bundled in the binary. If ~/.local/bin is not on your PATH, run ~/.local/bin/sysclet.
You can install directly with Go instead:
mkdir -p "$HOME/.local/bin"
GOBIN="$HOME/.local/bin" go install github.com/Nomadcxx/sysclet@latest
Or install from the AUR:
yay -S sysclet-git
Run sysclet to open the editor.
TUI
The screen has a large ANSI preview, a control strip, and keyboard hints. The active control is named above the strip and highlighted. The initial font is Bleach. The full font name appears above the controls; select TDF FONT and use ↑ / ↓ to cycle fonts. Press Enter on TDF FONT to search the bundled catalog or browse a local .tdf file.
| Key | Action |
|---|---|
Tab / Shift+Tab |
Move through controls; in export, cycle formats while the format row is focused |
← / → |
Move between text, font, alignment, colors, and export controls |
↑ / ↓ |
Change the selected setting; cycle fonts at TDF FONT or formats on the export format row |
Enter |
Edit text or open the selected control |
Ctrl+O in the font list |
Browse for a local .tdf file |
e |
Open export options, starting with sysc-greet |
Ctrl+O / Ctrl+B in export |
Browse for a file matching the selected export format |
Ctrl+S in export |
Save the selected format; existing files get a backup |
Esc |
Close the active editor or picker |
q |
Quit |
The FG and BG controls cycle through the 16-color ANSI palette and TDF, which restores the font's stored color for each cell. Alignment changes only the position of the rendered header.
In sysc-greet export, F5 copies the plain profile snippet without the surrounding TUI. On Linux, install wl-clipboard for Wayland or xclip or xsel for X11. These are optional dependencies for sysclet-git.
To load local fonts, place them in ~/.local/share/sysclet/fonts (or $XDG_DATA_HOME/sysclet/fonts) and choose TDF FONT → Ctrl+O. A file with multiple records opens a searchable font-name list.
CLI
Render with a bundled font:
sysclet render --font-name Bleach SYSC
Render from a local file, including a named record in a multi-font file:
sysclet render --font ./fonts/my-fonts.tdf --font-name "Font Name" "SEE YOU"
Print a sysc-greet snippet for review:
sysclet export --font-name Bleach --slot ascii_1 COWBOY
Text accepts printable ASCII (! through ~) and spaces. Include at least one non-space character, and use a font with a glyph for every non-space character.
Run sysclet --help, sysclet render --help, or sysclet export --help for options.
sysc-greet Export
The TUI starts with sysc-greet and detects a matching profile from the active compositor or desktop session when possible. It selects the next ascii_N slot by default. Edit the slot field to replace a specific entry. The snippet preview shows the selected slot with ANSI colors. Ctrl+S updates an existing profile with a timestamped backup or creates a profile with ansi_style=true and the selected slot. Ctrl+O and Ctrl+B open the file picker from any export field; type a path directly when the file does not exist yet.
Press Tab or Shift+Tab on the format row to cycle formats. Press Enter to move to the destination, then use Tab to reach the optional sysc-greet slot. ANSI saves colored output as .ans; display it in a terminal with cat header.ans or less -R header.ans. TXT removes ANSI colors. GO, JS, PY, RS, and SH export runnable source and show a run command in the TUI. sysclet adds the format extension when needed and backs up an existing file before replacing it.
sysclet does not request elevated privileges. User-owned profile paths can be saved normally; root-owned system paths require running sysclet with sudo. Existing permission bits are preserved when updated, and a new file belongs to the user running sysclet with mode 0644 limited by the system umask. Run the TUI as root only when editing a system-owned profile:
sudo "$HOME/.local/bin/sysclet"
If you installed sysclet elsewhere, replace this path with the installed binary path.
Run this command to update a system profile as root:
sudo "$HOME/.local/bin/sysclet" export --font-name Bleach --slot ascii_1 \
--config /usr/share/sysc-greet/ascii_configs/sysc-compositor.conf COWBOY
sysc-greet maps the ANSI colors through the selected theme. The profile stores the art and colors. Select the Beams display effect in sysc-greet to animate it.
Font Catalog
sysclet bundles 3,481 named TDF records from 36 font packs distributed through TAAG's TheDraw font sets. The TUI and CLI work offline. Individual records can have different authors and terms; see THIRD-PARTY-NOTICES.md for source and license details. The GPL license for sysclet's code does not apply to those font files.
Development
To build and install from a source checkout, use Go 1.20 or newer:
git clone https://github.com/Nomadcxx/sysclet.git
cd sysclet
mkdir -p "$HOME/.local/bin"
go build -o "$HOME/.local/bin/sysclet" .
The first build downloads Go modules. The font catalog is embedded in the binary, so running sysclet does not require Go or network access.
Run the tests and vet before submitting changes:
go test ./...
go vet ./...
GitHub Actions runs both commands on Go 1.20 and the current stable release for pull requests and pushes to main.
See docs/design.md for package responsibilities, data flow, and file-update guarantees.
License
sysclet's code is licensed under GPL-3.0-only. Bundled font files are third-party assets with separate terms, documented in THIRD-PARTY-NOTICES.md.
Documentation
¶
There is no documentation for this package.