Skip to content

Provides an firefox extension to create citations in the hayagriva format used by typst

License

Notifications You must be signed in to change notification settings

MordragT/bib_kit

Repository files navigation

Bib Kit - Hayagriva Extension for Firefox 📚

This extension allows retrieving website information to create citations in the hayagriva format.

Warning

This extension is highly experimental. Bugs are expected. If you encounter any feel free to create issues. I do not recommend using the extension at this state. If you are curious however what is working so far you can install the extension here

Screenshot

Screenshot Medium

Roadmap

  • create more data extractors (e.g. dublin-core)
  • better error handling (expose errors better to javascript)
  • better data validation

Building

With Nix

When you have the nix package manager installed you can just go into the root directory of this project and follow these instructions:

  1. Run nix develop to create a shell with all necessary programs and dependencies
  2. Go into the html-meta directory and run just build
  3. Go back to the main directory and run just build
  4. The extension should be built inside the build directory

Other Platforms

Install the following packages on your system:

  • just: Task runner similar to make
  • wasm-pack: Used to create the wasm bindings
  • web-ext: Used to build the extension
  • cargo: Rust's package manager and build tool

Make sure your Rust installation is able to target wasm32-unknown-unknown

  1. Go into the html-meta directory and run just build
  2. Go back to the main directory and run just build
  3. The extension should be built inside the build directory

License

The icon made by Iconsax and all the source code is published under the MIT license.

References

  • Hayagriva - the citation format
  • Typst - a new markup-based typesetting format

Acknowledgements

  • Icon - made by Iconsax

About

Provides an firefox extension to create citations in the hayagriva format used by typst

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published