Difference between revisions of "Glitch"

From Archiveteam
Jump to navigation Jump to search
(fix url)
(add discovery)
Line 10: Line 10:
It supports static, as well as dynamic websites though 11ty or NodeJS - the latter are only online for limited amounts of time every month.
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.
<pre>
https://api.glitch.com/v1/users/?limit=1000
https://api.glitch.com/v1/projects/?limit=1000
</pre>


== Archiving ==
== Archiving ==

Revision as of 01:36, 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.

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 newline-delimited JSON file enumerating assets uploaded to the Assets tab of that project (or a project's ancestor). The url property of each object links to the asset on the CDN servers, which are usually on the domains cdn.glitch.global, cdn.glitch.me or cdn.hyperdev.com for older projects.

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