guilefoylegaurav / ghost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ghost in the shell

ghost is a utlity that allows you to communicate with your terminal in natural language! Tell ghost what you need to get done, it'll try to figure out the necessary commands on its own and get your job done!

Created by Gaurav and Sougata, this is our submission for Replit's GenAI Hackathon

Safety Concerns

Ghost has default safe mode (asks for approval before executing command). If you feel comfortable giving Ghost the freedom to execute commands on its own, do so at your own risk.

Prerequisites

  • System using Ubuntu/MacOS
  • Python3
  • Open AI API key

Installation

Run this

curl -L -O https://github.com/guilefoylegaurav/ghost/archive/refs/heads/main.zip && unzip main.zip && cd ghost-main && chmod +x script.sh && ./script.sh <OPEN_AI_API_KEY>

Then try invoking ghost in your terminal

$ ghost 
Hello! I am ghost, a command line utility that lets you communicate with your terminal and get tasks done USING NATURAL LANGUAGE!
What do you want me to do?
>

ghost has default safe mode (asks for approval before executing command)

Screenshots

Downloading sdkman, then gradle 5.8 and setting it to system default using Ghost Building dockerfile and spinning up a container from the image

About


Languages

Language:Python 82.7%Language:Shell 17.3%