An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# c0admin // forged in RUBIYC

Suggests GNU/Linux terminal commands from natural language using AI.

![c0admin Banner](c0admin-banner.png)

> [!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