$ show rememberber/MooTool
MooTool is a cross-platform developer toolbox with over 30 utilities including JSON formatting, HTTP client, regex testing, encryption/decryption, color picker, diff viewer, QR code, cron expressions, translation, image processing, PDF manipulation, code runtime, and more. The repository contains three concurrent implementations: a legacy Java Swing desktop application (with FlatLaf theming and MyBatis/SQLite persistence), an Electron+React+TypeScript rewrite (using CodeMirror, pdf-lib, and native IPC bridges), and a Tauri 2 (Rust+React) version with additional native features like screen capture, system tray, and updater integration. A macOS native SwiftUI app is also provided as a preview. The architecture is modular per tool, with shared contracts across platforms, session tracking, operation history, and vault-based note storage with Git versioning. Key entry points include the Java MainFrame, the Electron main process (electron/main/index.ts), and the Tauri Rust backend commands. Data flows are entirely local (SQLite, file vault, settings JSON) with no cloud dependency except automated translation APIs and optional update checks. External dependencies include Java runtime, Git, protoc, Tesseract OCR, system keyring, and translation web services (Google, Bing).
The LLM identified 5 files worth highlighting for reuse:
Central registry for all tool definitions with typed metadata (id, group, icon, status, component). Contains a comprehensive test file (toolCatalog.test.ts) that validates uniqueness of IDs and coverage against an expected tool list. This pattern is directly reusable to build a plugin-based UI catalog in any TypeScript project.
Tauri command for PDF export with session management, file size limits, and atomic writes. Demonstrates a well-structured Rust command that integrates with the Tauri state pattern, provides progress callbacks, and validates inputs before performing expensive operations. The session isolation and error handling patterns are reusable for any file-processing Tauri command.
Manages lazy loading of tool tabs in the Java Swing version. Uses a slot-based system with single-flight initialization, EDT guarding, and deferred service loading. This pattern is reusable in any Swing application that needs on-demand component loading without blocking the UI.
A React component that provides draggable column resizing with persistent width storage via a key. Supports keyboard interaction and minimum widths. Extracted and reusable in any React application needing adjustable split-pane layouts without external dependencies.
Comprehensive integration test suite for a vault-backed Git service, covering init, status, diff, commit, merge conflict handling, unicode paths, and stale lock recovery. Demonstrates a robust testing pattern for file-level Git operations that can be adapted to any git-based storage layer.