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.
This repository is an Eleventy (11ty) starter template for building a digital garden (mind garden) website. It generates a static site from Markdown notes with two key features: wiki-style double-bracket links ([[link]]) that auto-resolve to internal notes, and automatic backlinks display with hovercard previews. The architecture is a standard Eleventy static site configuration: source files (Markdown notes, layouts, includes, data) are processed by Eleventy with custom markdown-it plugins and the eleventy-plugin-backlinks plugin to produce a static HTML site. The external dependencies are limited to Eleventy, markdown-it (with footnote and attribute plugins), eleventy-plugin-backlinks, and a few dev dependencies for formatting. The code is well-structured, uses ES modules, and demonstrates a clean integration of custom markdown syntax for wiki links via markdown-it's linkify extension. However, as a starter template, most code is configuration and templating specific to Eleventy, with no truly isolated, reusable component that can be extracted without the Eleventy framework. The maintenance appears active with recent commits, issue templates, and dependency management via Renovate.