A Chrome extension to display the token count for OpenAI chat messages.
ChatGPT-Pro Extension
ChatGPT-Pro is a convenient Chrome extension designed to enhance the user experience when interacting with OpenAI's ChatGPT platform. It provides a real-time display of token count, helping users avoid the hassle of submitting overly long messages that lead to errors and require page refreshing. With ChatGPT-Pro, users can ensure their messages are within the acceptable token limit before submission, eliminating the need for frustrating trial and error. This extension is a must-have for those who frequently use ChatGPT and want a smooth, efficient experience without the inconvenience of manually counting tokens or dealing with error messages due to excessive text length.
Read more
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "ChatGPT-Pro", "version": "1.0.2", "description": "A Chrome extension to display the token count for OpenAI chat messages.", "permissions": [], "action": { "default_popup": "popup.html", "default_icon": { "48": "icon.png" } }, "icons": { "48": "icon.png" }, "content_scripts": [ { "matches": ["https://chat.openai.com/*"], "js": ["content.js"] } ], "web_accessible_resources": [{ "resources": ["vocab.bpe"], "matches": [""] },{ "resources": ["encoder.json"], "matches": [""] }]}
Read more