Skip to content

A powerful browser extension that connects with AI to process and generate content based on user input, rate limiting and smart caching for performance.

Notifications You must be signed in to change notification settings

dushyant4665/CRISP_GPT_chrome_extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CRISP GPT Chrome Extension

A powerful AI assistant Chrome extension with Mistral AI integration for text explanation, expansion, and summarization. Works with local AI models via Ollama and cloud services.

CRISP_GPT

Features

  • Text Processing Actions

    • 🔍 Explain technical concepts in simple terms
    • ✨ Expand ideas with examples and details
    • 📋 Summarize long content to key points
    • 🗑️ Auto-cleanup of temporary elements
  • Advanced Integration

    • Local AI processing with Mistral via Ollama
    • MongoDB caching system for frequent queries
    • Multi-service architecture with Express backend
    • Secure API key management

Tech Stack

Frontend (Extension)

CRISP_GPT

  • Core
    • Chrome Extension Manifest V3
    • HTML5 Semantic Markup
    • CSS3 with Flexbox/Grid layouts
    • Modern JavaScript (ES6+)

Backend Service

  • Runtime

    • Node.js v18+ (LTS)
    • Express.js 4.x web framework
  • AI Integration

    • Mistral 7B via Ollama (local)
    • REST API endpoints
    • Axios for HTTP requests
  • Database

    • MongoDB Atlas (Cloud)
    • Mongoose ODM
    • TTL Indexes for auto-expiry

Development Tools

  • Build System

    • Webpack 5 (Module bundler)
    • Babel (ES6+ Transpiler)
  • Code Quality

    • ESLint (Airbnb config)
    • Prettier (Code formatting)
    • npm scripts automation
  • Testing

    • Jest (Unit testing)
    • Puppeteer (E2E testing)

Installation

Prerequisites

  • Chrome Browser (v115+)
  • Node.js v18+ & npm v9+
  • MongoDB Atlas account
  • Ollama installed locally

Setup Steps

  1. Clone Repository
git clone https://github.com/dushyant4665/CRISP_GPT_chrome_extension.git
cd CRISP_GPT_chrome_extension
  1. Install Dependencies

For Frontend

cd Extension && npm install

For Backend

cd Backend && npm install
  1. .env Configuration
OLLAMA_API_URL=http://localhost:11434
MISTRAL_MODEL=mistral:7b
MONGODB_URI=mongodb+srv://user:pass@cluster.mongodb.net/db
API_RATE_LIMIT=100/15min
SESSION_SECRET=your_secret_key

4. Install Ollama

Ollama - Mistral

Download Mistral

ollama pull mistral

Verify Installation

ollama list

Basic Usage Test

ollama run mistral "Explain quantum computing in simple terms"

Start Ollama Service

Linux/macOS:

sudo systemctl start ollama

Windows (Auto-starts after install):

ollama serve

5. Start Servcies

Backend Server

cd backend && npm run dev

Extension (frontend)

cd Extension && npm run build

About

A powerful browser extension that connects with AI to process and generate content based on user input, rate limiting and smart caching for performance.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published