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

https://github.com/ading2210/gptbox

Generating coreutils programs on the fly with an LLM
https://github.com/ading2210/gptbox

Last synced: 10 months ago
JSON representation

Generating coreutils programs on the fly with an LLM

Awesome Lists containing this project

README

          

# GPTBox

This is a Python script which generates coreutils programs on the fly. Think of it as `busybox` but generated with AI.

https://github.com/user-attachments/assets/65cc4167-240d-4ab5-94b5-f2ccd32e7a64

### Why?
AI is everywhere now. Why not replace your coreutils with it?

### How?
The program uses the ollama Python API to generate a Python script that implements a command. It then writes it to a file and executes it.

### Who came up with this?

You may thank [@velzie](https://github.com/velzie) for his stroke of genius.

![a screenshot of a discord conversation where this idea came from](https://raw.githubusercontent.com/ading2210/gptbox/refs/heads/main/media/screenshot.png)