How to publish and cite code using GitHub and Zenodo
ฝัง
- เผยแพร่เมื่อ 10 ก.พ. 2025
- Quick tutorial on how to make code citable using GitHub and Zenodo
00:00 Why code should be citable
00:20 Overview of method
00:37 Uploading code to GitHub
01:13 My GitHub repository
01:32 Publishing your repository with GitHub
02:05 Publishing a release of your repository
02:36 Editing your publication
03:18 Citing your publication
03:31 Including your citation in your GitHub repository
I didn't include this is in the video, but you can also create a CITATION.cff file in your git repository that includes some metadata. Zenodo will then use the CITATION.cff file to pre-fill the metadata when the release is published. So you can do:
1) add software to GitHub;
2) add CITATION.cff file;
3) get a DOI with Zenodo.
4) edit the CITATION.cff file to add the DOI
Information on CITATION.cff files here: citation-file-...
I didn't include this is in the video, but you can also create a CITATION.cff file in your git repository that includes some metadata. Zenodo will then use the CITATION.cff file to pre-fill the metadata when the release is published. So you can do:
1) add software to GitHub;
2) add CITATION.cff file;
3) get a DOI with Zenodo.
4) edit the CITATION.cff file to add the DOI
Information on CITATION.cff files here: citation-file-format.github.io/
Thanks very much for explaining this so simply, much appreciated.
Glad it was helpful!
Super useful, Luke!
Glad you think so!