Skip to content

DOI registration bot for web annotations, optimized for use by the Heidelberg University Library.

License

Notifications You must be signed in to change notification settings

UB-Heidelberg/anno-doi-bot-23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anno-doi-bot-23

DOI registration bot for web annotations, optimized for use by the Heidelberg University Library.

Installation

  1. Ensure you have the prerequisites:
    • Ubuntu 22.04 or later
    • Node.js v20 or later
  2. Clone this repo and chdir to your clone's top directory.
  3. Run npm install .
  4. Continue at chapter "Configuration".

Configuration

  • You can modify the configuration at any time. Changes will take effect the next time the DOI bot runs.
  • The available config options can be found (not: modified) in the default settings file.
  • To customize configuration, create a subdirectory named config, and in there, one or more text files whose name ends in .rc (e.g. basics.rc).
    • All these files are read in your locale's sorting order, which may or may not be case-sensitive. For reliable ordering, start all filenames with a fixed number of digits, e.g. 010_basics.rc, 023_doi_format.rc, 080_hotfixes.rc.

Usage

  • manually: Run ./doibot.sh
  • via cron or a similar scheduler: Configure a schedule that runs /path/to/this/repo/doibot.sh cron_task

Known issues

  • Needs more/better tests and docs.

 

License

MIT

About

DOI registration bot for web annotations, optimized for use by the Heidelberg University Library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages