Repository navigation
Releases
CWTNote 1.3.0 — Editable Live Preview
CWTNote 1.3.0 — Editable Live Preview
The main editor now has an editable Live Preview: Markdown is formatted directly
in the editor while the underlying text stays plain Markdown.
Highlights
- Editable Live Preview — headings, lists, quotes, code, links and emphasis
are formatted in place; the buffer content is never rewritten. - Focused editing — syntax markers are hidden on all lines except the line
with the cursor or selection, so the current line stays easy to edit. - Live, Reading and Source views — Live Preview is enabled by default. The
eye button switches between Live and Reading views, and Menu → Source Mode
shows the raw Markdown. - Ctrl+Click links — open wikilinks and regular links directly from the
editor or preview. - Theme-aware formatting — Live Preview tags stay above syntax highlighting
and survive theme changes.
Upgrade note
If CWTNote is already running, close the old instance before launching 1.3.0.
The single-instance application model forwards new launches to the running
process.
v1.2.1
Release v1.2.0
- Rendering has been updated; it’s now possible to view tables.
Its all :)
Release v1.1.0
CWTNote 1.1.0
Released: 2026-10-26
Highlights
- Embed images directly in notes with
![[image.png]]. - Embed the contents of another note with
![[Note.md]]. - Embedded notes are rendered with a clear quote-like indent and left border.
- Backlinks now include notes that embed the current note.
Image embeds
Put an image embed on its own line:
![[image.png]]Images are resolved in this order:
- Relative to the folder of the current note.
- Relative to the vault root.
- By file name anywhere in the vault.
Large images are scaled down to fit the preview width while keeping their
aspect ratio. Smaller images keep their natural size. The supported formats are
determined by GTK; PNG, JPEG, GIF, WebP and SVG work when the corresponding
loaders are available.
A missing or unreadable image shows a dimmed placeholder instead of breaking the
preview.
Note embeds
Put a note embed on its own line:
![[Note.md]]The target note is resolved by its vault path or title. The .md extension is
optional, so ![[Note]] also works.
The embedded note is rendered with a quote-like indent, a left border, and the
same Markdown formatting as the main preview. Embeds can contain other embeds
and images. Recursive embeds are detected, and nesting is limited to five levels
to keep rendering predictable.
Backlinks
The Backlinks panel now includes notes that reference the current note either
with a regular wikilink or with a note embed:
[[Note]]
![[Note.md]]Image embeds are not treated as backlinks.
Compatibility
- Existing notes and wikilinks are unchanged.
- No new runtime dependencies were added.
- The version shown in About CWTNote is now
1.1.0.
Known limitations
- Embeds are block-level:
![[...]]must be on its own line. Inline embeds
inside a paragraph are not supported. - Image size syntax such as
![[image.png|300]]is not supported. Text after
|is treated as alternative text. - Heading references such as
![[Note.md#Heading]]render the whole note; the
heading fragment is ignored.
Build
makeRun the freshly built version from the repository:
./cwtnoteIf another CWTNote instance is already running, close it first. CWTNote uses a
single application instance, so a new launch is forwarded to the running
process.
v1.0.0
🚀 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
.mdfiles 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 (
gitCLI 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+Enterto save, commit, and exit. PressEscapeto discard. - Inbox Workflow: Quick notes are appended straight into
Inbox/YYYY-MM-DD-HHMMSS.mdfor 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
gitbinary
Building from Source
git clone https://github.com/Traliran/CWTNote.git
cd CWTNote
make
./cwtnoteSystem Installation
sudo make install📄 License
CWTNote is open-source software licensed under the GNU General Public License v3.0 (GPLv3).