Cogitus — a fast, searchable terminal workspace for capturing and evolving programming ideas.
Project description
Cogitus
[!NOTE]
Cogitus is currently in MVP/alpha stage. Core workflows are available, and interfaces may continue to evolve in subsequent releases.
Cogitus — a fast, searchable terminal workspace for capturing and evolving programming ideas.
Cogitus is a Python-based TUI (Terminal User Interface) built with Textual. It is designed specifically for developers who want a structured, keyboard-driven way to capture, explore, and refine programming ideas without leaving the terminal. This is not a generic note-taking app and not a task manager. Cogitus is focused on structured idea capture, iteration, and discovery.
Goals
- Fast, local-first idea capture
- Fully keyboard-driven workflow
- Searchable and structured storage
- Minimal, distraction-free UI
- Designed specifically for programming and technical concepts
Core Concepts
Cogitus treats ideas as structured entities rather than loose notes. Each idea can include:
- Title
- Body/description (Markdown-friendly text - edit in markdown, display rendered
using
Textual/Richnative functionality) - Tags
- Timestamps (created/updated)
Future versions may introduce:
- Idea linking (relationships between ideas)
- Graph views
- Scoring or priority signals
- SQLite FTS5-powered full-text search
- AI-assisted idea expansion
Architecture
- UI: Built with Textual
- Database: SQLite (local file, WAL mode)
- Data Access:
sqliter-py - Package Management:
uv(not pip)
The project intentionally separates:
- Textual UI layer (screens and widgets)
- Repository/service layer for database access
- Schema and migration management
Cogitus is also a real-world validation project for sqliter-py.
Current Release (v0.2)
- Create new ideas
- Edit existing ideas
- List ideas
- Tag ideas
- Basic search (SQLite
LIKE) - View idea details
- Copy & Paste support
Search will initially be simple but structured to evolve into FTS5.
Roadmap
v0.3
- SQLite FTS5 search backend
- Better ranking/snippet presentation
- Tag filtering and combined query UX
- Navigation and keybinding polish
- In-place right-pane Markdown edit mode (view/edit toggle in content pane)
- Contextual dynamic toolbar/actions by mode
- Evaluate SQLite write tuning (
PRAGMA synchronous=NORMAL) as an optional performance optimization, backed by benchmark and risk assessment.
v0.4
- Idea linking (explicit relationships)
- Relationship browsing primitives
- Richer metadata and prioritization signals
v0.5
- Add non-TUI CLI tasks for idea management:
- list ideas,
- dump/export ideas,
- delete ideas.
- Ensure CLI task layer reuses the same repository/service abstractions as the TUI.
v0.6+
- Graph-oriented idea exploration views
- Scoring heuristics (impact/effort/confidence)
- Optional AI-assisted idea expansion and prompt-to-structure workflows
Target Users
- Solo developers
- Indie hackers
- Open-source maintainers
- Engineers who think in terminals
If you sketch ideas in README files, TODO lists, or scattered Markdown files across projects, Cogitus aims to centralize that thinking into a structured, searchable workspace.
Installation
The recommended way to install this is as a global tool, either using uv
(best) or pipx:
uv tool install cogitus
You can always install globally using pip if you don't want to use any of
those 2 tools:
pip install cogitus
Usage
cogitus
Clipboard Support
Cogitus uses two clipboard strategies for maximum compatibility:
- OSC 52 (primary) — works in most modern terminals (Ghostty, iTerm2, Kitty, Alacritty, WezTerm, Windows Terminal) and through tmux/SSH
- pyperclip (fallback) — uses system tools like
xclip,xsel, orpbcopyfor terminals that don't support OSC 52 (e.g. Gnome Terminal, macOS Terminal)
tmux users: You need set-clipboard enabled in your ~/.tmux.conf for
OSC 52 to pass through:
set -g set-clipboard on
Linux users without OSC 52 support: Install xclip or xsel for the
pyperclip fallback to work:
sudo apt-get install xclip # Debian/Ubuntu
sudo pacman -S xclip # Arch
sudo dnf install xclip # Fedora
Development
This project uses:
uvfor dependency and environment management- SQLite for local storage
- Textual for UI
- Standard formatting and linting tools defined in the repository
License
Cogitus is licensed under the MIT License. See LICENSE.txt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cogitus-0.2.0.tar.gz.
File metadata
- Download URL: cogitus-0.2.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e26c001b34c013cb1f2e535df325a769894f68e033acc99a3584f3659982959
|
|
| MD5 |
154960c2c6962255b492e7dcb25ed493
|
|
| BLAKE2b-256 |
e91da39610faaec256ecac72b15fb414a8f1c2e7f9b7d3fdb49656a265cac2e0
|
File details
Details for the file cogitus-0.2.0-py3-none-any.whl.
File metadata
- Download URL: cogitus-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecd68e6acb87405ae60b02e919946c30f87c00ac1417d4457f918b6adf1e2502
|
|
| MD5 |
49144b486d6dcbe38b00c54b2cd3c42e
|
|
| BLAKE2b-256 |
bfa7e6cc074b5173d152c519f1b375e976d28fd673947cc611972206b5b5963d
|