Archivarix

code-archive

Software Heritage

A universal archive of source code, the 'Library of Alexandria of code', preserving over 20 billion unique source files from more than 350 million projects. You can search for projects, look up files by hash (sha1/sha256/git), and resolve permanent SWHID identifiers, on the website or through its keyless REST API. The place to go when a repository has vanished from its original host, or when you need to identify a file by its hash.

Software / packages API

Warum es nützlich ist & wie es funktioniert

Software Heritage is the closest thing to a universal safety net for source code: it continuously crawls public repositories from GitHub, GitLab, package managers like PyPI and npm, and dozens of other forges, preserving every unique file and commit with a permanent SWHID identifier. A researcher reaches for it when a repository has disappeared from its original host, when they need to pinpoint an exact file by its cryptographic hash, or when they want a stable, citable reference to a specific version of code. You can search by project name or URL to find archived origins, look up a file directly by its SHA-1, SHA-256, or git hash, or resolve an SWHID to jump straight to a preserved snapshot.

Was drinsteckt

Over 20 billion unique source files and 350 million software projects preserved, drawn from forges, package repositories, and FOSS distributions worldwide. The archive crossed 2 petabytes of stored data in 2025.

API-Zugang

https://archive.softwareheritage.org/api/1/ , /content/sha1:<h>/, /content/sha256:<h>/, /origin/search/<text>/, /resolve/<SWHID>/

Zugang

Programmatic API access (a key may be required, see the API tag).

Startseite

https://archive.softwareheritage.org/