🌐 中文

fuckits v2.2.35

Describe what you need in natural language, fuckits generates and executes Shell commands for you.

Completely free · No API Key · Bilingual · Built-in safety engine

npm install -g fukkits   # then run: fuckits "your request"

Zero-dependency install: curl -sS https://fuckits.25500552.xyz | bash (same `fuckits` command)

fuckits — AI Natural Language to Shell Command

Core Features

Use Cases

DevOps

fuck check disk usage on server
fuck monitor memory usage
fuck find log files modified in the last 7 days

Development

fuck find all TODO comments in the codebase
fuck list all unused imports
fuck check git branch merge status

Learning

fuck compress all images in current directory
fuck batch rename files to lowercase
fuck create a Python virtual environment

Tool Comparison

ToolFreeChineseSafety EngineSelf-Deploy
fuckits✅ Free✅ Native✅ 35 rules✅ Cloudflare Workers
ai-shell❌ Needs Key❌❌❌
ShellGPT❌ Needs Key⚠️ Limited❌❌
Shell-AI❌ Needs Key❌❌❌
cmd-ai❌ Needs Key❌❌❌
nlsh❌ Needs Key❌❌❌

Quota & Pricing

Free Tier: 200 requests/day (shared demo mode)

🆓 Free Option (Recommended): Run fuck --oauth to authorize via Pollinations for free AI command generation

💰 Own Key: Configure a local API Key to use your own quota (defaults to OpenAI official; set FUCK_OPENAI_API_BASE to point to any compatible service)

# Option 1: Free Pollinations (recommended)
fuck --oauth

# Option 2: Configure local Key
fuck config
# Edit ~/.fuck/config.sh, add:
# export FUCK_OPENAI_API_KEY="sk-your-key-here"
# Optional: custom API base URL (default https://api.openai.com/v1)
# export FUCK_OPENAI_API_BASE="https://your-compatible-api.com/v1"

Self-Deploy (Cloudflare Workers)

git clone https://github.com/Silentely/fuckits.git
cd fuckits && npm install
npx wrangler secret put OPENAI_API_KEY
npm run deploy
⚠️ Security Warning: Interactive confirmation is enabled by default; high-risk commands require second confirmation. auto-exec mode skips confirmation — use with extreme caution. Safety modes: strict (default) / balanced / off.

Changelog