{"id":30123372,"url":"https://github.com/aliasgarsogiawala/chatgpt-lock","last_synced_at":"2026-05-01T18:32:43.140Z","repository":{"id":303284869,"uuid":"956476430","full_name":"aliasgarsogiawala/chatgpt-lock","owner":"aliasgarsogiawala","description":"A Chrome extension that locks individual ChatGPT chats with unique passwords. Built with Manifest V3, Vercel Serverless API, and MongoDB Atlas for cloud-based sync and security.","archived":false,"fork":false,"pushed_at":"2025-07-06T19:02:04.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-10T14:54:12.173Z","etag":null,"topics":["browser-extension","chat-locker","chatgpt","chrom-extension","cloud-sync","javascript","manifest-v3","mongodb","openai","password-protection","security","serverless","vercel"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aliasgarsogiawala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-28T10:15:08.000Z","updated_at":"2025-07-11T05:19:44.000Z","dependencies_parsed_at":"2025-07-06T20:19:44.768Z","dependency_job_id":"35182832-4840-47ec-9f3d-758ba1eb1c52","html_url":"https://github.com/aliasgarsogiawala/chatgpt-lock","commit_stats":null,"previous_names":["aliasgarsogiawala/chatgpt-lock"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aliasgarsogiawala/chatgpt-lock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliasgarsogiawala%2Fchatgpt-lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliasgarsogiawala%2Fchatgpt-lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliasgarsogiawala%2Fchatgpt-lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliasgarsogiawala%2Fchatgpt-lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliasgarsogiawala","download_url":"https://codeload.github.com/aliasgarsogiawala/chatgpt-lock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliasgarsogiawala%2Fchatgpt-lock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32508901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser-extension","chat-locker","chatgpt","chrom-extension","cloud-sync","javascript","manifest-v3","mongodb","openai","password-protection","security","serverless","vercel"],"created_at":"2025-08-10T14:37:38.683Z","updated_at":"2026-05-01T18:32:43.121Z","avatar_url":"https://github.com/aliasgarsogiawala.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔐 ChatGPT Password Locker Extension (with Cloud Sync)\n\nThis is a browser extension that allows users to **lock individual ChatGPT conversations with per-chat passwords** — even when sharing the same account. Each chat can be locked with a unique password, and access is only granted upon entering the correct password.\n\n### ✨ Features\n\n- Lock any ChatGPT conversation with a custom password 🔒\n- Automatically prompts for password when opening a locked chat\n- Cloud-based sync using **MongoDB Atlas** and **Vercel Serverless API**\n- Works across devices and sessions for the same ChatGPT account\n- Simple, clean UI built directly into the ChatGPT interface\n\n---\n\n## 🚀 How It Works\n\n1. The extension runs on [chat.openai.com](https://chat.openai.com) or [chatgpt.com](https://chatgpt.com)\n2. When a user clicks \"🔐 Lock Chat\", the extension stores the password in a remote MongoDB database using a Vercel API\n3. When the user visits that chat again, the extension prompts for a password before revealing the content\n\n---\n\n## 🛠️ Tech Stack\n\n- **Browser Extension** (Manifest V3, JS, CSS)\n- **Vercel Serverless Functions** (Next.js API routes)\n- **MongoDB Atlas** (for password storage)\n- Optional: Password hashing (coming soon)\n\n---\n\n## 🧩 Installation (Dev)\n\n1. Clone this repo and unzip\n2. Go to `chrome://extensions` in your browser\n3. Enable **Developer Mode**\n4. Click **\"Load unpacked\"** and select the extension folder\n\n---\n\n## 🌐 Vercel + MongoDB Setup\n\n1. Create a [MongoDB Atlas](https://www.mongodb.com/cloud/atlas/register) cluster\n2. Create a database: `chatlocks` and a collection: `locks`\n3. Set up a [Vercel](https://vercel.com) project with a `MONGODB_URI` environment variable\n4. Push the `api/lock` route to Vercel\n\n---\n\n## 📁 Folder Structure\n\n```plaintext\nchatgpt-password-locker/\n├── manifest.json               # Chrome extension config (Manifest V3)\n├── content.js                  # Main script injected into ChatGPT\n├── style.css                   # Styles for the lock screen UI\n├── README.md                   # This file\n└── api/                        # (Optional) Vercel serverless backend\n    └── lock/\n        └── route.ts            # GET \u0026 POST endpoints for MongoDB chat locks\n```\n\n---\n\n## ✅ Future Features\n\n- 🔑 Password hashing (bcrypt or argon2)\n- 🧠 \"Unlock All\" master password\n- 🌍 Multi-user cloud sync using email/login\n- ✨ Slicker modals, animations, and UI polish\n\n---\n\n## 👥 Author\n\nBuilt by Aliasgar Sogiawala  \nOpen to collaboration and improvements 🚀\n\n---\n\n## 📄 License\n\nMIT – Use it, modify it, and build something great with it!\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliasgarsogiawala%2Fchatgpt-lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliasgarsogiawala%2Fchatgpt-lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliasgarsogiawala%2Fchatgpt-lock/lists"}