Skip to content

Creates a local copy of public rebrickable database appended with additional table containing user sets

License

Notifications You must be signed in to change notification settings

brighteyed/lego-collection

Repository files navigation

lego-collection

Creates a local copy of public Rebrickable database appended with additional table containing user sets.

It uses jncraton/rebrickable-sqlite to create an SQLite database from public Rebrickable csv-dumps. Then it creates a set_lists table containing all sets from user's Set Lists.

Docker

  • Build docker image:
docker build -t bricks:latest . 
  • Run docker container:
docker container run --rm --name lego-collection \
    --env LOGIN=<rebrickable username> \
    --env PASSWORD=<rebrickable password> \
    --env API_KEY=<rebrickable API key> \
    --volume=/path/to/database/dir:/database \
    bricks:latest

Docker compose

  • Save sample.env file as .env file
  • Change variables' values in .env file
  • Run compose tool:
docker compose up

About

Creates a local copy of public rebrickable database appended with additional table containing user sets

Topics

Resources

License

Stars

Watchers

Forks