Skip to content

VEND321/MySeniorDev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

MySeniorDev

Your senior dev. Always available.

MySeniorDev is a local-first AI code reviewer powered by Gemma 4 E2B running via Ollama. Paste any file from your project and get an honest, specific code review — the kind a senior developer gives in a real pull request. Private by default. Your code never leaves your machine.

Built for self-taught developers who have never had a mentor.

What It Does

  • Security Review — finds hardcoded secrets, missing validation, auth holes, and exposed environment variables
  • Architecture Review — flags god files, mixed concerns, duplicated logic, and patterns that won't scale
  • General Review — full senior dev code review across security, structure, and code quality
  • Vibe Code Mode — explains AI-generated code you don't fully understand and flags what's dangerous
  • Follow-up Chat — ask questions after the review, Gemma 4 remembers your full file context

Prerequisites

  • Node.js v18+
  • Ollama installed and running

Setup

# 1. Clone the repo
git clone https://github.com/yourusername/myseniordev
cd myseniordev

# 2. Install dependencies
npm install

# 3. Pull Gemma 4 E2B locally
ollama pull gemma4:e2b

# 4. Start Ollama in a separate terminal
ollama serve

# 5. Start the app
npm run dev

Open http://localhost:5173

Environment Variables (Optional)

Create a .env file in the backend folder for Google AI Studio fallback:

GOOGLE_AI_KEY=your_key_here

The app works fully offline without this. The fallback is used automatically if Ollama is unavailable.

Tech Stack

  • AI — Gemma 4 E2B via Ollama (local) + Google AI Studio (fallback)
  • Frontend — React + Vite
  • Backend — Node.js + Express

Why Local

Every other AI code review tool sends your code to a server. For a developer pasting real production files with real secrets, that is a genuine security risk most beginners don't know about. MySeniorDev runs entirely on your machine. Nothing leaves your computer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors