#bibtex #doi #entry #generate #cli-tool #io #bib-tex

app bibget

CLI tool to generate a BibTex entry from a DOI

9 releases (5 stable)

1.0.4 Nov 30, 2023
1.0.3 Aug 7, 2023
1.0.2 May 24, 2023
1.0.1 Mar 28, 2023
0.0.1 Jan 27, 2023

#364 in Command line utilities

Download history 11/week @ 2024-02-18 8/week @ 2024-02-25 4/week @ 2024-03-10 61/week @ 2024-03-31

65 downloads per month

MIT/Apache

21KB
50 lines

bibget

CI crates.io dependency status MIT

CLI tool to generate a BibTex entry from a DOI. Written in Rust and based on the doi2bib crate.

Installation

bibget can be installed from source using cargo

# release version from crates.io
cargo install bibget 

# development version from GitHub
cargo install --git https://github.com/nathansam/bibget.git bibget 

Usage

bibget supports an optional -f/--file argument for writing the BibTex entry to a file. The file will automatically be created if it does not already exist. If the file exists then the entry will be appended to the file.

> bibget -f test.bib 10.1002/sim.1186
@article{Higgins_2002,
	doi = {10.1002/sim.1186},
	url = {https://doi.org/10.1002%2Fsim.1186},
	year = 2002,
	publisher = {Wiley},
	volume = {21},
	number = {11},
	pages = {1539--1558},
	author = {Julian P. T. Higgins and Simon G. Thompson},
	title = {Quantifying heterogeneity in a meta-analysis},
	journal = {Statistics in Medicine}
}

Dependencies

~9–24MB
~351K SLoC