A Google Apps Script that automatically keeps your streak on Duolingo alive.
Based on the work of rfoel and source from dngnd-forks.
Streak keeper and XP farm for Duolingo. Never get demoted again!
- Star this repository.
- Go to Duolingo
- While logged in, open the browser's console (Option (⌥) + Command (⌘) + J (on macOS) or Shift + CTRL + J (on Windows/Linux))
- Get the JWT token by pasting this in the console, and copy the value ( without
')
document.cookie
.split(";")
.find((cookie) => cookie.includes("jwt_token"))
.split("=")[1];- Go to Google Apps Script.
- Create a new project, copy & paste the code.
- Replace
<REPLACE>inconst DUOLINGO_JWT = "<REPLACE>";with the JWT token. - Save the code and click run. Confirm that the script will connect to third-party services.
- Set a trigger at
mainfunction by any period you like.