Sign inSign up

melukootto/raggin

By melukootto

โ€ขUpdated over 1 year ago

A novel solution to streamline web development workflows for Next.js developers.

Image
Integration & delivery
0

370

melukootto/raggin repository overview

โ ๐Ÿง  RAGGIN: RAG-Powered Assistant for Next.js Developers

Docker Pulls

An open-source Retrieval-Augmented Generation (RAG) system tailored for the Next.js ecosystem โ€” built for flexibility, performance, and developer productivity.


โ โœจ Overview

RAGGIN is an open-source, Docker-deployable system that enhances the web development experience within Visual Studio Code using Large Language Models (LLMs) and RAG techniques. Specifically designed for the fast-evolving Next.js framework, it helps developers with:

  • ๐Ÿ” Semantic documentation search
  • โœ๏ธ Intelligent code suggestions
  • ๐Ÿง  Context-aware question answering
  • ๐Ÿ’ก Framework migration and version comparison assistance

โ โš™๏ธ Architecture

The system consists of two core components:

โ ๐Ÿ“ฅ Retriever
  • Uses BGE-M3 embeddings to encode content from versioned Next.js documentation.
  • Stores vectors in Milvus, an open-source vector database supporting hybrid search with both dense and sparse retrieval.
  • Returns the most contextually relevant documentation chunks in response to developer queries.
โ ๐Ÿงพ Generator
  • Lets users select their preferred local LLM via Ollamaโ  or compatible LangChain-backed runtimes.
  • Supports multiple local models (e.g., Qwen, LLaMA, Mistral, etc.) based on user needs and available resources.
  • Generates actionable suggestions and detailed answers by combining user queries with retrieved docs.
  • Fully integrated into VSCode for seamless inline interaction and minimal context switching.

โ ๐Ÿ“ฆ What's in the Docker Container?

  • milvus-standalone vector DB with HNSW + inverted indexing
  • Pre-processed Next.js documentation (v13.0.0โ€“15.x.x) with semantic embeddings
  • REST API powered by FastAPI and LangChain
  • Ready-to-integrate backend for VSCode extension frontend
  • No cloud dependencies โ€” runs fully offline

โ ๐Ÿš€ Getting Started

docker pull melukootto/raggin

Run with Docker Compose:

docker compose -f docker-compose.yml up

You can then install the companion RAGGINโ .


โ ๐Ÿ“‚ Open Dataset

All versioned Next.js documentation used in this project is:

  • ๐Ÿ“š Publicly accessible on Kaggleโ 
  • ๐Ÿ”„ Regularly updated
  • ๐Ÿงช Structured and pre-embedded for semantic search

โ ๐Ÿ“ Availability


โ ๐Ÿ› ๏ธ Built With


โ ๐ŸŽ“ Project Info

This project is the result of a graduation thesis at Ho Chi Minh City University of Technology, under the supervision of Dr. Nguyen An Khuong and Mr. Pham Nhut Huy (Zalo AI).


โ ๐Ÿ“„ License

MIT License
Use freely in research, commercial, or educational settings. Contributions welcome!

Tag summary

Content type

Image

Digest

sha256:5e008843cโ€ฆ

Size

6.4 GB

Last updated

over 1 year ago

docker pull melukootto/raggin