Skip to content

mesubbu/gitvibeDev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

๐ŸŽธ GitVibe

AI-Native GitHub Frontend for Vibe Coders

License Version CI

Review PRs with AI. Merge with confidence. Ship faster.


โœจ Features

Feature Description
๐Ÿค– AI Code Review One-click AI-powered PR review via Ollama or OpenAI-compatible APIs
๐Ÿ” GitHub OAuth Secure OAuth flow with encrypted token vault
๐Ÿ“‹ PR & Issue Management List, view, and merge pull requests; browse issues
๐Ÿ‘ฅ Collaborator Management Add, update, and remove repo collaborators
๐ŸŽฎ Demo Mode Try everything without GitHub credentials
๐Ÿ”Œ Plugin System Extend with custom plugins, agents, and workflows
๐Ÿ›ก๏ธ Security First JWT + CSRF + RBAC + rate limiting + audit logging
๐Ÿณ Docker Ready One-command deployment with Docker Compose

๐Ÿš€ Quick Start

Prerequisites

1. Clone & Start

git clone https://github.com/mesubbu/gitvibeDev.git
cd gitvibeDev

Option A โ€” Local (no Docker):

make local

This creates a Python venv, installs dependencies, and starts the backend + frontend dev server. Visit http://localhost:3000.

Option B โ€” Docker:

make up

This starts the backend, frontend, and Ollama in Docker. Visit http://localhost:3000.

Option C โ€” Frontend-only secure demo (no backend):

cp .env.example .env
APP_MODE=demo docker compose --env-file .env up -d frontend

This starts only Nginx + frontend with local mock API/auth/storage.

Option D โ€” One-click installer script:

bash installer/install.sh --skip-clone --target-dir . --mode development

For frontend-only demo mode:

bash installer/install.sh --skip-clone --target-dir . --mode demo

2. Demo Mode

Set APP_MODE=demo to run the secure offline demo โ€” no GitHub credentials needed.
You get seeded repos, PRs, issues, and AI review responses stored locally in the browser.

Runtime Modes

Set one variable to switch behavior:

APP_MODE=demo|development|production
APP_MODE Behavior
demo Frontend-only local mocks (no backend/DB/Redis/auth services)
development Frontend + real backend APIs
production Real backend APIs with production deployment controls

3. Live GitHub Mode

Create a .env file (or edit the auto-generated one):

DEMO_MODE=false
GITHUB_CLIENT_ID=your_oauth_client_id
GITHUB_CLIENT_SECRET=your_oauth_client_secret

Then restart:

make down && make up

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   Browser    โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  Nginx (:3000)  โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  Backend  โ”‚
โ”‚   (SPA)      โ”‚     โ”‚  Static + Proxy โ”‚     โ”‚  FastAPI  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ”‚  (:8000)  โ”‚
                                             โ””โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜
                                                   โ”‚
                                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                                    โ”‚              โ”‚              โ”‚
                              โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”
                              โ”‚  GitHub   โ”‚ โ”‚  Ollama   โ”‚ โ”‚   Vault   โ”‚
                              โ”‚  REST API โ”‚ โ”‚  (AI)     โ”‚ โ”‚  (Secrets)โ”‚
                              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Backend: Python FastAPI with JWT auth, RBAC, CSRF protection, rate limiting, audit logging.
Frontend: Lightweight SPA served by Nginx, calling real backend APIs.
AI: Pluggable providers โ€” Ollama (local) or any OpenAI-compatible API.
Storage: Encrypted file vault for tokens and secrets. No database required by default.


๐Ÿ“ฆ Docker Compose Profiles

Profile Services Use Case
make local Backend + Frontend (Python only) Quick local dev, no Docker
make up (default) Backend + Frontend + Ollama Demo & Docker-based dev
make up-full + PostgreSQL + Redis Production with persistence

Stop local services with make local-stop.


๐Ÿ”ง Configuration

All configuration via environment variables (.env file):

Variable Default Description
DEMO_MODE true Enable demo mode with sample data
GITHUB_CLIENT_ID โ€” GitHub OAuth App client ID
GITHUB_CLIENT_SECRET โ€” GitHub OAuth App client secret
AI_PROVIDER ollama AI provider: ollama or openai
OLLAMA_BASE_URL http://ollama:11434 Ollama API endpoint
OPENAI_API_KEY โ€” OpenAI API key (if using OpenAI)
AI_MODEL codellama AI model name
SECRET_KEY auto-generated JWT signing key
FAST_BOOT false Skip optional service health checks

See .env.example for the full list.


๐Ÿงช Testing

# Install dev dependencies
make dev-deps

# Fast unit tests
make test-fast

# Full test suite
make test

# With coverage report
make coverage

๐Ÿ“– Documentation

Document Description
Installation Guide Detailed setup instructions
Architecture System design and components
API Reference Complete REST API documentation
AI Configuration Configure AI providers
Plugin Development Build custom plugins
Contributing Contribution guidelines
Troubleshooting Common issues and fixes

๐Ÿค Contributing

We welcome contributions! See CONTRIBUTING for guidelines.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing)
  3. Make your changes
  4. Run tests (make test)
  5. Submit a pull request

๐Ÿ“„ License

Licensed under the Apache License 2.0.


Built for vibe coders ๐ŸŽธ

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors