roho-cli
v1.0.1
Published
AI-Powered Investigation & Coding Assistant CLI - Connect to your ROHO server
Maintainers
Readme
ROHO CLI
AI-Powered Investigation & Coding Assistant
Connect to your ROHO AI server and get assistance with coding, file operations, web search, and OSINT investigations directly from your terminal.
Quick Install
npm install -g roho-cliRequirements
- Node.js 12+ (for npm installation)
- Python 3.6+ (runtime requirement)
- pip3 (for Python dependencies)
- Network access to your ROHO server
First Time Setup
After installation, run:
rohoYou'll be guided through a setup wizard to configure your ROHO server connection.
Usage
Interactive Mode
rohoStart a conversation with your AI assistant:
You: create a Python script to calculate fibonacci numbers
ROHO: [Tool: write_file]
I've created fibonacci.py with the following code:
...
You: run it
ROHO: [Tool: execute_bash]
0, 1, 1, 2, 3, 5, 8, 13, 21, 34...Single Query Mode
roho "search for latest Node.js security vulnerabilities"
roho "list all JavaScript files in this directory"
roho "create a REST API using Express"Commands
roho # Interactive mode
roho "query" # Single query
roho --config # Reconfigure server
roho --version # Show version
roho --help # Show helpFeatures
- ✅ AI-Powered Coding - Generate, edit, and review code
- ✅ File Operations - Read, write, edit, delete files
- ✅ Code Search - Find patterns in your codebase
- ✅ Web Search - DuckDuckGo integration
- ✅ Bash Execution - Run shell commands with AI guidance
- ✅ OSINT Tools - Investigation capabilities via server
- ✅ Cross-Platform - Works on Linux and macOS
Server Setup
ROHO CLI requires a ROHO server to connect to. The server provides the AI model and tools.
Quick Server Setup (on your VPS)
# Start ROHO server
/mnt/ROHO/roho-server.sh
# Ensure firewall allows connections
sudo ufw allow 8080/tcpYour server URL will be: http://your-vps-ip:8080
Configuration
Config file location: ~/.roho/config.json
To reconfigure:
roho --configExamples
Create a File
roho "create a package.json for a React app"Search Code
roho "find all TODO comments in this project"Web Research
roho "search for best practices for Node.js security"Execute Commands
roho "show me all running Docker containers"Troubleshooting
Python not found
Install Python 3:
# macOS
brew install python3
# Ubuntu/Debian
sudo apt install python3 python3-pip
# Fedora/RHEL
sudo dnf install python3 python3-pipThen reinstall:
npm install -g roho-cliCan't connect to server
Verify server is running:
curl http://your-vps-ip:8080/healthCheck firewall:
sudo ufw statusReconfigure:
roho --config
Uninstall
npm uninstall -g roho-cli
rm -rf ~/.rohoArchitecture
┌──────────────┐ ┌──────────────┐
│ Your Machine │ │ ROHO Server │
│ │ │ (VPS) │
│ Node.js │ HTTP │ │
│ ↓ ├────────►│ llama.cpp │
│ Python │ │ Hermes-4 │
│ ROHO Client │ │ 70B Model │
└──────────────┘ └──────────────┘What's Included
- Node.js wrapper for npm compatibility
- Python ROHO client (auto-installed)
- Auto-configuration wizard
- Dependency management
Links
- NPM Package: https://www.npmjs.com/package/roho-cli
- GitHub: https://github.com/YOUR-USERNAME/ROHO-CLI
- Issues: https://github.com/YOUR-USERNAME/ROHO-CLI/issues
- Documentation: Full README in GitHub repository
License
MIT License - see LICENSE file
Support
- GitHub Issues: Bug reports and feature requests
- NPM: Package downloads and updates
Powered by Hermes-4-70B | Built with ❤️ | Open Source
