Skip to content

v1.0.0

Choose a tag to compare

@Traliran Traliran released this 23 Oct 15:10
· 11 commits to main since this release
8895106

🚀 CWTNote v1.0.0 — Initial Release

I am thrilled to announce the first official release of CWTNote, an ultra-lightweight, local-first note-taking application designed around plain Markdown files, seamless Git-backed versioning, and minimal distractions.

Built with Pure C11, GTK 4, and libadwaita, CWTNote combines modern GNOME aesthetics with strict KISS (Keep It Simple, Stupid) engineering principles.


✨ Key Features

🗂️ Obsidian-like Local Vaults

  • Local-First Storage: Your notes belong to you. Stored as plain .md files in a local directory (Vault) of your choice.
  • Wiki-links & Autocomplete: Effortlessly connect ideas using [[wiki-links]] with live autocomplete popovers.
  • Backlinks Panel: Discover relationships between notes with an automatic backlinks sidebar.
  • Full-Text & File Search: Instantly query notes by titles or file paths with real-time filtering.

✍️ Distraction-Free Editor

  • GtkSourceView 5 Engine: Fast syntax highlighting tailored for Markdown code and formatting.
  • Source & Preview Modes: Easily toggle between raw Markdown and clean rendered preview (supporting headers, bold/italic, code blocks, lists, quotes, and wiki-links).
  • Auto-Save: Saves changes automatically after 700ms of inactivity, or manually via Ctrl+S.

📜 Automated Local Git History

  • Zero-Setup Versioning: Automatically initializes a Git repository inside your Vault root.
  • Auto-Commits: Every save creates a Git commit automatically.
  • Smart Commit Messages: Commit titles are generated from the first 15 UTF-8 characters of newly added text + ....
  • History & Revert: Inspect file history directly in the UI and revert to previous states or undo the last commit with a single click.
  • Non-Intrusive: Works purely locally (git CLI wrapper) with no remote pushes, pulls, or mandatory cloud logins. GPG signing bypass is handled cleanly to avoid interactive prompt freezes.

⚡ Fast Capture Mode (cwtnote --fast)

  • Instant Notes: Summon a lightweight, focused popup window (460x280) from anywhere in your OS—even when the main application is closed.
  • Keyboard-First Workflow: Type your note, press Ctrl+Enter to save, commit, and exit. Press Escape to discard.
  • Inbox Workflow: Quick notes are appended straight into Inbox/YYYY-MM-DD-HHMMSS.md for later processing.
  • Perfect for binding to a system-wide global hotkey!

🛠️ Performance & Stability

  • Zero Warnings Build: Clean C11 compilation under strict GTK4 / libadwaita compiler flags.
  • Wayland Native: Fully tested under native Wayland environments without critical GTK UI issues or warnings.
  • Memory & Resource Leak Fixes: Cleaned up completions, popover parenting, and GtkTextView lifecycle logic for near-zero idle resource utilization.

📦 Installation & Build

Requirements

  • GTK 4 (>= 4.22)
  • libadwaita (>= 1.9)
  • GtkSourceView 5
  • System git binary

Building from Source

git clone https://github.com/Traliran/CWTNote.git
cd CWTNote
make
./cwtnote

System Installation

sudo make install

📄 License

CWTNote is open-source software licensed under the GNU General Public License v3.0 (GPLv3).