GithubHelp home page GithubHelp logo

gen-biblio's Introduction

Warning Archived. Use Zotero instead

Generate Bibliographies

So, I use pages and find it repugnant that one has to purchase a more-than-200-euros expensive program to create a bibliography. That's why I bodged together this; a small library that does that, but free (and probably not as well).

Usage

With npx

Navigate to a directory in which this library can create a json file and run:

npx github:drinking-code/gen-biblio

A browser window will open, and you will be prompted to enter a file name for the file in which the bibliography data is stored. Do that and hit enter, and the file will be created.
To open this file after you closed this gen-biblio program use:

npx github:drinking-code/gen-biblio path/to/your/file.json

Without npx

Install the package:

npm i -g drinking-code/gen-biblio

Navigate to a directory in which this library can create a json file and run:

gen-biblio

A browser window will open, and you will be prompted to enter a file name for the file in which the bibliography data is stored. Do that and hit enter, and the file will be created.
To open this file after you closed this gen-biblio program use:

gen-biblio path/to/your/file.json

Adding a DOI entry

Choose the style and locale first.

To add an entry, enter a DOI or the DOI url, and hit enter. The program will automatically fetch the data and the appropriate citation for you. This may take a couple seconds, the DOI are slow (lol).

Adding a non-DOI entry

Change the tab at the very top to "Custom (Book, Article without DOI, etc.)". Then, choose a type of entry and fill out the fields. All fields are optional. The authors field has a "Parse name" variant. Paste names here, and click parse ( this should parse the string of all names neatly into multiply authors).
The rest should be self-explanatory.
The program will automatically format the reference for you.

Generate a bibliography

Click "Generate Bibliography" (on the right above the table), then "Copy". Paste where you want the bibliography. Entries, where you clicked "Don't output" will be excluded.

gen-biblio's People

Contributors

drinking-code avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.