Skip to content

adamlui/chatgpt-auto-refresh

Repository files navigation

 English | 简体中文

ChatGPT Auto Refresh ↻  

Keeps ChatGPT sessions fresh via background requests to eliminate network errors + Cloudflare checks.


Discuss / Review / Contact author


💡 What it does

  • Removes 10-minute time limit from conversations (when Chat History is disabled)

  • Get rid of annoying Cloudflare checks:

  • Get rid of annoying ChatGPT network errors:

💊 Benefits

   🛡️ Safe — No unnecessary account-related requests sent

   🪶 Lightweight — Very little code used, only what's neccessary (keep session alive) saving memory

   ⌛ Time-saver — No more constant copy/paste/refresh just from minutes of inactivity!

   🤯 Works even in background tabs!

🗨️ User feedback

🚀 Installation

  1. Install Tampermonkey (Chrome, Firefox, Edge, Opera) or Violentmonkey (Chrome, Firefox, Edge)

  2. Install ChatGPT Auto Refresh (will load in userscript manager installed above)

  3. Visit chat.openai.com as normal, and sessions will auto-refresh at a regular interval!

⚡ Dependencies




ChatGPT Auto Refresh relies on code from the powerful chatgpt.js library (c) 2023–2024 KudoAI & contributors under the MIT license.

🌐 Compatibility

ChatGPT Auto Refresh is compatible w/ the following browsers using Tampermonkey or Violentmonkey:



Discuss / Leave a review / More ChatGPT userscripts

🧠 Contributors

This project exists thanks to code, translations, issues & ideas from the following contributors:



Consider giving this repo a ⭐ if it helped you!

🤖 More ChatGPT apps

For even more epic ChatGPT apps, visit: https://github.com/adamlui/chatgpt-apps

📜 Related scripts

ChatGPT Widescreen Mode

Adds Widescren + Fullscreen modes to ChatGPT for enhanced viewing + reduced scrolling.
Install / Readme / Discuss

ChatGPT Auto-Continue ⏩

Automatically continue generating multiple ChatGPT responses.
Install / Readme / Discuss

ChatGPT Infinity ∞

Generate endless answers from all-knowing ChatGPT (in any language!)
Install / Readme / Discuss

More userscripts / Back to top ↑