Control your repository from anywhere using terminal-style commands inside GitHub PRs. Terminal is the automation entrypoint for the CyberAi ecosystem, providing operator-grade infrastructure for repository management.
Terminal integrates with GitHub as an app that listens for /terminal commands in pull request comments. Simply comment with a command, and Terminal will execute the action and report back.
# Get help
/terminal help
# Check repository status
/terminal status
# Run security scan
/terminal scan/terminal help- Display help and available commands/terminal status- Show system/repository status/terminal scan- Scan for issues or vulnerabilities/terminal merge- Merge pull request (requires permissions)/terminal tag <name>- Create a new tag
/terminal audit- Run security and code audit/terminal fix- Apply automated fixes/terminal deploy- Deploy or publish
/terminal CyberAi- CyberAi integration command/terminal SmartContractAudit- Smart contract security auditing/terminal SmartBrain- AI/ML integration and assistance/terminal GitAntivirus- Git repository security scanning/terminal NodeAudit- Node.js dependency audit/terminal ConflictsResolver- Automated git conflict resolution
terminal/
βββ cli/ # CLI entry points and argument parsing
βββ commands/ # PowerShell command implementations
βββ src/ # TypeScript source code
β βββ commands/ # TypeScript command handlers
β βββ server.ts # Webhook server
βββ scripts/ # Utility and automation scripts
βββ tools/ # Development and operational tools
βββ tests/ # Test files and utilities
βββ docs/ # Documentation
βββ prompts/ # AI prompt templates
βββ workflows/ # Workflow definitions
- Node.js v18 or higher
- PowerShell 7+ (for PowerShell scripts)
- GitHub App credentials
-
Clone the repository
git clone https://github.com/SolanaRemix/terminal.git cd terminal -
Install dependencies
npm install
-
Build the project
npm run build
-
Configure environment variables
export GITHUB_TOKEN="your_github_token" export WEBHOOK_SECRET="your_webhook_secret" export PORT="3000"
-
Run the server
npm run dev
Terminal is built with security as a priority:
- CodeQL security scanning for PowerShell and TypeScript
- Automated dependency vulnerability reviews
- Security policy and vulnerability reporting process
See SECURITY.md for our security policy and how to report vulnerabilities.
npm run buildnpm run dev- TypeScript: 36.5% - Server and command handlers
- PowerShell: 63.5% - Automation scripts and commands
We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to contribute to this project.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- API Documentation
- Command Reference
- Architecture Guide
- Security Policy
- Contributing Guidelines
- Code of Conduct
Terminal is part of the CyberAi ecosystem:
- CyberAi - Enterprise automation platform
- SmartBrain - AI/ML engine for intelligent automation
- Terminal - Command-line automation interface
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please:
- Check the documentation
- Search existing issues
- Open a new issue if needed
Built with β€οΈ by the CyberAi team