Sign inSign up

crosswire/cbgm-app-server

By crosswire

•Updated 20 days ago

Data-less CBGM app server — log in via NTVMR, pick a project, import its apparatus on demand.

Image
0

3.5K

crosswire/cbgm-app-server repository overview

⁠crosswire/cbgm-app-server

Run the Coherence-Based Genealogical Method (CBGM) tool against your own NTVMR⁠ projects. Ships no data — you log in with your NTVMR account, pick a project, and import it on demand.

⁠Start it

You need Docker and an NTVMR account.

curl -O https://raw.githubusercontent.com/scribe777/intf-cbgm/vmrcre-auth-integration/docker/docker-compose.crosswire.yml
curl -O https://raw.githubusercontent.com/scribe777/intf-cbgm/vmrcre-auth-integration/docker/docker-compose.ai.yml

docker compose -f docker-compose.crosswire.yml up
docker compose -f docker-compose.crosswire.yml -f docker-compose.ai.yml up

For AI integration, create a .env file next to your .yml files downloaded above with the contents:

CLAUDE_CBGM_LOCAL_STEMMA_DEFAULT_MODEL=claude-sonnet-4-6
GEMINI_CBGM_LOCAL_STEMMA_DEFAULT_MODEL=gemini-3-flash-preview
OPENAI_CBGM_LOCAL_STEMMA_DEFAULT_MODEL=gpt-5.4
OPENAI_API_KEY=<YOUR_OPENAI_KEY>
ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_KEY>
GEMINI_API_KEY=<YOUR_GEMINI_API_KEY>
XAI_API_KEY=<YOUR_XAI_API_KEY>
PERPLEXITY_API_KEY=<YOUR_PERPLEXITY_API_KEY>
AI_DEFAULT_ENGINE=gemini

Then open http://localhost:8088⁠:

  1. Log In (you're sent to the NTVMR and back).
  2. Pick a project → Start CBGM.
  3. Wait for the import, then click Open.

That's it — you're in the CBGM tool.

Already using port 8088? Change the host side of "8088:5000" in the compose file to any free port and browse there instead.

Stop with docker compose -f docker-compose.crosswire.yml down. Your imported projects persist and reappear next time.


More: dump files, collaboration, permissions, config
⁠The "⋯" menu (per project)
  • Load from CBGM dump file — provision from an existing CBGM dump instead of the NTVMR (e.g. apparatus produced in ITSEE).
  • Reload from NTVMR — re-import, replacing the local copy.
  • Refresh All Decisions — apply every decision saved to the NTVMR so coherence/affinity analysis spans the whole project.
⁠Permissions
  • Running, importing, loading, and editing locally need only that you're logged in — no special role.
  • Saving decisions back to the NTVMR (where other editors see them) needs the per-project Project CBGM Editor role. Decisions save per user, per verse, so collaborators can hold and compare different decisions on the same verse.
⁠Configuration (compose environment)
variabledefaultmeaning
NTVMR_API_URLhttps://ntvmr.uni-muenster.de/community/vmr/api/NTVMR to authenticate against and import from
CBGM_SCHEMA_TEMPLATE_DBcbgm_templateempty schema each project DB is cloned from
CBGM_IMPORT_DELAY0.5seconds between apparatus requests
CBGM_START_ROLE(empty)if set, NTVMR role (prefixed CBGM ) required to start an import; empty = any logged-in user
CBGM_SAVE_ROLEProject CBGM Editorper-project role required to save decisions to the NTVMR
⁠Limitations
  • New Testament only (Matthew–Revelation).
  • NTVMR imports are firsthand Greek witnesses only (per CBGM).

Pairs with crosswire/cbgm-db-server⁠. Built from intf-cbgm⁠; CBGM tool by the INTF⁠, NTVMR integration by CrossWire⁠.

Tag summary

Content type

Image

Digest

sha256:69ef97058…

Size

187.5 MB

Last updated

20 days ago

docker pull crosswire/cbgm-app-server