Badges
The OSCR badge goes in the README of a paper's code, on its Hugging Face card or on a lab's page. It says what the registry knows of the paper, and it links to the paper's page, where readers find the paper beside the code, its tracing map and its citation. Give a DOI or a repository's address below. The registry draws the badge from its own records, which it updates every night, so the badge stays up to date without any change on your side. The guide explains every option.
This repository is the code of several papers
The badge
Copy it
Its addresses
The paper's code
This list shows each repository the registry links to the paper, and whether its README already has the badge. Your browser reads this from the forge now. A link opens the README in the forge's own editor. Paste the snippet under the title, and the forge offers to commit it, or to open a pull request when you cannot write to the repository. OSCR does not write to any repository and does not ask for that permission.
Every repository at once
- On GitLab, one group badge appears on every project of the group (or of a whole instance). In the group's Settings, General, Badges, add a badge with these two addresses. GitLab fills in each project's path, and a project the registry does not know shows no badge.
- Link
https://openscicode.org/badge/repo/gitlab.com/%{project_path}- Badge image URL
https://openscicode.org/badge/repo/gitlab.com/%{project_path}.svg?missing=hide
- In your own clones, run
oscr badge --write. The researchers' command line writes the badge into the README between two marks, keeps it up to date and does not add it twice (see the guide). - When you are signed in with your ORCID iD, your account page lists the papers you are a verified author of, each with its badge and the repositories that do not have it yet.
Without the registry's server
Where an SVG drawn on demand cannot be used, use the static images. They never change and do not need the server: /badge.svg and, for LaTeX, a word processor or an email, /badge.png. Link them to the paper's page yourself.
![]()
[](https://openscicode.org/badge/doi/10.1234/abcd)
