Skip to content

AI-powered command-line assistant that helps you automate tasks, generate insights, and boost developer productivity.

Notifications You must be signed in to change notification settings

soumadip-dev/VedaCLI-MERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

65 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


VedaCLI πŸ€–

An intelligent command-line interface powered by Google's Gemini, bringing AI capabilities directly to your terminal.

Welcome Screen Authentication Screen CLI Interface
Simple Chat Tool Calling Agent Mode

🌟 Features

  • Device Authorization using GitHub OAuth
  • Simple Chat: Direct conversation with AI
  • Tool Calling: Enhanced chat with additional capabilities:
    • Google Search: Get latest data, useful content, news, and real-time information
    • Code Execution: Generate and execute Python code to perform calculations, solve problems, or provide accurate information
    • URL Context: Analyze specific URLs directly from the prompt (supports up to 20 URLs per request)
  • Agent Mode: Advanced AI agent to create applications using structured output.

βš™οΈ Tech Stack

  • 🎨 Frontend: React, Next.js
  • πŸ›  Backend: Node.js, Express.js, BetterAuth
  • πŸ—„ Database: PostgreSQL, Prisma

πŸ“¦ Installation

1. Clone and Setup

git clone https://github.com/soumadip-dev/VedaCLI-MERN.git
cd VedaCLI-MERN

2. Frontend Setup

cd client
npm install

Create .env.local in the client directory:

NEXT_PUBLIC_AUTH_BASE_URL=<your_backend_url>

3. Backend Setup

cd server
npm install

Create .env in the server directory:

# Google Gemini API (Get from aisdk.com)
GOOGLE_GENERATIVE_AI_API_KEY=<your_google_gemini_api_key>
ORBITAI_MODEL=gemini-2.5-flash

# Server Configuration
PORT=<your_port_number>
NODE_ENV=development

# Database
DATABASE_URL=<your_postgresql_database_url>

# Better Auth
BETTER_AUTH_SECRET=<your_better_auth_secret>
BETTER_AUTH_URL=<your_backend_url>

# GitHub OAuth
GITHUB_CLIENT_ID=<your_github_oauth_client_id>
GITHUB_CLIENT_SECRET=<your_github_oauth_client_secret>

# URL Configuration
FRONTEND_URL=<your_frontend_url>
BASE_URL=<your_backend_url>

4. CLI Setup

Inside the server directory:

# Make CLI executable and create global symlink
npm run dev:link

# Test the CLI
veda --version

Available Scripts (Backend)

Script Purpose
npm start Run main application
npm run dev Run with auto-reload
npm run cli Test CLI locally
npm run dev:link Setup global CLI link

πŸ’» Usage

After installation, you can use the veda command globally:

veda --help    # Show help
veda --version # Show version
veda login     # Login to your account
veda wakeup    # Wake up the AI

About

AI-powered command-line assistant that helps you automate tasks, generate insights, and boost developer productivity.

Topics

Resources

Stars

Watchers

Forks