Skip to main content

About the project

💡 Inspiration

Every year, millions of students join Hacktoberfest, but over 80% give up before making their first Pull Request. Open-source codebases are intimidating, GitHub issues are filled with jargon, and Git terminal errors are terrifying for beginners. While cloud AI (like ChatGPT) can help, it requires API keys, costs money, and sends sensitive code to the cloud.

🚀 What it does

OSS Mentor is a 100% local, privacy-first AI dashboard that acts as a personal senior developer for open-source beginners. Powered by Google’s open-weight model (gemma:2b) running locally via Ollama, it guarantees zero API costs and zero data telemetry.

We built four specialized Agent Skills:

  1. Repo Explainer: Paste a GitHub URL, and the AI acts as a tour guide, pointing out the most important folders and files for a beginner to look at.
  2. Issue Mentor: Paste a GitHub Issue URL, and the AI translates developer jargon into a step-by-step action plan to fix the bug and open a PR.
  3. Git Helper: Paste a terminal error, and the AI diagnoses the issue and gives the exact command to fix it.
  4. 📄 SKILL.md Generator: Our killer feature. With one click, the AI reads the repo’s CONTRIBUTING.md and README to generate a standardized SKILL.md file. Users can drop this file into AI coding agents (like Cursor or Cline) so the agent instantly understands the repo’s architecture and coding rules. It is an AI onboarding other AIs.

🛠️ How we built it

  • Frontend: React + Vite + Tailwind CSS (featuring a premium Light/Dark mode and Voice Input via the native Web Speech API).
  • Local AI Engine: Ollama running Google’s gemma:2b open-weight model entirely on the CPU.
  • Architecture: 100% Serverless. The React app talks directly to localhost:11434 (Ollama) using NDJSON streaming to give a word-by-word ChatGPT experience, entirely offline.

🧠 Challenges we ran into

Configuring CORS to allow the browser to talk directly to the local Ollama server securely. We solved this by managing the OLLAMA_ORIGINS environment variable, proving that a fully local web app is possible without a backend. We also optimized the gemma:2b model to run smoothly on a CPU with limited RAM by tuning the context window and keep-alive settings.

🏆 Accomplishments that we’re proud of

Building a completely serverless, privacy-first AI application that works entirely offline. We are incredibly proud of the “SKILL.md Generator” because it perfectly bridges the gap between human beginners and the future of AI coding agents.

🔮 What’s next for OSS Mentor

We plan to integrate a local Vector Database (RAG) so the AI can index the entire codebase, not just the README. We also want to add local Text-to-Speech (like whisper.cpp) so the voice features are 100% offline.

Built with

pythoncsshtmlnode.jsreactjavascriptgeminiopenaiollamatailwindgithubgit

Prize Categories Entered

  • DigitalOcean

    Best Open-Source AI Project

    Submitted