https://github.com/ariajsarkar/ariaj
A Go-based project with supporting scripts in Shell and Batchfile.
https://github.com/ariajsarkar/ariaj
bacthfile go shell
Last synced: 3 months ago
JSON representation
A Go-based project with supporting scripts in Shell and Batchfile.
- Host: GitHub
- URL: https://github.com/ariajsarkar/ariaj
- Owner: AriajSarkar
- License: mit
- Created: 2025-02-02T13:42:32.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-02T14:24:07.000Z (4 months ago)
- Last Synced: 2025-02-02T14:25:13.714Z (4 months ago)
- Topics: bacthfile, go, shell
- Language: Go
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# 🤖 Ariaj - CLI Interface for Ollama

[](https://golang.org/)
[](LICENSE)
[](https://github.com/AriajSarkar/ariaj/releases/latest)
[](https://github.com/AriajSarkar/ariaj/actions/workflows/release.yml)*A powerful CLI tool for interacting with Large Language Models through Ollama*
## ✨ Features
- 🚀 **Easy Installation** - Simple global installation process
- 💬 **Interactive Mode** - Chat with your LLM in real-time
- 🔄 **Model Switching** - Easily switch between different LLM models
- 🖥️ **Process Management** - Automatic Ollama server management
- ⚡ **Streaming Responses** - Get real-time streaming responses
- 🎯 **Single Prompt Mode** - Quick one-off queries## 🚀 Installation
### Prerequisites
1. Install [Go](https://golang.org/doc/install) (version 1.19 or higher)
2. Install [Ollama](https://ollama.ai)### Quick Install
```bash
go install github.com/AriajSarkar/ariaj@latest
```### Download Binary
Choose the appropriate version for your system:
| Platform | Architecture | Download |
|----------|-------------|----------|
| Windows | x64 | [Download](https://github.com/AriajSarkar/ariaj/releases/download/v0.1.4/ariaj_0.1.4_Windows_x86_64.zip) |
| Windows | ARM64 | [Download](https://github.com/AriajSarkar/ariaj/releases/download/v0.1.4/ariaj_0.1.4_Windows_arm64.zip) |
| Linux | x64 | [Download](https://github.com/AriajSarkar/ariaj/releases/download/v0.1.4/ariaj_0.1.4_Linux_x86_64.tar.gz) |
| Linux | ARM64 | [Download](https://github.com/AriajSarkar/ariaj/releases/download/v0.1.4/ariaj_0.1.4_Linux_arm64.tar.gz) |
| macOS | x64 | [Download](https://github.com/AriajSarkar/ariaj/releases/download/v0.1.4/ariaj_0.1.4_Darwin_x86_64.tar.gz) |
| macOS | ARM64 | [Download](https://github.com/AriajSarkar/ariaj/releases/download/v0.1.4/ariaj_0.1.4_Darwin_arm64.tar.gz) |[View all releases](https://github.com/AriajSarkar/ariaj/releases)
### Manual Installation
```bash
# Clone the repository
git clone https://github.com/AriajSarkar/ariaj.git# Build and install globally
cd ariaj
go build
./ariaj install
```## 📚 Usage
### Basic Commands
```bash
# Interactive mode
ariaj# Single prompt
ariaj "What is the capital of France?"# Change model
ariaj model# Uninstall
ariaj uninstall
```### Interactive Mode
Start an interactive session:
```bash
$ ariaj
Using model: llama2
Enter your prompt (or 'exit' to quit):
```### Switching Models
```bash
$ ariaj model
? Select Model:
▸ llama2
codellama
mistral
phi
```## 🔧 Configuration
Configuration is automatically managed in:
- Windows: `%APPDATA%/ariaj/config.json`
- Linux/Mac: `$HOME/.config/ariaj/config.json`## 🤝 Contributing
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, development process, and how to contribute to the project.
## 📝 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## 🙏 Acknowledgments
- [Ollama](https://ollama.ai) for the amazing LLM server
- All the contributors who help improve this project---
Made with ❤️ by Raj