Skip to content

Sukhtumur/geminicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

geminicode

Minimal AI coding assistant for the terminal. Single-file Python script with no dependencies.

Screenshot

Features

  • File reading, writing, and editing
  • Pattern matching with glob and grep
  • Shell command execution
  • Markdown-formatted responses
  • Conversation history with clear command

Providers

  • OpenRouter (google/gemini-3-pro-preview)
  • Google AI Studio (gemini-3-pro-preview)

Setup

Set your API key as an environment variable:

export OPENROUTER_API_KEY="your-key"
# or
export GOOGLE_API_KEY="your-key"

Usage

python geminicode.py

Commands

  • /c - Clear conversation
  • /q - Quit
  • /h - Help

Tools

Tool Description
read Read file contents with line numbers
write Write content to file
edit Replace text in file
glob Find files by pattern
grep Search files with regex
bash Run shell commands

License

MIT

About

Minimal AI coding assistant for the terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages