Skip to content

noClaps/cite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cite

A tool to generate Hayagriva citations from DOI URLs.

Usage

To use cite, you need to pass in a DOI URL to fetch:

cite 10.5555/12345678                    # using DOI identifier
cite https://doi.org/10.5555/12345678    # using DOI URL

This will print the Hayagriva YAML object (with 2 space indentation) for you to paste into your references file.

  type: "article"
  title: "Toward a Unified Theory of High-Energy Metaphysics: Silly String Theory"
  author:
    - "Carberry, Josiah"
  date: "2008-02-29"
  serial-number:
    doi: "10.5555/12345678"
  parent:
    publisher: "Test accounts"
    title: "Journal of Psychoceramics"
    volume: "1"
    issue: "1"

Build instructions

You can build it from source using Rust:

cargo install --git https://github.com/noClaps/cite

About

A tool to generate Hayagriva citations from DOI URLs

Resources

License

Stars

Watchers

Forks

Contributors

Languages