GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Pythagora-io/codebase-chat

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
middleware
middleware
 
 
models
models
 
 
public
public
 
 
tests
tests
 
 
views
views
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
chatService.js
chatService.js
 
 
database.js
database.js
 
 
emailService.js
emailService.js
 
 
gitHandler.js
gitHandler.js
 
 
openaiService.js
openaiService.js
 
 
package.json
package.json
 
 
processRepository.js
processRepository.js
 
 
repository.js
repository.js
 
 
routes.js
routes.js
 
 
server.js
server.js
 
 

Repository files navigation

Codebase Chat

Codebase Chat is a web-based tool designed to enhance user interactions with their code repositories through AI-driven summaries and explanations. The application provides a modern, user-friendly interface, allowing non-technical users to easily engage with their code projects.

Overview

Codebase Chat is built using the following technologies:

  • Node.js: JavaScript runtime for building server-side applications.
  • Express: Web server framework for Node.js.
  • MongoDB: NoSQL database for data persistence.
  • Bootstrap: Front-end framework for responsive and visually appealing design.
  • SendGrid: Email service for notifications.
  • OpenAI API: For generating AI-driven summaries and interactions.

The application is structured into the following key components:

  • Server: Handles routing, authentication, and serves static files.
  • Database: Manages user and repository data using MongoDB.
  • Services: Includes email, OpenAI interaction, and GitHub repository processing services.
  • Middleware: Authentication and session management.
  • Public: Contains static files like CSS and JavaScript for the frontend.
  • Views: EJS templates for rendering HTML pages.

Features

  • User Authentication: Registration and login via email (without email verification).
  • API Key Management: Users can store and verify their OpenAI API key.
  • Repository Submission: Users can submit GitHub repository URLs for processing.
  • AI-Driven Summaries: The application generates summaries of repository files and the entire project using OpenAI's models.
  • Email Notifications: Users receive an email notification once their repository has been processed.
  • Interactive Q&A: Users can ask questions about their repository and get AI-generated responses based on the project summary.

Getting started

Requirements

To run Codebase Chat, you will need:

  • Node.js: Ensure Node.js is installed on your system.
  • MongoDB: Either a local MongoDB instance or a cloud version like MongoDB Atlas.
  • SendGrid Account: For sending email notifications.
  • OpenAI API Key: For interacting with OpenAI's models.

Quickstart

  1. Clone the repository:

    git clone <repository-url>
    cd codebase-chat
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    • Create a .env file in the project root and populate it with the necessary environment variables. Refer to the .env.example file for guidance.
  4. Start the application:

    npm start
  5. Access the application:

    • Open your web browser and navigate to http://localhost:3001.

License

The project is open source, licensed under the MIT License. See the LICENSE.

Copyright © 2024 Pythagora-io.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

76 stars

Watchers

2 watching

Forks

27 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.