Scripts and utilities for transforming and preparing MARBLE data for use in Platform and Paratext
This repo assumes that you have access to MARBLE data from the ubsicap organization separately and have cloned the following repositories at the same level (i.e., as siblings in the directory hierarchy) as this repo:
- marble-enhanced-resources
- marble-indexes
- marble-lexicon
- marble-mappings
- marble-tools
Not all of these repositories may be used in scripts at this time. Those are just the known, expected sources of data for scripts and tools in this repository.
Node is pinned to 22.22.1 with Volta. Without Volta, use a Node version that satisfies engines in package.json.
-
Clone the repository:
git clone <repository-url> cd marble-tools -
Install dependencies:
npm installThe prebuilt
sqlite3binary for Linux needs glibc 2.38 or newer (Ubuntu 24.04+). On older distros, such as Ubuntu 22.04, the install detects this and buildssqlite3from source automatically, which needs Python, make and a C++ compiler. -
Run scripts as needed:
npm run convert-sdbg
This project is licensed under the MIT License. All data needed to run this project is licensed under separate terms.