ctail β short for color tail β is a desktop log file viewer built with Wails v2 (Go backend + Svelte frontend). Think tail -f, but with regex-powered color highlighting, multiple tabs, and a full GUI. Inspired by BareTail. Supports Windows, Linux, and macOS.
π User Manual β Full documentation on features, settings, and usage.
| Dark Theme | Light Theme |
|---|---|
| Settings Panel | Rules Editor |
|---|---|
| AI Assistant | AI Rule Generation |
|---|---|
libgtk-3-dev, libwebkit2gtk-4.1-dev (Ubuntu 24.04+) or libwebkit2gtk-4.0-dev# Install Wails CLI
go install github.com/wailsapp/wails/v2/cmd/wails@latest
# Run in dev mode (hot reload)
make dev
# Build for production
make build
# Run tests
make test
Note: On Ubuntu 24.04+ / Zorin OS 18, the
webkit2_41build tag is required (handled automatically by the Makefile). Override withmake dev TAGS=on systems with webkit2gtk-4.0.
After building, install system-wide with desktop integration:
make build
sudo make install
This installs the binary to /usr/local/bin/, a .desktop file for application launchers, and icons at all standard sizes. Uninstall with sudo make uninstall.
Build .deb or .rpm packages with proper dependencies (libgtk-3-0, libwebkit2gtk-4.1-0):
# Requires nfpm: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest
make package-deb # β build/ctail_0.4.0_amd64.deb
make package-rpm # β build/ctail-0.4.0-1.x86_64.rpm
# Install
sudo dpkg -i build/ctail_0.4.0_amd64.deb # Debian/Ubuntu
sudo rpm -i build/ctail-0.4.0-1.x86_64.rpm # Fedora/RHEL
Go Backend Svelte Frontend
ββββββββββββββββ ββββββββββββββββββββ
β File Tailer β ββWails EventsβββΆ β Tab Bar β
β (polling, β β Log View (scroll)β
β offset idx) β β Highlighted Linesβ
ββββββββββββββββ€ ββββββββββββββββββββ€
β Config Mgr β βββWails BindβββΆ β Settings Panel β
β (JSON files) β β Rule Editor β
ββββββββββββββββ€ ββββββββββββββββββββ€
β Rule Engine β β Highlight Utils β
β (regex) β β (client-side) β
ββββββββββββββββ€ ββββββββββββββββββββ€
β AI Client β βββWails BindβββΆ β AI Dialog β
β (multi- β β (chat, rules gen)β
β provider) β β β
ββββββββββββββββ ββββββββββββββββββββ
| Menu | Items |
|---|---|
| File | Open (Ctrl+O), Open Recent βΈ, Close Tab (Ctrl+W), Quit (Ctrl+Q) |
| Edit | Copy (Ctrl+C), Select All (Ctrl+A), Find (Ctrl+F) |
| View | Settings (Ctrl+,), Toggle Theme |
| Tools | AI Assistant... (Ctrl+Shift+A) |
| Help | Check for Updates, About ctail |
ctail ships with 21 built-in color themes, each with dark and light modes:
| Theme | Description |
|---|---|
| Catppuccin | Soothing pastel theme (default) |
| Catppuccin FrappΓ© | Catppuccin mid-tone variant |
| Catppuccin Macchiato | Catppuccin warm variant |
| Nord | Arctic, north-bluish palette |
| Tokyo Night | Inspired by Tokyo city lights |
| Gruvbox | Retro groove colors |
| Dracula | Dark theme for vampires |
| One Dark | Atom editor's signature theme |
| Solarized | Precision colors by Ethan Schoonover |
| Everforest | Comfortable green forest palette |
| Ayu | Simple, bright colors |
| Kanagawa | Inspired by Katsushika Hokusai's art |
| Matrix | Hacker-style green on black |
| RosΓ© Pine | All natural pine, faux fur, and a bit of soho vibes |
| Monokai | Classic Sublime Text colors |
| Night Owl | Optimized for night owls |
| Synthwave '84 | Retro-futuristic neon |
| Cobalt2 | Bold blues by Wes Bos |
| GitHub | GitHub's own color palette |
| Palenight | Material palenight colors |
| Zenburn | Low-contrast, warm palette |
Switch themes in Settings β Theme and toggle between dark/light with View β Toggle Theme.
π¨ Credits: The built-in theme palettes are inspired by and adapted from OpenCode by Anomaly, which provides a wonderful collection of editor color themes. Thank you for making great design accessible to everyone!
Create your own themes by dropping a JSON file in the themes directory. See the Custom Themes Guide for full documentation, examples, and tips on adapting VS Code themes.
| Platform | Themes directory |
|---|---|
| Linux | ~/.config/ctail/themes/ |
| Windows | %APPDATA%\ctail\themes\ |
| macOS | ~/Library/Application Support/ctail/themes/ |
Config files are stored in platform-specific directories:
| Platform | Path |
|---|---|
| Linux | ~/.config/ctail/ (or $XDG_CONFIG_HOME/ctail/) |
| Windows | %APPDATA%\ctail\ |
| macOS | ~/Library/Application Support/ctail/ |
See the User Manual for details on all settings and configuration options.
| Shortcut | Action |
|---|---|
| Ctrl+O | Open file |
| Ctrl+W | Close tab |
| Ctrl+Tab | Next tab / toggle between last two tabs |
| Ctrl+Shift+Tab | Previous tab |
| Ctrl+Shift+A | AI Assistant |
| Ctrl+C | Copy |
| Ctrl+A | Select all |
| Ctrl+F | Search / filter |
| Ctrl+, | Settings |
| Escape | Close search |
On Wayland with multiple monitors of different resolutions, the maximize button may use the wrong monitor's dimensions. This is an upstream bug in GTK/WebKit2GTK affecting all Wails v2 apps.
Workaround: Use the --x11 flag to force the X11 backend:
ctail --x11
MIT