Rename project from SmartTools to CmdForge
Major rename operation: - Rename Python package: smarttools -> cmdforge - Update CLI entry point: smarttools -> cmdforge - Update all imports and module references - Update pyproject.toml with new name, URLs, entry point - Update all HTML templates with new branding - Update documentation (CLAUDE.md, README.md, docs/*, wiki/*) - Update environment variables: - SMARTTOOLS_ENV -> CMDFORGE_ENV - SMARTTOOLS_REGISTRY_DB -> CMDFORGE_REGISTRY_DB - SMARTTOOLS_TOKEN -> CMDFORGE_TOKEN - SMARTTOOLS_REGISTRY_* -> CMDFORGE_REGISTRY_* - Update Dockerfile and docker-compose.yml - Update tests to use new package name - Update scripts and examples - Update package.json and tailwind.config.js All 158 unit tests pass. The CLI is working correctly with the new cmdforge command. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
+25
-25
@@ -1,12 +1,12 @@
|
||||
# SmartTools Wiki
|
||||
# CmdForge Wiki
|
||||
|
||||
Welcome to SmartTools - a lightweight personal tool builder for AI-powered CLI commands.
|
||||
Welcome to CmdForge - a lightweight personal tool builder for AI-powered CLI commands.
|
||||
|
||||
SmartTools lets you turn any AI model into a Unix-style pipe command. Build your own AI tools once, use them forever - no coding required.
|
||||
CmdForge lets you turn any AI model into a Unix-style pipe command. Build your own AI tools once, use them forever - no coding required.
|
||||
|
||||
## What is SmartTools?
|
||||
## What is CmdForge?
|
||||
|
||||
Think of SmartTools as a universal adapter between you and AI. Instead of opening a chat window and copy-pasting text, you create reusable command-line tools:
|
||||
Think of CmdForge as a universal adapter between you and AI. Instead of opening a chat window and copy-pasting text, you create reusable command-line tools:
|
||||
|
||||
```bash
|
||||
# Before: Copy text, open browser, paste into ChatGPT, wait, copy result
|
||||
@@ -24,7 +24,7 @@ cat report.txt | summarize | translate --lang Spanish
|
||||
|
||||
### Core Philosophy
|
||||
|
||||
SmartTools follows the **Unix philosophy**:
|
||||
CmdForge follows the **Unix philosophy**:
|
||||
|
||||
1. **Each tool does one thing well** - `summarize` summarizes, `translate` translates
|
||||
2. **Tools are composable** - Chain them with pipes: `cat file | tool1 | tool2`
|
||||
@@ -39,13 +39,13 @@ SmartTools follows the **Unix philosophy**:
|
||||
|
||||
```bash
|
||||
# Pull the pre-built container
|
||||
docker pull gitea.brrd.tech/rob/smarttools:latest
|
||||
docker pull gitea.brrd.tech/rob/cmdforge:latest
|
||||
|
||||
# Run it
|
||||
docker run -it --rm gitea.brrd.tech/rob/smarttools bash
|
||||
docker run -it --rm gitea.brrd.tech/rob/cmdforge bash
|
||||
|
||||
# Inside container - install OpenCode (includes FREE AI models)
|
||||
smarttools providers install # Select option 4, then 'y'
|
||||
cmdforge providers install # Select option 4, then 'y'
|
||||
source ~/.bashrc
|
||||
|
||||
# Try a tool! Uses free Big Pickle model
|
||||
@@ -55,18 +55,18 @@ cat README.md | eli5
|
||||
### Option 2: Native Install
|
||||
|
||||
```bash
|
||||
git clone https://gitea.brrd.tech/rob/SmartTools.git
|
||||
cd SmartTools
|
||||
git clone https://gitea.brrd.tech/rob/CmdForge.git
|
||||
cd CmdForge
|
||||
pip install -e .
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
smarttools providers install
|
||||
cmdforge providers install
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Understanding Providers
|
||||
|
||||
SmartTools doesn't include any AI - it connects to AI **providers**. A provider is any CLI tool that reads text from stdin and outputs a response.
|
||||
CmdForge doesn't include any AI - it connects to AI **providers**. A provider is any CLI tool that reads text from stdin and outputs a response.
|
||||
|
||||
### Available Providers
|
||||
|
||||
@@ -90,7 +90,7 @@ When you install OpenCode, these models are available immediately with no sign-u
|
||||
### Installing a Provider
|
||||
|
||||
```bash
|
||||
smarttools providers install
|
||||
cmdforge providers install
|
||||
```
|
||||
|
||||
This interactive guide shows all options and runs the installation for you. After installing, run the provider once to authenticate (opens browser).
|
||||
@@ -99,7 +99,7 @@ This interactive guide shows all options and runs the installation for you. Afte
|
||||
|
||||
## The 27 Built-in Tools
|
||||
|
||||
SmartTools comes with ready-to-use tools organized by category:
|
||||
CmdForge comes with ready-to-use tools organized by category:
|
||||
|
||||
### Text Processing
|
||||
|
||||
@@ -156,14 +156,14 @@ These tools combine AI prompts with code for validation:
|
||||
The easiest way to create tools:
|
||||
|
||||
```bash
|
||||
smarttools ui
|
||||
cmdforge ui
|
||||
```
|
||||
|
||||
Navigate with arrow keys, create tools visually, edit prompts, test with mock provider.
|
||||
|
||||
### Tool Anatomy (YAML)
|
||||
|
||||
Every tool is a YAML file in `~/.smarttools/<name>/config.yaml`:
|
||||
Every tool is a YAML file in `~/.cmdforge/<name>/config.yaml`:
|
||||
|
||||
```yaml
|
||||
name: my-tool
|
||||
@@ -248,7 +248,7 @@ cat important.txt | summarize --provider claude-opus
|
||||
Edit the tool's config or use the TUI:
|
||||
|
||||
```bash
|
||||
smarttools ui
|
||||
cmdforge ui
|
||||
# Select tool → Edit → Change provider in step
|
||||
```
|
||||
|
||||
@@ -261,7 +261,7 @@ smarttools ui
|
||||
The AI CLI isn't installed:
|
||||
|
||||
```bash
|
||||
smarttools providers install
|
||||
cmdforge providers install
|
||||
# Select the provider and follow instructions
|
||||
```
|
||||
|
||||
@@ -280,8 +280,8 @@ cat file.txt | tool --provider opencode-pickle
|
||||
|
||||
### Tool returns empty output
|
||||
|
||||
1. Check the provider is configured: `smarttools providers check`
|
||||
2. Test the provider directly: `smarttools providers test opencode-pickle`
|
||||
1. Check the provider is configured: `cmdforge providers check`
|
||||
2. Test the provider directly: `cmdforge providers test opencode-pickle`
|
||||
3. Try a different provider: `--provider opencode-pickle`
|
||||
|
||||
### Provider is slow
|
||||
@@ -344,10 +344,10 @@ git diff --stat | awk '$3 > 100 {print $1}' | xargs cat | review-code
|
||||
|
||||
## Links
|
||||
|
||||
- **Repository**: https://gitea.brrd.tech/rob/SmartTools
|
||||
- **Docker Image**: `gitea.brrd.tech/rob/smarttools:latest`
|
||||
- **Issues**: https://gitea.brrd.tech/rob/SmartTools/issues
|
||||
- **Repository**: https://gitea.brrd.tech/rob/CmdForge
|
||||
- **Docker Image**: `gitea.brrd.tech/rob/cmdforge:latest`
|
||||
- **Issues**: https://gitea.brrd.tech/rob/CmdForge/issues
|
||||
|
||||
---
|
||||
|
||||
*SmartTools is MIT licensed. Use it, modify it, share it.*
|
||||
*CmdForge is MIT licensed. Use it, modify it, share it.*
|
||||
|
||||
Reference in New Issue
Block a user