Cite My Code works by pulling preferred citation information from CITATION.cff files. The CITATION.cff file needs to be located in root of the repository you would like to cite. If you want to make sure Cite My Code can be used to cite your software, you will need to create a CITATION.cff for your repo.
-
Clone or download the Cite My Code repository
-
Go to your Chrome Preferences menu, and click Extensions
- Once you are on the Extensions page, turn on Developer mode
- Turning on Developer mode will show you new buttons - click on the button labeled "Load unpacked"
- Navigate to your copy if the Cite My Code repository and click Select
You're done! Now when you navigate to a GitHub repo that contains a CITATION.cff, a green button will appear on the right side of your browser window. If you click that button, BibTeX will be generated that you can copy and paste into whatever tools you use to manage your bibliographies.