CCG — Cando Command Generator
Your intelligent CLI + Web assistant for commands, scripts, error fixing, and code compare — with zero API keys on the client.
CCG helps developers, sysadmins, and network engineers turn natural-language requests into safe, usable terminal output across multiple platforms (including network devices).
✅ The Big Differentiator: No API Key Required
Most AI CLI tools force users to bring their own API keys (billing, setup, key management… pain).
CCG does not.
The CLI/Web app sends requests to the Cando server (ccg.cando.ac) which securely proxies the request to an upstream AI provider (or a local model fallback).
That means users can just install and run — no key setup, no key leakage.
What You Can Do With CCG
1) Generate commands from plain English
Turn a request like:
“find all files larger than 1GB and sort by size”
into OS/shell-specific command suggestions.
2) Generate full scripts
For automation workflows: backup scripts, cleanup tasks, deployment helpers, etc.
3) Analyze commands
Paste a command and get a clear explanation and potential risks.
4) Fix errors
Drop an error message and get likely causes + step-by-step solutions.
5) Smart Code Compare (Web + CLI)
Compare two files/snippets and get:
- logical difference analysis
- code quality & security review
- suggested “smart merge” output
Platforms & Device Support
CCG supports:
- Windows (PowerShell / CMD)
- macOS (Bash / Zsh)
- Linux (Bash / Zsh)
- Cisco CLI
- MikroTik CLI
- FortiGate CLI
It also supports Knowledge Level (beginner, intermediate, expert) so responses match the user’s skill level.
Quick Install (Recommended)
macOS / Linux
sudo npm install -g @amirhosseinyavari/ccg
`
Windows (PowerShell as Admin)
powershell
npm install -g @amirhosseinyavari/ccg
No admin rights? Use npx
bash
npx @amirhosseinyavari/ccg generate "list all files"
After install, open a new terminal and verify:
bash
ccg --help
CLI Command Highlights
bash
ccg generate "..." # command suggestions
ccg script "..." # full scripts
ccg analyze "..." # explain a command/script
ccg error "..." # debug an error message
ccg compare A B # smart code compare for files
ccg history # view recent outputs
ccg config wizard # set defaults (OS, shell, language, level)
ccg update # update to latest version
Web App
Use CCG directly in your browser (no install):
https://ccg.cando.ac/
Hosting / Sponsor
CCG is hosted and supported by Cando Academy, and is part of the Cando toolkit.
License (Important)
CCG is source-available in this repository for transparency, but it is NOT open-source.
It is protected by a Proprietary License Agreement (personal/educational/internal non-commercial use is allowed; modification/redistribution/commercial use is restricted).
Tags
CCG #CandoCommandGenerator #CLI #DevOps #SysAdmin #NetworkAutomation #Cisco #MikroTik #FortiGate #AI #Productivity
Repo-backed notes (for accuracy)
- Install commands +
npxusage are documented in the README. - CCG CLI posts to the production endpoint
https://ccg.cando.ac/api/ccg. - FAQ states prompts are proxied via
ccg.cando.acand not stored. - Platform/device support + knowledge level are documented in the FAQ.
- License is proprietary and owned by Amirhossein Yavari & Cando Academy.
- README badges reference website, npm package, and GitHub releases.
Top comments (0)