Show HN: Llmswap – Universal AI SDK and Code Generation CLI https://ift.tt/yVOxJ1S

Show HN: Llmswap – Universal AI SDK and Code Generation CLI https://ift.tt/yVOxJ1S

Show HN: Llmswap – Universal AI SDK and Code Generation CLI I was constantly switching between my terminal and ChatGPT/Claude/Gemini for code help. Built llmswap 4.1.1 to fix this. Now I just type: llmswap generate "command I need" Real examples that save hours: Site emergency - needed to debug compressed logs: llmswap generate "grep through gzipped nginx logs for errors" Got: zgrep -i "error\|fail" /var/log/nginx/*.gz | head -50 That regex everyone googles: llmswap generate "extract all IP addresses from log file" Got: grep -oE '([0-9]{1,3}\.){3}[0-9]{1,3}' access.log | sort | uniq -c Complex configs? No problem: llmswap generate "docker compose for Prometheus Grafana monitoring" > stack.yml 80 lines of production-ready YAML. The killer feature - works INSIDE vim: :r !llmswap generate "MongoDB create user with read/write access" Got: db.createUser({user:"appuser",pwd:"password",roles:[{role:"readWrite",db:"myapp"}]}) Code appears at cursor. No browser. No copy-paste. Supports 8 providers (OpenAI, Claude, Gemini, Groq, IBM Watson, Ollama, etc). Use whatever API keys you already have. No additional subscriptions. GitHub: https://ift.tt/sWlNbRV PyPI: https://ift.tt/bS7m3B8 https://ift.tt/KIr2CDe September 11, 2025 at 12:34AM

0 Comments: