Links to archived versions of InvenioRDM records in Archive-It.
pip install invenio-archive-it Copy PIP instructions
Archiving is set up per community. A community names the Archive-It collection that archives its website, for example collection 22103 for https://jabberwocky.weecology.org/. A job run from the admin UI looks up that website in the collection and stores on each of the community's records which of its URLs were captured, and when. The record's landing page sidebar lists them under External resources → Archived in, the same way Zenodo shows software archived in Software Heritage.
If the lookup fails or Archive-It refuses it, every record keeps its previous captures.
uv add git+https://codeberg.org/front-matter/invenio-archive-it Add the custom fields and the sidebar link to invenio.cfg. Merge them with any namespaces, custom fields and external links you already have:
from invenio_archive_it.custom_fields import ( ARCHIVE_IT_COMMUNITY_CUSTOM_FIELDS, ARCHIVE_IT_COMMUNITY_CUSTOM_FIELDS_UI, ARCHIVE_IT_CUSTOM_FIELDS, ARCHIVE_IT_NAMESPACE, ) from invenio_archive_it.links import archived_versions_render RDM_NAMESPACES = {**ARCHIVE_IT_NAMESPACE} RDM_CUSTOM_FIELDS = [*ARCHIVE_IT_CUSTOM_FIELDS] COMMUNITIES_CUSTOM_FIELDS = [*ARCHIVE_IT_COMMUNITY_CUSTOM_FIELDS] COMMUNITIES_CUSTOM_FIELDS_UI = [ARCHIVE_IT_COMMUNITY_CUSTOM_FIELDS_UI] APP_RDM_RECORD_LANDING_PAGE_EXTERNAL_LINKS = [ {"id": "archive_it", "render": archived_versions_render}, ] COMMUNITIES_NAMESPACES defaults to RDM_NAMESPACES, so ia covers both. To add the collection field to an existing community settings section instead of its own "Web archiving" section, add its entry from ARCHIVE_IT_COMMUNITY_CUSTOM_FIELDS_UI["fields"] to that section.
invenio rdm-records custom-fields init -f ia:captures invenio communities custom-fields init -f ia:collection Copy the sidebar icon into the instance's static folder with invenio collect (invenio-cli assets build runs it too).
To run lookups, open Update Archive-It captures under Administration → Jobs and start a run. Pick a community, or leave the field empty for every community with a collection. The module adds no Celery beat schedule.
Important: Misconfiguring ARCHIVE_IT_WAYBACK_URL will cause sidebar links to fail silently. The module validates the URL on startup; check the logs if configured endpoints are unreachable.
uv sync --all-extras uv run pytest uv run ruff check . uv run black --check . License MIT
archive-it internet archive invenio inveniordm wayback
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
The dropdown lists show the available interpreters, ABIs, and platforms.
Enable javascript to be able to filter the list of wheel files.
Copy a direct link to the current filters Copy
Details for the file invenio_archive_it-0.1.0.tar.gz.




