Skip to content

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

CodeMap

Overview

CodeMap is an interactive tool designed to aid individuals in learning new projects, onboarding onto codebases, and understanding source code structures. It provides an engaging and visual approach with interactive graphs, detailed descriptions, and overviews to enhance comprehension. Integrated with ChatGPT, users can gain deeper insights and context about the code while browsing.

Features

  • Interactive Graphs: Visual representations of code structure with clickable components for detailed exploration.
  • Descriptions & Overviews: Contextual information to help users understand various parts of the codebase.
  • ChatGPT Integration: Built-in ChatGPT functionality for real-time assistance and explanations.

Prerequisites

Before you get started, ensure you have the following installed:

  1. Node.js

    Download and install Node.js from the official Node.js website. Follow the installation instructions for your operating system.

  2. OpenAI API Key

    To use the ChatGPT integration, you need an OpenAI API key. Sign up at OpenAI and obtain your API key.

Getting Started

To run CodeMap locally, follow these steps:

  1. Install Dependencies:
cd CodeMap/frontend
npm install
  1. Create a .env File: In the root directory of frontend folder, create a .env file and add your OpenAI API Key:
// .env
VITR_API_KEY=your_api_key_here
  1. Start Application
npm start

File Structure

The project is organized as follows:

src/
└── gpt/
└── frontend/
    ├── components/          
    └── features/              
        └── codemapper/               
            ├── business-components/
            └── function-call/
    └── ...

Tech Stack

Client: React, TailwindCSS, NodeJS

Server: No server side code

Project Status

Related Papers

About

CodeMap system code and website

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages