copit
v1.4.0
Published
TUI tool for managing local file templates - register and copy config files to new projects
Readme
copit
A TUI tool for managing local file templates. Register frequently used config files and copy them to new projects with a single command.
Features
- 📌 Template Registration - Save local files as reusable templates
- 📄 Relative Path Preservation - Maintains directory structure (e.g.,
.vscode/settings.json) - ⚠️ Overwrite Confirmation - Prompts before overwriting existing files
- 🚀 Terminal UI - Simple interface built with ink + React
Installation
# Install globally via npm
npm install -g copit
# Or run directly with bunx
bunx copitUsage
copitWorkflow
Register a template
- Press
Tabto switch to Register screen - Navigate to the file you want to register
- Press
Enterto select and register
- Press
Use a template
- Select a template from the list
- Press
Enterto copy it to the current directory - Confirm overwrite if the file already exists
Delete a template
- Highlight a template and press
d - Confirm deletion
- Highlight a template and press
Development
# Clone the repository
git clone https://github.com/mrsekut/copit.git
cd copit
# Install dependencies
bun install
# Run in development mode
bun run dev
# Build
bun run build
# Run checks
bun run checkLicense
MIT
