This is now archived as it is not by us anymore.
Chalmers Library middleware for transferring bibliographic data from Swedish Union Catalog LIBRIS to library service platform FOLIO.
Chami fetches bibliographic records from LIBRIS, transforms them from MARC-XML into Inventory json objects, and posts (or puts) them to FOLIO as Inventory instances. In its current version, Chami uses OAI-PMH for fetching individual records on demand, and LIBRIS' export API to fetch batches of records for specific time intervals.
With one click, cataloguers can add a new instance from LIBRIS to FOLIO. When the cataloguer is on the page of an instance record in LIBRIS and clicks the Chami bookmarklet, Chami sends a request to LIBRIS' OAI-PMH server for the record at hand.
The record is transformed and added to FOLIO (as a new record, or updating an existing one), and the cataloguer is automatically redirected from LIBRIS the new/updated instance in FOLIO Inventory.
In order to keep Inventory up to date with changes to bibliographic instances in LIBRIS, whether made by Chalmers or by any other library in the LIBRIS community, Chami regularly fetches all updates made to LIBRIS isntances with Chalmers holdings. For this, Chami makes a request to the LIBRIS MARC21 export API.
TBA
Chami is built with NodeJS, so first Install NodeJS using your favourite package manager:
choco install nodejs
Choclatey (Windows)
brew install node
Homebrew (MacOS)
Linux users will know what to use.
An alternative is the official installers as well.
Clone it into your computer. Open up a terminal and get to the root catalog
run npm install
To run chami locally create a config.json
or make a copy of config.json.example
file in the root folder of the project and insert your information. You need to specify the urls and authentication information to your Folio and Elastic server. serverurl
variable is used by the bookmarklet.
run npm test
run npm run dev
run npm start