Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adamlui/chatgpt-auto-refresh

↻ Keeps ChatGPT sessions fresh to avoid network errors + Cloudflare checks
https://github.com/adamlui/chatgpt-auto-refresh

ai artificial-intelligence chat chatbot chatgpt chatgpt3 cloudflare gpt gpt-3 gpt-4 greasemonkey javascript machine-learning ml nlp openai reloader userscript userscripts

Last synced: 2 days ago
JSON representation

↻ Keeps ChatGPT sessions fresh to avoid network errors + Cloudflare checks

Awesome Lists containing this project

README

        







 English |
简体中文

# ChatGPT Auto Refresh ↻


[Greasy Fork]


[License: MIT]


[Versions]




[CodeFactor grade]


[Powered by chatgpt.js]


[SonarCloud vulnerabilities]


[Mentioned in Awesome]


[jsDelivr stats]

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

Install this scriptHow to install


[Discuss](https://github.com/adamlui/chatgpt-auto-refresh/discussions) /
[Review](https://gm.chatgptautorefresh.com/feedback#post-discussion) /
[Contact author](https://github.com/adamlui)

#

![](https://user-images.githubusercontent.com/10906554/234756105-cf367acc-644a-49ee-8586-43c51d43e359.png)

## 💡 What it does

- Removes **10-minute time limit** from conversations (when in Temporary Chat mode)

- Get rid of annoying **Cloudflare checks**:



![](https://assets.chatgptautorefresh.com/images/alerts/cloudflare-stand-by.png)

- Get rid of annoying **ChatGPT network errors**:

![](https://assets.chatgptautorefresh.com/images/alerts/chatgpt-something-went-wrong.png)
![](https://assets.chatgptautorefresh.com/images/alerts/chatgpt-network-error.png)


## 💊 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 a userscript manager:
- ScriptCat for [Chrome](https://chromewebstore.google.com/detail/scriptcat/ndcooeababalnlpkfedmmbbbgkljhpjf), [Firefox](https://addons.mozilla.org/firefox/addon/scriptcat/) or [Edge](https://microsoftedge.microsoft.com/addons/detail/scriptcat/liilgpjgabokdklappibcjfablkpcekh)
- Violentmonkey for [Chrome](https://chromewebstore.google.com/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag), [Firefox](https://addons.mozilla.org/firefox/addon/violentmonkey/) or [Edge](https://microsoftedge.microsoft.com/addons/detail/eeagobfjdenkkddmbclomhiblgggliao)
- [OrangeMonkey](https://chromewebstore.google.com/detail/orangemonkey/ekmeppjgajofkpiofbebgcbohbmfldaf) or [OrangeMonkey Pro](https://chromewebstore.google.com/detail/orangemonkey-pro/ggdmdoodcfamjggeigifpjfnnjfbland) for Chrome
- or Tampermonkey for [Chrome](https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo), [Firefox](https://addons.mozilla.org/firefox/addon/tampermonkey/), [Edge](https://microsoftedge.microsoft.com/addons/detail/tampermonkey/iikmkjmpaadaobahmlepeloendndfphd) or [Opera](https://addons.opera.com/extensions/details/tampermonkey-beta/)

2. Install [ChatGPT Auto Refresh](https://gm.chatgptautorefresh.com) userscript (will load in manager installed above)

3. Visit [chatgpt.com](https://chatgpt.com) as normal, and sessions will auto-refresh at a regular interval!



![](https://assets.chatgptautorefresh.com/images/screenshots/sidebar-toggle-on.png)

## ⚡ Dependencies










ChatGPT Auto Refresh relies on code from the powerful chatgpt.js library

© 2023–2025 KudoAI & contributors under the MIT license.


## 🌐 Compatibility

ChatGPT Auto Refresh is compatible w/ the following browsers using [ScriptCat](https://docs.scriptcat.org), [Violentmonkey](https://violentmonkey.github.io), [OrangeMonkey](https://chromewebstore.google.com/detail/orangemonkey/ekmeppjgajofkpiofbebgcbohbmfldaf), [OrangeMonkey Pro](https://chromewebstore.google.com/detail/orangemonkey-pro/ggdmdoodcfamjggeigifpjfnnjfbland) or [Tampermonkey](https://www.tampermonkey.net):

- [Google Chrome](https://www.chrome.com)
- [Mozilla Firefox](https://www.firefox.com)
- [Microsoft Edge](https://www.microsoft.com/edge)
- [Opera](https://www.opera.com)
- [Brave](https://brave.com)
- [Vivaldi](https://vivaldi.com)
- [Waterfox](https://www.waterfox.net)
- [LibreWolf](https://librewolf.net)
- [Ghost](https://ghostbrowser.com)
- [QQ](https://browser.qq.com)


Install this scriptHow to install


[Discuss](https://github.com/adamlui/chatgpt-auto-refresh/discussions) /
[Leave a review](https://gm.chatgptautorefresh.com/feedback#post-discussion) /
[More ChatGPT userscripts](https://github.com/adamlui/userscripts/tree/master/chatgpt)

## 🧠 Contributors

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




























## 🤖 More ChatGPT apps

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


## 📜 Related scripts

### [ChatGPT Widescreen Mode](https://chatgptwidescreen.com)  
> Enhances ChatGPT with wide/full/tall-screen + spamblock modes. Also works on perplexity.ai + poe.com!

[Install](https://docs.chatgptwidescreen.com/#-greasemonkey-userscript) /
[Readme](https://docs.chatgptwidescreen.com/#readme) /
[Discuss](https://github.com/adamlui/chatgpt-widescreen/discussions)

### [ChatGPT Auto-Continue](https://chatgptautocontinue.com)  
> Automatically continue generating multiple ChatGPT responses.

[Install](https://docs.chatgptautocontinue.com/#-installation) /
[Readme](https://docs.chatgptautocontinue.com/#readme) /
[Discuss](https://github.com/adamlui/chatgpt-auto-continue/discussions)

### [ChatGPT Infinity](https://chatgptinfinity.com)  
> Generate endless answers from all-knowing ChatGPT (in any language!)

[Install](https://docs.chatgptinfinity.com/#-greasemonkey-userscript) /
[Readme](https://docs.chatgptinfinity.com/#readme) /
[Discuss](https://github.com/adamlui/chatgpt-infinity/discussions)



**More userscripts** /
Back to top ↑