clawdex is a local-first, markdown-first personal contact index CLI written in Go. Contacts are stored as plain markdown files with YAML frontmatter in a private Git repository, making the data diffable, grepable, and portable. The tool provides commands to manage people, notes, avatars, search, and timelines, with import adapters for Apple Contacts (macOS only via a temporary Swift helper), Google Contacts (via the gog CLI), X/Twitter DMs (Birdclaw), Discord DMs (Discrawl), and generic crawlkit-compatible crawlers. It also supports vCard export, Git sync helpers, and a doctor command for repairing damaged frontmatter. The architecture is a single self-contained binary with Kong-based CLI parsing, internal packages for each major domain, and a strong emphasis on security and correctness — the safefile package performs rooted, symlink-aware file I/O with atomic writes, and the markdown package includes robust salvage and repair logic for damaged frontmatter. CI enforces 90%+ test coverage, security scanning (gitleaks, gosec), dead code detection, and reproducible builds via GoReleaser.
TidGi-Desktop is a cross-platform Electron application that integrates TiddlyWiki (a personal wiki) with AI agent capabilities, Git synchronization, and modern desktop features. It allows users to manage multiple workspaces (folder-based or single-file HTML wikis), sync with Git remotes, and interact with AI agents for chat, tool execution, and knowledge management. The architecture is Electron multi-process with main process, renderer processes (multiple windows), and a utility process for wiki worker. Services are wired via Inversify DI container and communicate via typed IPC (electron-ipc-cat). Key entry points include src/main.ts (Electron main), src/renderer.tsx (React renderer), src/services/agentInstance/ (AI agent lifecycle), src/services/wiki/ (wiki management), and src/services/git/ (Git operations). External dependencies include TiddlyWiki, Git (via dugite), SQLite (TypeORM), various AI SDKs (OpenAI, Anthropic, etc.), OAuth providers, and system-level integrations. The codebase is well-structured with a service-oriented architecture, extensive test coverage (unit, E2E, BDD), and a rich preference system driven by Zod schemas. It demonstrates high craftsmanship in areas like AI prompt concatenation, tool registration, and file system watching, though some modules are tightly coupled to the application's domain.