Skip to content

kunalbandale/ChatGPT-Unlimited-Chat-Pinner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Unlimited Chat Pinner

A Chrome extension that lets you pin your favorite ChatGPT conversations to the sidebar for quick access.

🌟 Features

  • Pin Any Chat: Click the 📌 button next to any ChatGPT conversation to pin it
  • Quick Access: Pinned chats appear at the top of your sidebar
  • Easy Management: Unpin chats with one click using the ❌ button
  • Works Everywhere: Compatible with both chat.openai.com and chatgpt.com
  • No Data Loss: Your pinned chats are saved locally and persist between sessions
  • Lightweight: Minimal impact on performance and page loading

🚀 Installation

From Chrome Web Store (Recommended)

  1. Visit the Chrome Web Store
  2. Search for "ChatGPT Unlimited Chat Pinner"
  3. Click "Add to Chrome"
  4. Confirm the installation

Manual Installation (Developer Mode)

  1. Download or clone this repository
  2. Open Chrome and go to chrome://extensions/
  3. Enable "Developer mode" (toggle in top right)
  4. Click "Load unpacked"
  5. Select the extension folder
  6. The extension is now installed!

📖 How to Use

Pinning a Chat

  1. Go to ChatGPT or chatgpt.com
  2. Look for the 📌 button next to any conversation in the sidebar
  3. Click the pin button to add it to your pinned list
  4. The chat will appear in the "ChatGPT Pinning Extension" section at the top

Unpinning a Chat

  1. Find the pinned chat in the extension section
  2. Click the ❌ button next to the chat title
  3. The chat will be removed from your pinned list

Managing Pinned Chats

  • Click on any pinned chat to open it
  • Use the extension popup (click the extension icon) to see all pinned chats
  • Pinned chats are automatically saved and will persist when you close the browser

🔧 How It Works

The extension works by:

  1. Detecting Chat Links: Automatically finds all ChatGPT conversation links in the sidebar
  2. Adding Pin Buttons: Places a 📌 button next to each chat link
  3. Saving Data: Stores your pinned chats in Chrome's local storage
  4. Displaying Pinned Chats: Shows pinned conversations in a dedicated section at the top of the sidebar
  5. Real-time Updates: Automatically updates when new chats are loaded or when you scroll

🛠️ Technical Details

Files Structure

├── manifest.json          # Extension configuration
├── content.js            # Main functionality (18KB)
├── sidebar.css           # Styling (3KB)
├── service-worker.js     # Background worker (2.4KB)
├── popup.html           # Extension popup UI
├── popup.js             # Popup functionality
└── icons/
    ├── icon16.png       # Small icon
    ├── icon48.png       # Medium icon
    └── icon128.png      # Large icon

Key Features

  • Manifest V3: Uses the latest Chrome extension manifest version
  • Content Scripts: Injects functionality directly into ChatGPT pages
  • MutationObserver: Watches for new chat links being added dynamically
  • Local Storage: Saves pinned chats locally for privacy
  • Fallback System: Works even if Chrome extension APIs are unavailable

Browser Compatibility

  • ✅ Chrome 90+
  • ✅ Edge 90+
  • ✅ Other Chromium-based browsers

🔒 Privacy & Security

  • No Data Collection: The extension doesn't collect or send any data
  • Local Storage Only: All pinned chats are stored locally on your device
  • No Tracking: No analytics, tracking, or external requests
  • Open Source: Code is transparent and can be reviewed

🐛 Troubleshooting

Pin buttons not appearing?

  1. Make sure you're on chat.openai.com or chatgpt.com
  2. Refresh the page and wait for it to fully load
  3. Check if the extension is enabled in chrome://extensions/
  4. Try disabling other extensions that might interfere

Pinned chats disappeared?

  1. Check if you cleared your browser data
  2. Make sure the extension is still installed
  3. Try refreshing the page

Extension not working?

  1. Go to chrome://extensions/
  2. Find "ChatGPT Unlimited Chat Pinner"
  3. Click "Reload" to restart the extension
  4. Refresh the ChatGPT page

🤝 Contributing

This extension is open source! If you want to contribute:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Development Setup

  1. Clone the repository
  2. Load as unpacked extension in Chrome
  3. Make changes to files
  4. Click "Reload" in chrome://extensions/
  5. Test on ChatGPT

📝 Changelog

Version 1.0.0

  • Initial release
  • Basic pin/unpin functionality
  • Sidebar integration
  • Local storage support
  • Popup management interface

📄 License

This project is open source and available under the MIT License.

🙏 Acknowledgments

  • Built for the ChatGPT community
  • Inspired by the need for better conversation organization
  • Thanks to all users who provided feedback and suggestions

📞 Support

If you encounter any issues or have suggestions:

  1. Check the troubleshooting section above
  2. Open an issue on GitHub
  3. Contact the developer

Enjoy organizing your ChatGPT conversations! 🎉