{"id":1304,"date":"2022-10-14T18:18:16","date_gmt":"2022-10-14T18:18:16","guid":{"rendered":"https:\/\/www.lib.uiowa.edu\/data\/?page_id=1304"},"modified":"2026-06-16T13:41:24","modified_gmt":"2026-06-16T13:41:24","slug":"share-and-preserve-your-code","status":"publish","type":"page","link":"https:\/\/www.lib.uiowa.edu\/data\/share-and-preserve-your-code\/","title":{"rendered":"Share &amp; Preserve Code via Zenodo"},"content":{"rendered":"<p><a href=\"#github\">Set Up a GitHub Repository<\/a> | <a href=\"#connect\">Connect GitHub &amp; Zenodo<\/a> | <a href=\"#snapshot\">Send a snapshot of code to Zenodo<\/a> | <a href=\"#details\">Add important details to Zenodo<\/a> | <a href=\"#community\">Add to the UIowa Community<\/a> | <a href=\"#badge\">Get a badge!<\/a><\/p>\n<p>Publishing your code offers many benefits. In addition to <strong>preserving<\/strong> your code and making it <strong>accessible<\/strong> to others, publishing also ensures others can <strong>cite<\/strong> it, <strong>reproduce<\/strong> it, and helps you contribute to the <strong>open science<\/strong> movement.<\/p>\n<p>Having your code in GitHub is not enough for long-term reproducibility for your code. By using Zenodo, which is a repository, the code remains publicly available, even if GitHub goes away.<\/p>\n<p>This page outlines the steps for connecting <a href=\"https:\/\/github.com\/\" target=\"_blank\" rel=\"noopener\">Github <i class=\"fas fa-external-link-alt\"> <\/i><\/a> (for code development) with <a href=\"https:\/\/zenodo.org\/\" target=\"_blank\" rel=\"noopener\">Zenodo <i class=\"fas fa-external-link-alt\"> <\/i><\/a> (for preserving and sharing code), so you can take advantage of both systems:<\/p>\n<ul>\n<li>Zenodo preserves snapshots of the code and creates a citable DOI for your software, with information that enables others to find and cite it, and<\/li>\n<li>When you create new versions in GitHub, you can quickly publish them in Zenodo.<\/li>\n<\/ul>\n<p>Below is a summary of the steps for connecting GitHub with Zenodo, and publishing snapshots of code in Zenodo. Click on images to expand them.<\/p>\n<h2 id=\"github\">A. Create a GitHub repository, if you don&#8217;t already have one<\/h2>\n<p>These steps prepare the GitHub repository for the snapshot that will go into Zenodo. If you already have a GitHub repository to share, open it, make sure it is <a href=\"#public\">set to public<\/a>, then go to <a href=\"#archive\">Step B: Connect your GitHub and Zenodo accounts<\/a>.<\/p>\n<p style=\"padding-left: 40px;\">1. Log in to <a href=\"https:\/\/github.com\/login\" target=\"_blank\" rel=\"noopener\"><strong>GitHub<\/strong><\/a>.<\/p>\n<p style=\"padding-left: 40px;\">2. Create a new repository:<\/p>\n<p style=\"padding-left: 80px;\">Click the green \u201cNew\u201d repository button in the repositories section (top of the page, left side),<\/p>\n<p style=\"padding-left: 80px;\">OR<\/p>\n<p style=\"padding-left: 80px;\">Click the plus sign (+) on the upper right side of the page, and click on &#8220;New Repository.&#8221;<\/p>\n<p style=\"padding-left: 80px;\"><em>NOTE: If you have never created a GitHub repository before, the Top repositories section will have a green &#8220;Create repository&#8221; button instead.\u00a0<\/em><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2809\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark aligncenter wp-image-2809 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/1_Screenshot2025-03-06-101242-1024x409.png\" alt=\"Screenshot of GitHub homepage with a red circle around the green &quot;New&quot; repository&quot; button on the left side of the page, and a red circle around the plus sign on the upper right side of the page, which has been clicked on and opens a menu with &quot;New repository&quot; as the first option.\" width=\"620\" height=\"248\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/1_Screenshot2025-03-06-101242-1024x409.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/1_Screenshot2025-03-06-101242-300x120.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/1_Screenshot2025-03-06-101242-768x307.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/1_Screenshot2025-03-06-101242-1536x613.png 1536w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/1_Screenshot2025-03-06-101242-2048x818.png 2048w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">3. Provide some details about your code. These will be pulled into the Zenodo system later:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul style=\"list-style-type: disc;\">\n<li>Choose a descriptive <strong>Repository name<\/strong> (you can modify this later in Zenodo).<\/li>\n<li>Write a brief <strong>Description<\/strong> of what the code does. A longer description can be provided in the <strong>Readme<\/strong>, (#5 below).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2844\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark aligncenter wp-image-2844 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Choose_name_and_description-1024x429.png\" alt=\"\" width=\"620\" height=\"260\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Choose_name_and_description-1024x429.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Choose_name_and_description-300x126.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Choose_name_and_description-768x322.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Choose_name_and_description.png 1309w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p id=\"public\" style=\"padding-left: 40px;\">4. Make the GitHub repository<strong> public<\/strong> (screenshot below).<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul style=\"list-style-type: disc;\">\n<li>This is required in order to send a copy of the code to Zenodo.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\">5. Add a <a href=\"https:\/\/www.lib.uiowa.edu\/data\/share-and-preserve-your-code\/documenting-your-code\/#readme\"><strong>README file<\/strong><\/a> about the code now, or add it later (just make sure you include one!)<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul style=\"list-style-type: disc;\">\n<li>Readme files help others find and understand your code. Use text (.txt) or markdown (.md) format for documenting code.<\/li>\n<li>See <a href=\"https:\/\/www.lib.uiowa.edu\/data\/share-and-preserve-your-code\/documenting-your-code\/\">code documentation guidelines<\/a>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\">6. <strong>Optional:<\/strong> choose which files <strong>not<\/strong> to track (if applicable) &#8211; more about <a href=\"https:\/\/docs.github.com\/en\/get-started\/git-basics\/ignoring-files\" target=\"_blank\" rel=\"noopener\">.gitignore here<\/a>.<\/p>\n<p style=\"padding-left: 40px;\">7. Choose a license for sharing your code (see <a href=\"https:\/\/www.lib.uiowa.edu\/data\/share-and-preserve-your-code\/software-and-code-licenses\/\">common software licenses<\/a>).<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2729\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark aligncenter wp-image-2729 size-large\" style=\"border: black solid 1px;\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Make-repository-public-add-README-choose-license-1-1024x717.png\" alt=\"Screenshot showing steps 4-7 with each step labeled with a red circled number\" width=\"620\" height=\"434\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">8. When you&#8217;re done, click the green &#8220;Create repository&#8221; button at the bottom of the page. Now you&#8217;ve created a GitHub repository.<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2857\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark aligncenter wp-image-2857 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Create_GitHub_Repository-1024x302.png\" alt=\"\" width=\"620\" height=\"183\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Create_GitHub_Repository-1024x302.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Create_GitHub_Repository-300x89.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Create_GitHub_Repository-768x227.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Create_GitHub_Repository.png 1080w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p id=\"visibility\" style=\"padding-left: 40px;\">9. If you later need to change the visibility of the GitHub repository, go to settings and scroll down to DANGER ZONE, where you can change that and several other settings. This will not affect the code published in Zenodo (which is covered in the next section below).<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2930\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark alignnone wp-image-2930 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/09\/GitHubDangerZone-e1758654330597-1024x725.png\" alt=\"Screenshot of GitHub repository settings page Danger Zone section with Change Visibility button highlighted in red\" width=\"620\" height=\"439\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/09\/GitHubDangerZone-e1758654330597-1024x725.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/09\/GitHubDangerZone-e1758654330597-300x213.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/09\/GitHubDangerZone-e1758654330597-768x544.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/09\/GitHubDangerZone-e1758654330597-1536x1088.png 1536w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/09\/GitHubDangerZone-e1758654330597-2048x1451.png 2048w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<h2 id=\"connect\">B. Connect your GitHub and Zenodo accounts<\/h2>\n<p style=\"padding-left: 40px;\">1. Don&#8217;t have a <a href=\"https:\/\/zenodo.org\/\">Zenodo account <i class=\"fas fa-external-link-alt\"> <\/i><\/a>? You can set one up via your GitHub or ORCID accounts, or you can choose to link them after account creation.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2694\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark alignnone wp-image-2694 size-medium\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Sign-in-with-GitHub-237x300.png\" alt=\"Screenshot showing step 1.\" width=\"237\" height=\"300\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Sign-in-with-GitHub-237x300.png 237w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Sign-in-with-GitHub-809x1024.png 809w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Sign-in-with-GitHub-768x972.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Sign-in-with-GitHub.png 853w\" sizes=\"auto, (max-width: 237px) 100vw, 237px\" \/><\/a><\/p>\n<p><em>NOTE: Zenodo may prompt you to authorize GitHub:\u00a0<\/em><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2826\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark alignnone wp-image-2826 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Authorize_Zenodo_connectto_Github-1024x517.png\" alt=\"Screenshot showing Zenodo being authorized to connect to GitHub\" width=\"620\" height=\"313\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Authorize_Zenodo_connectto_Github-1024x517.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Authorize_Zenodo_connectto_Github-300x152.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Authorize_Zenodo_connectto_Github-768x388.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Authorize_Zenodo_connectto_Github-1536x776.png 1536w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/Authorize_Zenodo_connectto_Github.png 1920w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">2. If you need to link an existing <a href=\"https:\/\/zenodo.org\/\">Zenodo account <\/a>\u00a0with GitHub: log-in to Zenodo and go to <strong>Settings &gt; Linked Accounts<\/strong><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul style=\"list-style-type: disc;\">\n<li>We also recommend linking your Zenodo and <a href=\"https:\/\/guides.lib.uiowa.edu\/c.php?g=543776&amp;p=3726256\" target=\"_blank\" rel=\"noopener\">ORCID <i class=\"fas fa-external-link-alt\"> <\/i><\/a> accounts, so your code published in Zenodo will automatically appear in your ORCID profile.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2 id=\"snapshot\">C. Send a snapshot of your GitHub repository to Zenodo<\/h2>\n<p style=\"padding-left: 40px;\">1. <strong>In Zenodo<\/strong>: now that Zenodo and GitHub are linked, you can see a list of your GitHub repositories by navigating to the GitHub button in the drop-down menu in the top-right hand corner.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2738\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark alignnone wp-image-2738 size-medium\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-GitHub-from-dropdown-menu-3-300x254.png\" alt=\"Screenshot showing dropdown menu on Zenodo with a red border around the dropdown menu indicator and a red circle around &quot;GitHub&quot; near the bottom of the dropdown list.\" width=\"300\" height=\"254\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-GitHub-from-dropdown-menu-3-300x254.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-GitHub-from-dropdown-menu-3-1024x866.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-GitHub-from-dropdown-menu-3-768x650.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-GitHub-from-dropdown-menu-3.png 1050w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul style=\"list-style-type: disc;\">\n<li>If needed, choose \u201cSync Now\u201d to update the list.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"padding-left: 40px;\">Your list might look something like this:<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2859\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark aligncenter wp-image-2859 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/GitHub_Repositories_List-1024x460.png\" alt=\"\" width=\"620\" height=\"279\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/GitHub_Repositories_List-1024x460.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/GitHub_Repositories_List-300x135.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/GitHub_Repositories_List-768x345.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/GitHub_Repositories_List.png 1050w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">2. Select the GitHub repository that you want preserve and share in Zenodo, and toggle the &#8220;on&#8221; button next to it.<\/p>\n<p style=\"padding-left: 80px;\"><em>NOTE: If the GitHub repository is not displayed in the list after syncing, make sure it is <a href=\"#public\">set to public visibility in the GitHub repository settings (A.4 above)<\/a>.\u00a0<\/em><\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2850\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark aligncenter wp-image-2850 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/FlipSwitch_2-1-1024x460.png\" alt=\"\" width=\"620\" height=\"279\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/FlipSwitch_2-1-1024x460.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/FlipSwitch_2-1-300x135.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/FlipSwitch_2-1-768x345.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/FlipSwitch_2-1.png 1050w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">3. Now click on the name of that repository to open it.<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2851\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark aligncenter wp-image-2851\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/ClickOnRepositoryName-300x56.png\" alt=\"\" width=\"620\" height=\"116\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/ClickOnRepositoryName-300x56.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/ClickOnRepositoryName-768x144.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/04\/ClickOnRepositoryName.png 992w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">4. <strong>Now you&#8217;ll be in GitHub,<\/strong> to fill in the following details:<\/p>\n<p style=\"padding-left: 80px;\"><strong>Tag<\/strong> (version): The &#8220;tag&#8221; field is the version number. (<strong>If this is your first release<\/strong> (e.g., version 1.o.o), the entry for the &#8220;tag&#8221; would be &#8220;v1.0.0&#8221;).<\/p>\n<p style=\"padding-left: 80px;\"><strong>Release title:<\/strong> Provide a title for this release.<\/p>\n<p style=\"padding-left: 80px;\"><strong>Describe this release:<\/strong> For instance, if this is a revision of a previous release, describe the changes that have been made.<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/share-and-preserve-your-code-2\/complete-the-fields-for-the-release\/\" rel=\"attachment wp-att-2743\"><img loading=\"lazy\" decoding=\"async\" class=\"border--dark aligncenter wp-image-2743 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Complete-the-fields-for-the-release-1024x699.png\" alt=\"Screenshot showing GitHub page with red borders around the tag information, title information, and description information.\" width=\"620\" height=\"423\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Complete-the-fields-for-the-release-1024x699.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Complete-the-fields-for-the-release-300x205.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Complete-the-fields-for-the-release-768x524.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Complete-the-fields-for-the-release.png 1165w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">5. Click the \u201cPublish Release\u201d button at the bottom left hand side of the page.<\/p>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2744\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2744 size-large\" style=\"border: black solid 1px;\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-Publish-Release-1024x760.png\" alt=\"Screenshot from GitHub showing the Publish Release page with the green &quot;Publish Release&quot; button circled in red.\" width=\"620\" height=\"460\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-Publish-Release-1024x760.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-Publish-Release-300x223.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-Publish-Release-768x570.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-Publish-Release.png 1034w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<h2 id=\"details\">D. Add details to the Zenodo record<\/h2>\n<p>These details make your code easier to find, and connect it to data, publications and grants.<\/p>\n<p>1. Return to Zenodo and access GitHub through Zenodo, you should see your repository listed under \u201cEnabled Repositories\u201d with a blue DOI button next to it. <em>(If it\u2019s not there, choose \u201cSync Now\u201d).<\/em><\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/share-and-preserve-your-code-2\/blue-doi-on-zenodo\/\" rel=\"attachment wp-att-2750\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2750 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Blue-DOI-on-Zenodo-1024x447.png\" alt=\"Screenshot of Zenodo showing blue DOI button\" width=\"620\" height=\"271\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Blue-DOI-on-Zenodo-1024x447.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Blue-DOI-on-Zenodo-300x131.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Blue-DOI-on-Zenodo-768x336.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Blue-DOI-on-Zenodo.png 1071w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p><strong>In Zenodo, you can now:<\/strong><\/p>\n<p>1. Use Zenodo to edit the archive and\/or publish a new version.<\/p>\n<p>2. Add a description of the code and other details that will help others find, understand, and use your code.<\/p>\n<p><em>For tips and best practices, see <a href=\"https:\/\/www.lib.uiowa.edu\/data\/share-and-preserve-your-code\/documenting-your-code\/\" target=\"_blank\" rel=\"noopener\">Documenting Your Code<\/a>.<\/em><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"community\">E. Add your Zenodo code deposit to the University of Iowa Community in Zenodo<\/h2>\n<p><em>This will allow other UI researchers to easily find your code (and for you to find theirs!)<\/em><\/p>\n<p style=\"padding-left: 40px;\">1. In Zenodo, from your list of records, click the DOI link for the record you want to associate with the University of Iowa.<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2745\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2745 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-the-DOI-link-1024x814.png\" alt=\"Screenshot in Zenodo showing the GitHub release with DOI bordered in red.\" width=\"620\" height=\"493\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-the-DOI-link-1024x814.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-the-DOI-link-300x239.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-the-DOI-link-768x611.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-the-DOI-link.png 1030w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">2. Find the &#8220;Communities&#8221; section on the right hand side of your screen and click the cog icon.<\/p>\n<p style=\"padding-left: 80px;\"><em>NOTE: You may need to scroll down to find it.<\/em><\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2746\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2746 size-large\" style=\"border: black solid 1px;\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Find-the-Communities-Section-1024x434.png\" alt=\"Screenshot in Zenodo of the Communities section. There is a border around the section.\" width=\"620\" height=\"263\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Find-the-Communities-Section-1024x434.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Find-the-Communities-Section-300x127.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Find-the-Communities-Section-768x326.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Find-the-Communities-Section.png 1030w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">3. Select &#8220;Submit to community&#8221; from the drop down menu.<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2747\" rel=\"attachment wp-att-2703\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2747 size-large\" style=\"border: black solid 1px;\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Submit-to-Community-1-1024x548.png\" alt=\"Screenshot of Zenodo with the dropdown menu of the communities section. There is a red circle around &quot;Submit to community&quot;\" width=\"620\" height=\"332\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Submit-to-Community-1-1024x548.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Submit-to-Community-1-300x160.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Submit-to-Community-1-768x411.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Submit-to-Community-1.png 1030w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">4. Search for and choose the University of Iowa community.<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2704\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2704 size-large\" style=\"border: black solid 1px;\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-University-of-Iowa-1024x328.png\" alt=\"Screenshot of step 4.\" width=\"620\" height=\"199\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-University-of-Iowa-1024x328.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-University-of-Iowa-300x96.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-University-of-Iowa-768x246.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-University-of-Iowa-1536x492.png 1536w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Select-University-of-Iowa-2048x656.png 2048w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p style=\"padding-left: 40px;\">5. Confirm the information, then submit it to the community.<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2705\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2705 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Confirm-information-1024x739.png\" alt=\"Screenshot showing step 5.\" width=\"620\" height=\"447\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Confirm-information-1024x739.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Confirm-information-300x216.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Confirm-information-768x554.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Confirm-information.png 1497w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<h2 id=\"badge\">E. Get a badge!<\/h2>\n<p>Create a badge to add to your GitHub page, which links to the published code in Zenodo.<\/p>\n<p>1. Click the blue DOI button to copy the badge in Markdown and add it to your README in GitHub.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2707\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2707 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-blue-DOI-1024x403.png\" alt=\"Screenshot of DOI badge, described above.\" width=\"620\" height=\"244\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-blue-DOI-1024x403.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-blue-DOI-300x118.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-blue-DOI-768x302.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-blue-DOI-1536x604.png 1536w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Click-blue-DOI.png 1920w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.lib.uiowa.edu\/data\/?attachment_id=2708\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2708 size-large\" src=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Copy-Markdown-e1741032654198-1024x889.png\" alt=\"Screenshot of markdown language for DOI badge.\" width=\"620\" height=\"538\" srcset=\"https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Copy-Markdown-e1741032654198-1024x889.png 1024w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Copy-Markdown-e1741032654198-300x260.png 300w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Copy-Markdown-e1741032654198-768x667.png 768w, https:\/\/www.lib.uiowa.edu\/data\/files\/2025\/03\/Copy-Markdown-e1741032654198.png 1162w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/p>\n<hr \/>\n<h3>What does sharing code via Zenodo do for you?<\/h3>\n<p>Zenodo is an <strong>open repository that <\/strong><\/p>\n<ul>\n<li><strong>preserves your code,<\/strong><\/li>\n<li><strong>provides access to it, <\/strong>and<\/li>\n<li><strong>makes it easier for others to find it<\/strong> (if you provide a readme and other information).<\/li>\n<\/ul>\n<p>By connecting your Zenodo and GitHub accounts, it&#8217;s much easier to preserve and share each new version\/release of GitHub code in Zenodo.<\/p>\n<ul>\n<li>Each submission in Zenodo will be assigned a unique DOI (digital object identifier), so your code can be cited by others.<\/li>\n<\/ul>\n<p><strong>Archiving in Zenodo requires two steps:<\/strong><\/p>\n<ol>\n<li>Linking your GitHub repository with Zenodo, and then<\/li>\n<li>Creating and publishing a release of your GitHub repository in Zenodo.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Set Up a GitHub Repository | Connect GitHub &amp; Zenodo | Send a snapshot of code to Zenodo | Add important details to Zenodo | Add to the UIowa Community [&hellip;]<\/p>\n","protected":false},"author":163,"featured_media":0,"parent":0,"menu_order":23,"comment_status":"closed","ping_status":"closed","template":"pagetpl-data.php","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[],"tags":[],"class_list":["post-1304","page","type-page","status-publish","hentry","","data","wp-json","wp","v2","pages","1304"],"_links":{"self":[{"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/pages\/1304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/users\/163"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/comments?post=1304"}],"version-history":[{"count":33,"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/pages\/1304\/revisions"}],"predecessor-version":[{"id":3335,"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/pages\/1304\/revisions\/3335"}],"wp:attachment":[{"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/media?parent=1304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/categories?post=1304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lib.uiowa.edu\/data\/wp-json\/wp\/v2\/tags?post=1304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}