Skip to content

mpedramfar/zotra-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zotra server

A small wrapper around Zotero translation server that adds support for fetching attachments and can be run from the command-line.

Installation

First install nodejs. Then clone the repo and its submodules with

git clone --recurse-submodules https://github.com/mpedramfar/zotra-server.git

Then you can install Zotra server with

cd zotra-server
npm install .
cd module/translation-server/
npm install .

Usage

Run the server with node /path/to/zotra-server/bin/index.js server or npm start in the repository root. Run node /path/to/zotra-server/bin/index.js --help to see the command-line options. See Zotero translation server for more details.

Configuration

The configuration file is located at config/default.json5 The only configuration option that is specific to this library is tryServerFirst. When this is true and Zotra server is being called from the command-line, it will try to connect to a running instance of Zotra server (or Zotero translation server) first and if it fails, then tries without the server.

Acknowledgements

The ability to handle attachments is based on a patch suggested by @noctux

About

No description, website, or topics provided.

Resources

License

Stars

18 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors