[Tampermonkey Script] Glitch Project Downloader + Organizer + Asset Downloader

This is a Tampermonkey script that adds a Download All Projects button to your Glitch dashboard, letting you download all your active, deleted, and shared projects as ZIP files.

Edit: Major version update to v2.0.0, better features check out the github respository for the full feature list

Features

  • Download active projects
  • Download deleted/archived projects
  • Download shared projects
  • Automatically grabs persistent tokens from the Glitch API
  • Adds a Migration Guides button linking to Glitch’s official docs

Installation

Full installation guide and details:
https://github.com/ethical38/glitch-project-downloader?tab=readme-ov-file#-installation


Already have Tampermonkey installed?

:backhand_index_pointing_right: Click here to download the script directly


If you have any ideas or want new features, please open an issue or submit a pull request on the GitHub repo. Your feedback is very welcome!

2 Likes

someone already made a bash script for that

Hey Zayd,

I made this script for even easier convenience, just a simple browser extension script, but still cannot deny the fact that @wh0 bash script also works flawlessly.

1 Like

To all the people who have downloaded v1.0.0, there was a new major release made today! :rocket:

:warning: Breaking Change
v2.0.0 introduces a revamped download and post-processing workflow that is not compatible with the old scripts:

  • Filename scheme has changed from simple glitch-project-<domain>.zip to glitch-project-<personal|shared|deleted>-<domain>.tgz (based on each project’s permission level).
  • The Tampermonkey userscript now downloads full TGZ archives instead of ZIPs.
  • Local post-processing scripts have been overhauled: they now automatically extract into Glitch-Projects/{personal,shared,deleted}/{project}, download every asset into an assets/ folder, prefix each asset with its UUID to avoid collisions, and generate per-project logs.
  • The old triggerDownload helper has been removed in favor of more robust, cross-platform download logic.

If you’re still on v1.0.0, please upgrade your userscript before running any of the new local scripts—you’ll otherwise encounter missing archives or mismatched directory structures.

Delete the old archives that were previously downloaded as they have unzipping issues as well.


What’s new in v2.0.0?

  1. Permission-based Archive Naming
    Projects are now saved as

    glitch-project-personal-<domain>.tgz  
    glitch-project-shared-<domain>.tgz  
    glitch-project-deleted-<domain>.tgz  
    

    automatically derived from your permission.accessLevel.

  2. Correct TGZ Format
    We’ve switched to .tgz to match Glitch’s actual export, eliminating “not a zip” errors.

  3. Local Post-Processing Automation

    • Extraction into a neat folder tree:
      Glitch-Projects/{personal,shared,deleted}/{project}
    • Asset download into assets/, pulling every URL in .glitch-assets.
    • UUID-prefixed filenames on each asset (e.g. 7e613a35-…-touch-icon.png) to prevent clashes.
    • Per-project logs (<projectName>-asset-download-log.txt) summarizing each download, skip, or failure.
    • Console summaries of how many assets were downloaded, skipped, or failed per project.
    • Cleanup prompt for removing original TGZs when you’re done.
  4. Windows Execution Policy Fix
    A new setup-glitch-scripts.bat automates the one-time setup so your PowerShell scripts run smoothly.


Please see the updated README.md in the repo for the new full installation and usage instructions. If you have any questions or run into issues, just reply here!