Difference between revisions of "Glitch"

From Archiveteam
Jump to navigation Jump to search
(typo)
(better scripts)
Line 12: Line 12:
== Discovery ==
== Discovery ==


Users and projects can be enumerated using the API. Request these two URLs and continuously fetch the <code>nextPage</code> field of the resulting JSON. Python scripts for that are available[https://transfer.archivete.am/inline/8tUqH/api.glitch.com-v1-projects-enumerator.py] [https://transfer.archivete.am/inline/CqQR4/api.glitch.com-v1-users-enumerator.py].
Users and projects can be enumerated using the API. Request these two URLs and continuously fetch the <code>nextPage</code> field of the resulting JSON. Python scripts for that are available[https://transfer.archivete.am/inline/ApUdg/api.glitch.com-v1-projects-enumerator.py] [https://transfer.archivete.am/inline/YF1xj/api.glitch.com-v1-users-enumerator.py].


<pre>
<pre>

Revision as of 02:47, 30 June 2025

Glitch is a website where users can create web applications (projects) and share them.

It supports static, as well as dynamic websites though 11ty or NodeJS - the latter are only online for limited amounts of time every month.

Discovery

Users and projects can be enumerated using the API. Request these two URLs and continuously fetch the nextPage field of the resulting JSON. Python scripts for that are available[1] [2].

https://api.glitch.com/v1/users/?limit=1000
https://api.glitch.com/v1/projects/?limit=1000

Archiving

Each project corresponds to a subdomain of glitch.me, thus until July 8th 2025 it'll be possible to access projects via their subdomains.

Each project is also a git repository which can usually be cloned by as anonymous users with the URL format https://api.glitch.com/git/PROJECT-SLUG, replacing PROJECT-SLUG with the actual project slug, e.g. PROJECT-SLUG.glitch.me or glitch.com/~PROJECT-SLUG. However, the git repositories do not include any uploaded "assets", nor databases or other data (typically stored under .data/), nor the .env file, among other things. However, the git repository may not be accessible for projects using outdated versions of Node, or suspended users.

Projects, including their git histories, usually include a .glitch-assets file, which is a JSONL file enumerating assets uploaded to the Assets tab of that project (or a project's ancestor). The url and thumbnail properties of each object link to the CDN servers, which are usually on the domains cdn.glitch.global, cdn.glitch.me or cdn.hyperdev.com for older projects. Only the latest version of the file needs processing, because file deletions just add a new item for the uuid with deleted> set to true, and the old URL is still present and still works.

After the deadline, accounts will still be able to download their projects "through the end of 2025".

Archives