Check archival state of a source code repository and propose to update it if needed.

Latest Version

Version
0.6.8
Update
January 6, 2024
Size
87.36KiB
Developer
Category
Users
132
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
Tabs
ActiveTab
See more

UpdateSWH Extension

This extension checks if a software development repository visited by the user in a supported code hosting platform is archived and uptodate in Software Heritage. A color button on the right of the browser indicates if it is uptodate (green), in which case clicking on the button opens a tab on the corresponding page of the archive, missing (grey) or not up to date (yellow), in which case clicking on the button triggers a save code now request, and optionally shows the save request submitted to the Software Heritage archive.

A red color indicates that the API request of information for the repository did not succeed: this happens typically when one is visiting a repository that is not publicly accessible, and that naturally cannot be archived.

Bitbucket, GitHub, GitLab.com and GitLab instances on domain names of the shape gitlab.*.*, and Gitea instances of the shape gitea.*.* are supported out of the box. GitLab and Gitea instances on other domains can be added in the options panel.

More documentation is available on the website at https://www.softwareheritage.org/browser-extensions/
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "UpdateSWH", "version": "0.6.8", "manifest_version": 3, "description": "Check archival state of a source code repository and propose to update it if needed.", "icons": { "16": "img/icon-16.png", "32": "img/icon-32.png", "48": "img/icon-48.png", "64": "img/icon-64.png", "128": "img/icon-128.png" }, "action": { "default_title": "UpdateSWH", "default_popup": "popup.html", "default_icon": { "16": "/img/icon-16.png", "32": "/img/icon-32.png", "48": "/img/icon-48.png", "128": "/img/icon-128.png" } }, "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": [ "" ], "css": [ "css/updateswh.css" ], "js": [ "js/jquery-3.6.0.min.js", "updateswh.js" ] } ], "content_security_policy": { "extension_pages": "default-src 'self'; object-src 'self'; style-src 'self'; connect-src 'self' https://archive.softwareheritage.org/" }, "web_accessible_resources": [ { "matches": [ "" ], "resources": [ ] } ], "options_ui": { "page": "options.html", "open_in_tab": false }, "permissions": [ "storage", "tabs", "activeTab" ], "host_permissions": [ "" ]}
Read more

Similar Extensions

icon

Writefull for Overleaf Extension · Productivity 132 127 ★ 918KiB

icon

Bib CNRS URL Transformer Extension · Productivity 132 2 ★ 10.26KiB

icon

Open Access Helper Web Extension · Productivity 132 1 ★ 395KiB

icon

CORE Discovery Extension · Productivity 132 3 ★ 220KiB

icon

Open Access Button Extension · Productivity 132 19 ★ 20.1KiB

icon

BrainTool - Go Beyond Bookmarks Extension · Productivity 132 261 ★ 324KiB

icon

SingleFileZ Extension · Productivity 132 29 ★ 939KiB

icon

PubPeer Extension · Productivity 132 29 ★ 44.72KiB

icon

Obsidian Web Extension · Productivity 132 67 ★ 641KiB

icon

WARCreate Extension · Social & Communication 132 9 ★ 585KiB

icon

StreetPass for Mastodon Extension · Social & Communication 132 18 ★ 195KiB

icon

GPT2Markdown Extension · Productivity 132 9 ★ 50.98KiB

icon

Ophirofox Extension · News & Weather 132 5 ★ 90.78KiB

icon

Click and Read CNRS Extension · Productivity 132 8 ★ 3.0MiB

icon

Scholar with Code Extension · Productivity 132 10 ★ 28.72KiB

icon

BibSonomy Buttons Extension · Social & Communication 132 11 ★ 39.43KiB

icon

Redactek Extension · Productivity 132 6 ★ 152KiB

icon

detektIIIF3 Extension · Productivity 132 3 ★ 994KiB

icon

IPFS Companion Extension · Developer Tools 132 48 ★ 3.12MiB

icon

Browserpass Extension · Productivity 132 33 ★ 1.1MiB

icon

DOI Resolver Extension · Productivity 132 27 ★ 435KiB

icon

Cookie Backup and Restore Extension · Accessibility 132 19 ★ 478KiB

icon

GitHub Repository Explorer Extension · Accessibility 132 4 ★ 16.38KiB

icon

Webrecorder ArchiveWeb.page Extension · Productivity 132 21 ★ 11.12MiB

User reviews

icon

Ben Greenman (ID: 0000003135610fdc) Voted 5 ★ - Updated 09/18/2022 Awesome! Very handy & informative. Love the quick links to the Software Heritage archive.

icon

Kumar Shivendu (ID: 00000068da44a897) Voted 5 ★ - Updated 08/11/2022 Nice. Works like charm!