1.0.2 • Published 8 months ago

biriyani v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

🍛 Biriyani

A flavorful Command Line AI chat interface powered by OpenRouter.

Installation

Global Installation (CLI usage)

npm install -g biriyani

# Then use from anywhere
biriyani

Local Installation (Project usage)

npm install biriyani

# Use as a module in your project
import Biriyani from 'biriyani';

CLI Usage

After global installation, simply run:

biriyani

The first time you run it, you'll be prompted for your OpenRouter API key.

Programmatic Usage

import Biriyani from 'biriyani';

// Get available models
console.log(Biriyani.models);

// Start a chat session
await Biriyani.chat(apiKey, modelId);

// Access configuration
const config = await Biriyani.getConfig();

Features

  • Chat with multiple AI models:
    • Claude 3.5 Sonnet
    • GPT-4
    • GPT-4 Mini
    • Llama 3 70B
    • Nemotron 70B
  • Colorful, spice-themed interface
  • Interactive chat experience
  • Configuration persistence
  • Easy model selection

Requirements

License

MIT