Skip to content

parth-patel010/PrivGPT-Studio

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

82 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PrivGPT Studio

Your private AI studio β€” versatile, secure, and all‑in‑one.

Open Source Love svg1 PRs Welcome Visitors GitHub forks GitHub Repo stars GitHub contributors GitHub last commit GitHub repo size License: PolyForm Noncommercial GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests

πŸ”— Quick Links


πŸŽ₯ Demo

PrivGPT_Studio_Demo.mp4

πŸ’‘ Why It’s Needed

AI tools are everywhere β€” but most send your data to cloud servers you can’t control.
Startups, researchers, and creators need AI that’s private, flexible, and powerful.

πŸ‘‰ PrivGPT Studio solves this by combining local and cloud models in one workspace, with:
βœ… Full privacy control (no hidden history sharing)
βœ… Versatile input (text, PDF, images, voice)
βœ… Offline fallback, multi‑chat management, latency tracking

AI without compromise.

πŸ“¦ Features

🧠 Multi‑chat with cross‑references
πŸ”’ Privacy‑first design (local/cloud separation)
πŸ“„ PDF summarization
πŸ“Š image/graph interpretation
🎀 voice input
✨ Rename, export, delete sessions
⚑ Offline fallback to local models
πŸ“ˆ Latency count and metrics

πŸ›  Tech Stack

Next.js React Tailwind Flask MongoDB

Frontend: Next.js (React), TailwindCSS
Backend: Flask (Python)
Database: MongoDB
AI:
   ● Local: Ollama models
   ● Cloud: Gemini API

πŸ–₯️ Getting Started

Before you begin, make sure you have the following installed on your system:

  • Git
  • Node.js (v18+ recommended)
  • Python (3.9 or above)
  • pip (Python package manager)
  • (Optional) Ollama installed locally if you want to use local models.

1. Fork this repository.

2. Clone the repository

git clone https://github.com/<your-github-username>/PrivGPT-Studio.git
cd PrivGPT-Studio

3. Set up the client (Next.js frontend)

cd client

npm ci
# If you face a dependency conflict (ERESOLVE error), try:
# npm install --legacy-peer-deps
# If that doesn't work either, try:
# npm install

copy .env.example .env 
# (For linux) cp .env.example .env
# To learn how to obtain the variables required in '.env',
# please see 'docs/env-setup-guide.md'.

npm run dev
# Runs on http://localhost:3000

4. Set up the server (Flask backend)

cd server

python -m venv venv 
venv\Scripts\activate 
# For (Linux/Mac) source venv/bin/activate

pip install -r requirements.txt

copy .env.example .env 
# (For linux) cp .env.example .env
# To learn how to obtain the variables required in '.env',
# please see 'docs/env-setup-guide.md'.

python app.py
# Runs on http://localhost:5000

5. (Optional) Start Ollama locally

ollama serve
ollama pull <model_name>

πŸ“‚ Project Structure

privgpt-studio/
β”‚
β”œβ”€β”€ .github/
β”‚   β”œβ”€β”€ ISSUE_TEMPLATE/
β”‚   β”œβ”€β”€ CODE_OF_CONDUCT.md
β”‚   └── ...
β”‚
β”œβ”€β”€ assets/
β”‚
β”œβ”€β”€ client/          # Next.js frontend
β”‚   β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ components/
β”‚   └── ...
β”‚
β”œβ”€β”€ docs/            
β”‚   └── env-setup-guide.md
β”‚   
β”œβ”€β”€ server/          # Flask backend
β”‚   β”œβ”€β”€ app.py
β”‚   β”œβ”€β”€ requirements.txt
β”‚   └── ...
β”‚
β”œβ”€β”€ LICENSE           
└── README.md

🀝 Contributing

Contributions are welcome! πŸŽ‰
Please check our Contributing Guidelines to learn about:

  • Our development process
  • How to propose bug fixes and improvements
  • Coding standards and PR workflow

πŸ“œ Code of Conduct

We are committed to creating a welcoming and inclusive environment for everyone. Please be respectful, inclusive, and considerate in all interactions.

By participating in this project, you agree to follow our Code of Conduct.

If you witness or experience unacceptable behavior, please report it privately via [email protected].

πŸ’¬ Support

If you have other questions, need help, or want to start a discussion about PrivGPT Studio,
please join our Discord Server.
πŸ’‘ We’d love to hear your ideas, feedback, and suggestions there!

🌟 Project Admin and Mentors

Rucha Ambaliya
Project Admin - Rucha Ambaliya

πŸ™Œ Project Contributors

βš– License

This project is licensed under the PolyForm Noncommercial License 1.0.0. Make sure to review and comply with the license terms.

βœ”οΈ You may use, modify, and share the code only for non‑commercial purposes.
βœ”οΈ You must include the following attribution in any copies or derivative works:
Required Notice: Copyright 2025 Rucha Ambaliya (https://github.com/rucha-ambaliya/privgpt-studio)
🚫 Commercial use requires separate permission from the author.

See the LICENSE file for more details.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.4%
  • Python 6.7%
  • CSS 1.8%
  • JavaScript 0.1%