Skip to content

ashrafee-dev/termin-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 terminAI

A simple, terminal-based AI chat assistant powered by OpenAI’s gpt-3.5-turbo.


✨ Features

  • Live chat with AI from your terminal
  • Uses OpenAI’s latest SDK (v1.x)
  • Automatically loads your API key from .env
  • Customizable temperature, max tokens, and model
  • Runs fully inside Docker (no Python setup required)

🎞️ Requirements


🚀 Getting Started (Docker Only)

1. Clone the repo

git clone https://github.com/mahdiashrafee-oss/terminAI.git
cd terminAI

2. Create your .env file

# .env
OPENAI_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxx"

3. Build and run with Docker

docker build -t terminai .
docker run -it terminai

💠 Tech Stack

  • Python 🐍 (inside Docker)
  • OpenAI SDK (v1.x)
  • dotenv (python-dotenv)
  • Docker (runtime container)

🧠 Sample Interaction

You: write the word "SUN" in ASCII art
Bot: Here is the word "SUN" in ASCII art:

  SSS   U   U  N   N
 S   S  U   U  NN  N
 S      U   U  N N N
  SSS   U   U  N  NN
     S  U   U  N   N
 S   S  U   U  N   N
  SSS    UUU   N   N
You: exit

🤖 Author

About

Command‑line AI assistant: chat, code, and query right from your terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •