Toolipie — Code Snippet Toolbox

Toolipie — Code Snippet Toolbox

Local-first code snippet toolbox that keeps reusable scripts in one place and turns them into a Swiss‑Army knife via a modular, plugin-based Python CLI/TUI.

2025-11-12 更新

Toolipie — Code Snippet Toolbox

Toolipie is a personal developer toolbox I built to turn scattered scripts into a cohesive, modular system. It is a local‑first code snippet toolbox that keeps scripts and utilities in one collective place and turns them into a Swiss‑Army knife for everyday development and research workflows. It started as a small collection of utilities for my daily research and automation tasks—file renamers, data summarizers, text parsers—but has since evolved into a plugin-based Python framework designed for extensibility, reproducibility, and privacy.

The Idea

Modern workflows often depend on a patchwork of online tools or one-off scripts. Toolipie was my attempt to unify those workflows under a single, local-first system. It acts as a living library of code snippets—each one refined, categorized, and reusable across different projects. It lets me run the same code—from OCR post‑processing to dataset enrichment—through an organized command-line and TUI interface, all without relying on external APIs or cloud storage.

At its core, Toolipie follows three principles:

  1. Local-first — Everything runs locally for full control and privacy.
  2. Composable — Tasks are structured as plugins that can be mixed and chained.
  3. Transparent — Clear logs and modular code make it easy to debug and extend.

What It Can Do

Toolipie currently supports a wide range of developer and research utilities:

  • File and folder operations (batch renaming, metadata extraction, checksum verification)
  • Data utilities (CSV/JSON processing, summarization, fuzzy matching, merging)
  • Text and document processing (summarization, tokenization, OCR post-processing)
  • Automation helpers (bulk API requests, dataset enrichment, contact parsing)
  • AI‑assisted scripting (optional GPT integration for code generation and data insight)

Under the Hood

Toolipie is built in Python and organized around a simple plugin manifest system. Each plugin registers its commands and dependencies, allowing new modules to be dropped in without editing the core codebase. The CLI is built with Typer, the TUI with Textual, and the codebase is fully open‑source for customization.

Current Status

Toolipie is now available as an open‑source project with both CLI and TUI interfaces. The next milestone focuses on adding MCP (Model Context Protocol) integration—allowing seamless AI‑assisted workflows across editors and terminals.