1 pointby danebalia5 hours ago1 comment
  • danebalia5 hours ago
    I built Omniscient, a command history tracker for your shell. It captures every command you run, categorizes them intelligently, and makes them instantly searchable across machine migrations.

    *What it does:*

    - Captures every shell command with zero overhead (<10ms) - Auto-categorizes by command type (git, docker, npm, etc.) - Full-text search through your entire history - NEW in v1.2.0: Contextual queries - filter commands by directory (`omniscient here`) - Export/import for syncing across machines - Privacy-first: automatic redaction of passwords/tokens

    *Example:*

    ```bash # What git commands did I use in this project? omniscient here --recursive | grep git

    # How did I deploy the backend last time? omniscient search deploy --dir ~/services/backend

    # What's my most-used docker command? omniscient top 10 | grep docker ```

    *The AI elephant in the room:*

    Yes, this was built with AI assistance (Claude). I know that raises trust questions for a tool that captures your command history. Here's how I addressed that:

    1. *100% Open Source*: Every line is auditable (https://github.com/daneb/omniscient) 2. *91 Automated Tests*: Comprehensive test coverage 3. *Zero Network Calls*: Grep the source yourself - all data stays local 4. *Security Audits*: cargo-audit on every commit 5. *Architecture Decision Records*: All major decisions documented 6. *Human Review*: Every AI-generated line was reviewed and validated

    The AI helped with implementation, but humans made all architectural decisions, wrote tests, and validated everything. Full transparency: CONTRIBUTING.md documents the development process.

    *Tech stack:* Rust, SQLite FTS5, zero dependencies on external services

    *Privacy:* Everything stored in `~/.omniscient/`. No telemetry, no analytics, no network calls. You can audit the code yourself.