Clone a Demo Database

Open inAnthropic

TerminusCMS is now DFRNT Hub TerminusCMS has been renamed to DFRNT Hub. All features described on this page are available at dfrnt.com. The TerminusDB open source database remains unchanged.

Clone a pre-populated demo database from the public templates server to your local TerminusDB instance. No account required — just a running TerminusDB on localhost:6363.

Available templates

The public templates server at data.terminusdb.org hosts curated datasets you can clone in one command:

TemplateDocumentsUse case
Star Wars~85 (People, Films, Planets, Species, Starships, Vehicles)Learning WOQL queries and GraphQL, following tutorials
Ecommerce~155 (Customers, Orders, OrderLines, Products, Categories)Business scenario tutorials (branch, diff, merge)

Clone Star Wars

curl -u admin:root -X POST http://localhost:6363/api/clone/admin/star-wars \
  -H "Content-Type: application/json" \
  -H "Authorization-Remote: Basic cHVibGljOnB1YmxpYw==" \
  -d '{"remote_url": "https://data.terminusdb.org/public/star-wars", "label": "Star Wars", "comment": "Star Wars demo dataset"}'

Then explore it: Explore a Real Dataset

Clone Ecommerce

curl -u admin:root -X POST http://localhost:6363/api/clone/admin/ecommerce \
  -H "Content-Type: application/json" \
  -H "Authorization-Remote: Basic cHVibGljOnB1YmxpYw==" \
  -d '{"remote_url": "https://data.terminusdb.org/public/ecommerce", "label": "Ecommerce", "comment": "Ecommerce tutorial dataset"}'

Then explore it: Explore an Ecommerce Dataset

How it works

The clone operation uses TerminusDB's git-for-data architecture:

  1. Your local instance contacts data.terminusdb.org (authenticated with public:public read-only credentials)
  2. The entire database — schema, documents, and commit history — is pulled to your local instance
  3. The clone is now yours: query it, branch it, modify it. Changes stay local.

Cloning is efficient even for large datasets because TerminusDB uses content-addressed storage — only unique data layers are transferred.

Next steps

Was this helpful?