Convert citation files to hayagriva YAML.
Supported file formats:
- Pubmed (
*.nbib) - BibLaTeX
- Support coming soon: RIS, EndNote XML, CSV
tohaya can be used as a web application at https://fnndsc.github.io/tohaya,
or as a command-line program.
# Convert file and create output file
tohaya citation.nbib --output bibliography.yml
# Alternatively, using pipes
cat citation.nbib | tohaya - >> bibliography.yml- Direct download from https://github.com/FNNDSC/tohaya/releases/latest
- Nix flakes: figure it out yourself
- Compile from source:
cargo install tohaya - cargo-binstall:
cargo binstall tohaya
The CLI can be developed as usual:
cargo testThe web app is a plain static HTML file found in web/.
It requires tohaya to be built using
wasm-pack.
A convenient development environment is provided using nix:
nix develop -c just- The upstream typst/hayagriva project provides the BibTeX -> hayagriva conversion library. It also has a CLI of its own.
- All input formats besides BibTeX are supported thanks to biblib
- Web app design is inspired by JonasLoos/bibtext-to-hayagriva-webapp
- Installation from PyPi using maturin
- Installation using pixi/mamba/conda
- Possible upstream integration with hayagriva, see typst/hayagriva#329