Skip to content

A tool to toot a description of an entry from a bibtex file

License

Notifications You must be signed in to change notification settings

christianp/tootbib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A command-line tool to toot a random entry from bib-site.

Requires Python 3.

To set up:

  • Register a new app with the Mastodon instance: tootbib register --mastodon <URL of your Mastodon instance>
  • Log in to Mastodon: tootbib login --mastodon <URL of your Mastodon instance> --email <your Mastodon account's email address> --password <your Mastodon account's password>

To use:

tootbib --api_base_url <URL of your Mastodon instance> --bibsite <URL of your bib-site instance> will pick a random entry and create a toot.

Other options:

  • --order <piece names separated by spaces> - specify the order in which the pieces of the toot should be assembled. Default is "title author collections abstract url pdf view"
  • --appfile <filename> - path to the file in which to store the token for your Mastodon app.
  • --userfile <filename> - path to the file in which to store the access token for your Mastodon account.

About

A tool to toot a description of an entry from a bibtex file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages