AI-scripts  by VictorTaelin

CLI tool for terminal-based AI interactions

created 1 year ago
633 stars

Top 53.3% on sourcepulse

GitHubView on GitHub
Project Summary

This repository offers a collection of AI-powered command-line utilities designed for developers and power users. It aims to streamline AI-assisted tasks directly within the terminal, such as code refactoring, natural language interaction, and code completion.

How It Works

The scripts leverage large language models (LLMs) via API integrations with providers like Anthropic and OpenAI. Users interact with the tools through simple terminal commands, with the underlying logic handling API calls, prompt engineering, and output formatting. The project is currently consolidating functionality into a primary tool, chatsh, which aims to provide a unified interface for various AI-driven coding and chat operations.

Quick Start & Requirements

  • Install: npm install -g
  • Prerequisites: Node.js, API keys for Anthropic/OpenAI (configured in ~/.config).
  • Logging: Scripts log to ~/.ai by default; this behavior can be modified.

Highlighted Details

  • chatsh: Unified interface for terminal-based AI chat and coding assistance.
  • holefill: Vim integration for filling code snippets.
  • Focus on terminal-native AI workflows.

Maintenance & Community

The project is actively being unified into the chatsh script. Older, separate scripts are available on the old-main branch. The repository is described as "gambiarra" (Portuguese for a quick, often messy, but functional solution), indicating a pragmatic development approach.

Licensing & Compatibility

Licensed under MIT. This license is permissive and generally compatible with commercial use and closed-source projects.

Limitations & Caveats

The project is described as "messy" and undergoing significant consolidation. Configuration for API keys is currently handled via file editing, with a TODO for a proper option. Logging behavior is not yet configurable via a command-line flag.

Health Check
Last commit

3 weeks ago

Responsiveness

1+ week

Pull Requests (30d)
0
Issues (30d)
0
Star History
13 stars in the last 90 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy), and
12 more.

opencode by sst

7.8%
16k
CLI tool for AI-assisted coding in the terminal
created 3 months ago
updated 1 day ago
Starred by Chris Van Pelt Chris Van Pelt(Cofounder of Weights & Biases), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
15 more.

developer by smol-ai

0.1%
12k
Agent for embedding a developer in your app
created 2 years ago
updated 1 year ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
9 more.

codex by openai

0.8%
32k
Coding agent CLI tool for terminal-based chat-driven development
created 3 months ago
updated 1 day ago
Feedback? Help us improve.