No description
- Rust 97.8%
- Shell 2.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| assets | ||
| scripts | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
Thallus 🌿
Thallus is a fast, native daily Markdown journal and note-taking application for Linux, built with Rust (eframe / egui) and backed by a local SQLite database with FTS5 full-text search.
Features
- Zero-Friction Daily Notes
- Opens directly to today's journal entry and auto-saves continuously as you type.
- Configurable Daily Note Template (defaults to
## Goalsand## Notes) for new entries. - Optional per-line edit timestamps displayed in the left editor margin.
- "Previous Day" Read-Only Lock
- Historical notes from previous dates open in a locked (read-only) state by default to protect past entries from accidental keystrokes.
- Unlock or re-lock any past entry at any time with the banner button or
Ctrl+L.
- Flexible Tagging (Inline & Multi-Word)
- Inline hashtags: Type
#tagdirectly in the note body (e.g.,Meer8 rma at bench-07 #37446) to automatically attach37446to the note's tags. Editing or removing an inline#tagin the note text automatically updates the note's tags. - Manual & multi-word tags: Add tags (including tags with spaces) from the
+ Add tagbar above the editor, with autocomplete suggestions from existing tags. - Custom tag styling: Right-click any tag chip to customize its fill color and text contrast mode (
Auto,Light, orDark), or click a tag to filter the sidebar.
- Inline hashtags: Type
- Bi-Directional Note Linking (
[[YYYY-MM-DD]])- Link between daily notes using
[[YYYY-MM-DD]]wiki-link syntax or pressCtrl+Kto open the note link picker. - Displays Outgoing Links at the bottom of the editor, clickable date links in Markdown Preview mode, and an automatic Linked Mentions (Backlinks) panel for notes referencing the current date.
- Link between daily notes using
- Global Task Management
- Create Markdown tasks with
- [ ](or pressCtrl+T). - View and toggle tasks across all dates from the ☑ Tasks sidebar tab with
All,Open, andDonefilters. - Carry Over Unfinished to Today: One-click migration moves incomplete tasks from past dates into today's note under
## Carried Overwhile marking the original entries as migrated (*(migrated to [[YYYY-MM-DD]])*).
- Create Markdown tasks with
- Previous-Day Summary via
llama.cpp- Click ✨ Summarize Prev Day in the editor toolbar (on today's note or any unlocked past day) to stream a summary of the most recent previous non-empty entry from a local or LAN
llama-server(llama.cpp) endpoint (POST /v1/chat/completionsusing SSE"stream": true). - Displays live thinking/output token progress in the toolbar with a ✖ button to cancel generation cleanly, appends a linked
## Summary of [[YYYY-MM-DD]]section to the initiating date (even if you switch dates while waiting), and shows a dismissible error banner if a request fails. - Saves token usage (prompt, completion, thinking/output breakdown, total), model name, and elapsed duration in the
summary_runsSQLite table and shows the latest run's<N> tok • <duration>next to the button with a full breakdown tooltip on hover. - Configure
llama_server_addr(e.g."127.0.0.1:8080") andllama_system_promptin~/.local/share/thallus/settings.tomlor from the ⚙ Settings window.
- Click ✨ Summarize Prev Day in the editor toolbar (on today's note or any unlocked past day) to stream a summary of the most recent previous non-empty entry from a local or LAN
- Full-Text Search & Calendar Navigation
- Instant SQLite FTS5 search (
Ctrl+F) with highlighted context snippets. - Interactive monthly Calendar tab highlighting today, the selected date, and all dates with entries.
- Instant SQLite FTS5 search (
- Theming & Appearance
- Light and Dark themes with customizable background, text, and accent colors.
- Adjustable window transparency/opacity and editor monospace font size.
- Markdown Preview & Import / Export
- Toggle CommonMark preview (
Ctrl+P) and open the built-in Markdown Cheatsheet (ℹ). - Bulk export all notes (with tags) to
.mdfiles or import.mdfiles namedYYYY-MM-DD.md.
- Toggle CommonMark preview (
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+F |
Focus sidebar full-text search |
Ctrl+D |
Jump to Today's note |
Ctrl+K |
Open [[YYYY-MM-DD]] note link picker at cursor |
Ctrl+T |
Insert - [ ] task item at cursor |
Ctrl+P |
Toggle Markdown Preview mode |
Ctrl+L |
Unlock / Re-lock a past note |
Alt+Left / Alt+Right |
Navigate to Previous / Next day |
Building & Running
Prerequisites
- Rust toolchain (Edition 2024)
- SQLite3 development libraries (
sqlite3/pkgconfig(sqlite3))
Build & Run
# Run in development mode
cargo run
# Build optimized release binary
cargo build --release
# Run unit tests
cargo test
Data Storage
Thallus stores all data locally in your user XDG data directory (~/.local/share/thallus/):
- Database:
~/.local/share/thallus/thallus.db(SQLite database in WAL mode storing notes, tags, FTS5 search index, andsummary_runsgeneration metrics) - Settings:
~/.local/share/thallus/settings.toml - Desktop Integration: Automatically installs user-local icon and
.desktopentry under~/.local/share/icons/hicolor/and~/.local/share/applications/thallus.desktopon first launch.
Versioning & Releases
Use scripts/bump-version.sh to increment the version in Cargo.toml and Cargo.lock, create a release commit, and tag it in Git (leaving git push manual):
# Increment patch version (e.g. 0.0.7 -> 0.0.8), commit, and create git tag v0.0.8
./scripts/bump-version.sh
# Increment minor or major version
./scripts/bump-version.sh minor
./scripts/bump-version.sh major
# Set an explicit version with a custom commit message
./scripts/bump-version.sh 0.0.8 -m "in-body tagging and readme"
# Preview changes without modifying files or git history
./scripts/bump-version.sh --dry-run
After running the script, push the commit and tag when ready:
git push && git push --tags