https://github.com/ufuayk/c0admin
A terminal-based AI assistant for Linux sysadmins.
https://github.com/ufuayk/c0admin
admin bash bash-script c0admin devops docker gemini googlegemini linux linux-administration linux-app macos python shell sysadmin
Last synced: about 1 month ago
JSON representation
A terminal-based AI assistant for Linux sysadmins.
- Host: GitHub
- URL: https://github.com/ufuayk/c0admin
- Owner: ufuayk
- License: gpl-3.0
- Created: 2025-06-28T13:39:18.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-03-01T13:41:35.000Z (3 months ago)
- Last Synced: 2026-03-01T16:54:11.514Z (3 months ago)
- Topics: admin, bash, bash-script, c0admin, devops, docker, gemini, googlegemini, linux, linux-administration, linux-app, macos, python, shell, sysadmin
- Language: Python
- Homepage:
- Size: 524 KB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# c0admin // 
Suggests GNU/Linux terminal commands from natural language using AI.

> [!WARNING]
> For the automatic copy to clipboard feature to work, you must have the ‘xsel’ and ‘xclip’ packages installed on your system.
[How to get personal Google Gemini API key?](https://github.com/ufuayk/c0admin/blob/main/how-to-get-gemini-api-key.md)
## Installation
To install `c0admin` system-wide on GNU/Linux:
```bash
curl -s https://raw.githubusercontent.com/ufuayk/c0admin/main/install.sh -o install.sh && bash install.sh
```
This will:
- Download and install c0admin to ~/.c0admin/
- Set up a Python virtual environment
- Install dependencies
- Make c0admin available as a global terminal command
After installation, you can start the app anytime by simply typing:
```bash
c0admin
```
## Commands
- `/help` — Display help information.
- `/del` — Delete the GEMINI API KEY.
- `/exit` — Exit the app safely.
- `/history` — Displays the command history (history.txt).
- `/setinst ` — Set a custom system instruction from a given URL.
- `/resetinst` — Reset system instruction to the default one.
## Custom System Instructions
From the [system-instructions](https://github.com/ufuayk/c0admin-system-instructions) repo you can see all the community-created system instructions.
We welcome your contributions on this issue.
## Contributing
1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request