adamlui / chatgpt-auto-refresh

↻ Keeps ChatGPT sessions fresh to avoid network errors + Cloudflare checks
https://chatgptautorefresh.com
Other
178 stars 12 forks source link
ai artificial-intelligence chat chatbot chatgpt chatgpt3 cloudflare gpt gpt-3 gpt-4 greasemonkey javascript machine-learning ml nlp openai reloader userscript userscripts
 English | 简体中文

ChatGPT Auto Refresh ↻  

[Greasy Fork] [GitHub stars] [License: MIT] [GitHub commits]

[CodeFactor grade] [Powered by chatgpt.js] [SonarCloud vulnerabilities] [Mentioned in Awesome] [jsDelivr stats] [www.chatgptautorefresh.com]

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


Discuss / Review / Contact author

#

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

💡 What it does

![](https://media.chatgptautorefresh.com/images/alerts/cloudflare-stand-by.png)
![](https://media.chatgptautorefresh.com/images/alerts/chatgpt-something-went-wrong.png) ![](https://media.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:

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

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

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

⚡ Dependencies



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

🌐 Compatibility

ChatGPT Auto Refresh is compatible w/ the following browsers using ScriptCat, Violentmonkey, OrangeMonkey, OrangeMonkey Pro or Tampermonkey:



Discuss / Leave a review / More ChatGPT userscripts

🧠 Contributors

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

[![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/10906554?first-contrib=2023.03.23&h=50&w=50&mask=circle&maxage=7d "@adamlui")](https://github.com/adamlui) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/26111796?first-contrib=2023.04.02&h=50&w=50&mask=circle&maxage=7d "@Camouflager")](https://github.com/Camouflager) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/3297866?first-contrib=2023.04.04&h=50&w=50&mask=circle&maxage=7d "@ArtificialTruth")](https://github.com/ArtificialTruth) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/25640306?first-contrib=2023.04.05&h=50&w=50&mask=circle&maxage=7d "@Liumeng404")](https://github.com/Liumeng404) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/8097465?first-contrib=2023.04.08&h=50&w=50&mask=circle&maxage=7d "@mzvast")](https://github.com/mzvast) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/130675714?first-contrib=2023.04.13&h=50&w=50&mask=circle&maxage=7d "@halvabner")](https://github.com/halvabner) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/53716543?first-contrib=2023.04.15&h=50&w=50&mask=circle&maxage=7d "@Cupcc")](https://github.com/Cupcc) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/45654564?first-contrib=2023.04.16&h=50&w=50&mask=circle&maxage=7d "@gydx6")](https://github.com/gydx6) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/81360639?first-contrib=2023.04.16&h=50&w=50&mask=circle&maxage=7d "@NoahXcl")](https://github.com/NoahXcl) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/2769831?first-contrib=2023.04.17&h=50&w=50&mask=circle&maxage=7d "@selfboot")](https://github.com/selfboot) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/116735067?first-contrib=2023.04.18&h=50&w=50&mask=circle&maxage=7d "@maplepicker")](https://github.com/maplepicker) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/58101940?first-contrib=2023.04.19&h=50&w=50&mask=circle&maxage=7d "@Cloudkkk")](https://github.com/Cloudkkk) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/49114216?first-contrib=2023.04.23&h=50&w=50&mask=circle&maxage=7d "@chenzhihao1040728129")](https://github.com/chenzhihao1040728129) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/131989355?first-contrib=2023.04.27&h=50&w=50&mask=circle&maxage=7d "@Zin6969")](https://github.com/Zin6969) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/2470659?first-contrib=2023.08.03-chat-reset-issue&h=50&w=50&mask=circle&maxage=7d "@nabilfreeman")](https://github.com/nabilfreeman) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/13482553?first-contrib=2023.10.05-chat-reset-fix&h=50&w=50&mask=circle&maxage=7d "@h-h-h-h")](https://github.com/h-h-h-h) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/5162926?first-contrib=2023.11.27-ui-change-report&h=50&w=50&mask=circle&maxage=7d "@xspeed1989")](https://github.com/xspeed1989) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/37517008?first-contrib=2023.12.05-first-button-bug-report&h=50&w=50&mask=circle&maxage=7d "@Chipsum")](https://github.com/Chipsum) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/53054099?first-contrib=2023.2.3-added-eslint-plugin-userscripts&h=50&w=50&mask=circle&maxage=7d "@Yash-Singh1")](https://github.com/Yash-Singh1) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/2911588?first-contrib=2023.2.26-shortened-hungarian-menu-label&h=50&w=50&mask=circle&maxage=7d "@sanchomuzax")](https://github.com/sanchomuzax) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/22633385?first-contrib=2023.07.17-add-ja-doc-md&h=47&w=47&mask=circle&maxage=7d "@eltociear")](https://github.com/eltociear) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/96548841?first-contrib=2024.9.7-improved-chinese-msgs&h=50&w=50&mask=circle&maxage=7d "@ChinaGodMan")](https://github.com/ChinaGodMan) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/31427850?h=50&w=50&mask=circle&maxage=7d "@ImgBotApp")](https://github.com/ImgBotApp) [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/in/29110?h=50&w=50&mask=circle&maxage=7d "Dependabot")](https://github.com/dependabot)

🤖 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 ↑