Close

MirrorNetwork

Une infrastructure distribuée et multipartite

“Let us save what remains: not by vaults and locks which fence them from the public eye and use in consigning them to the waste of time, but by such a multiplication of copies, as shall place them beyond the reach of accident.”

— Thomas Jefferson

Pour prévenir la perte d’informations et simplifier l’accès au patrimoine logiciel de l’humanité, nous construisons un réseau international de miroirs.

Un miroir est une copie complète de l’archive universelle du code source construit par Software Heritage, exploitée en accord avec, mais indépendamment de l’organisation Software Heritage.

Cette page répertorie les miroirs actifs actuels et vous fournit des informations de base sur la manière de les utiliser.

ENEA Mirror


Le miroir ENEA est le premier miroir de Software Heritage à entrer en production. Il a été ouvert au public le 13 décembre 2023.

Accédez au miroir

Using a mirror

A mirror is a read-only copy of the main Software Heritage archive. As such, it must give access to the content of the archive, but it may not provide all the features the Software Heritage offers. 

Provided features

Each mirror will:

  • be mostly up to date with the main archive, there can be some lag, but it should be minimal, usually less than a few hours (not guaranteed),
  • give public access to the web UI allowing to browse the archive,
  • allow to search by origin URL,
  • give public access to (most) the public API (rate limited),

Differences

A mirror will behave differently from the Software Heritage archive:

  • Save Code Now will redirect to the main Software Heritage,
  • Add Forge Now will redirect to the main Software Heritage,
  • there is no Deposit service,
  • statistics and counters are not displayed on the main page,
  • the replication being asynchronous, a mirror is only eventually consistent. An object might temporarily missing from the mirror resulting in a 404 error message when browsing the mirror.

Optional Features

A mirror may optionally provide some of the features of the Software Heritage archive:

  • advanced search engine,
  • extended metadata,
  • advanced graph query API (REST and GRPC),
  • authentication for increased rate limiting API access.