Skip to content
noClapsPublic

About

A tool to generate Hayagriva citations from DOI URLs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

74 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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"
  abstract: "<jats:p>The characteristic theme of the works of Stone is the bridge between culture and society. Several narratives concerning the fatal flaw, and subsequent dialectic, of semioticist class may be found. Thus, Debord uses the term ‘the subtextual paradigm of consensus’ to denote a cultural paradox. The subject is interpolated into a neocultural discourse that includes sexuality as a totality. But Marx’s critique of prepatriarchialist nihilism states that consciousness is capable of significance. The main theme of Dietrich’s model of cultural discourse is not construction, but neoconstruction.Thus, any number of narratives concerning the textual paradigm of narrative exist. Pretextual cultural theory suggests that context must come from the collective unconscious.</jats:p>"
  url: "http://dx.doi.org/10.5555/12345678"
  serial-number:
    doi: "10.5555/12345678"
    issn: "0264-3561"
  parent:
    publisher: "Test accounts"
    title: "Journal of Psychoceramics"
    volume: "1"
    issue: "1"

Installation

You'll need Python (tested on Python 3.9.6 and 3.15.1) and curl. Both should be built-in on most Linux and macOS systems.

git clone https://github.com/noClaps/cite.git && cd cite
install ./cite ~/.local/bin/ # or somewhere else on your PATH

About

A tool to generate Hayagriva citations from DOI URLs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages