Skip to content

samie105/remb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remb

Remb is a Next.js app for managing project context, with GitHub OAuth support for importing repositories into the dashboard.

Local setup

1. Configure GitHub OAuth

Create a GitHub OAuth App with these localhost settings:

  • Homepage URL: http://localhost:3000
  • Authorization callback URL: http://localhost:3000/api/auth/github/callback

Then copy .env.example to .env.local and fill in your credentials:

cp .env.example .env.local

Required variables:

GITHUB_CLIENT_ID=your_github_oauth_client_id
GITHUB_CLIENT_SECRET=your_github_oauth_client_secret
NEXT_PUBLIC_APP_URL=http://localhost:3000

For scanning, also set:

OPENAI_API_KEY=your_openai_key

Optional: free local embeddings for testing (via Ollama)

EMBEDDING_PROVIDER=local
OLLAMA_BASE_URL=http://127.0.0.1:11434
OLLAMA_EMBEDDING_MODEL=nomic-embed-text

Then run Ollama locally:

ollama pull nomic-embed-text
ollama serve

Note: feature extraction still uses OpenAI (gpt-4o-mini) in the current implementation.

2. Install dependencies

pnpm install

3. Start the development server

pnpm dev

Open http://localhost:3000.

GitHub OAuth flow

The current OAuth request asks GitHub for read:user and repo access so the app can read the connected user's profile and repositories.