Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
/ bibcli Public archive

A simple tool to manage your bibliography resources locally.

License

Notifications You must be signed in to change notification settings

ptrLx/bibcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer: This tool is currently unmaintained.

BibCLI

A simple tool to manage your bibliography resources locally.

Features

  • central repository for management of all resources
  • metadata storage in bibtex format
  • project specific reference management
  • selective bibtex generation for projects
  • Git integration

How?

BibCLI will create a central repository of all resources in ~/.bibcli. It will store all resources and bibtex files with metadata.

A specific project refers to resources from your central repository with a bib-ref file. BibCLI can generate a project specific bibtex file form the bib-ref.

Prerequisites

Git is set up correctly.

Installation

Babashka

  • Install babashka: bash < <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install)

  • Execute with

    bb -m bibcli.main <args>

Usage

Get started

bibcli initc --git

Your repository will be created in ~/.bibcli

(Origin can be added manually with git origin set <origin>)

Git automated commits

bibcli config --autocommit
bibcli config --no-autocommit

Git automated push

bibcli config --autopush
bibcli config --no-autopush

Add resources

bibcli addc <path>
bibcli addc <path> --bibtex <path> --commit --push
bibcli addc <path> --alias <alias name> --type article --commit --push

Alias or name is required for all resources

bibcli movec <path> --bibtex <path> --commit --push

Add configuration to a project

bibcli init --resources <alias 1> <alias 2> <alias 3>

List all resources

bibcli list

Add resources to a project

bibcli add -a <alias> -a <alias> -a <alias>

Remove

bibcli rm -a <alias> -a <alias> -a <alias>

Generate a .bib file from a file

bibcli generate --out out.bib

Get path

bibcli path <alias name>

~/.bibcli

/.bibcli
|-/.git
|-/res
  |-/<alias-name>
    |-/assets
    |-<resource>
    |-bib
.bibcli.json

~/.bibcli/config

{
  "autocommit": false,
  "autopush": false
}

project/bib-ref

<alias 1>
<alias 2>
<alias 3>

About

A simple tool to manage your bibliography resources locally.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published