BrickTracker

BrickTracker

Application Docker from grtgbln's Repository

Vue d'ensemble

A web application for organizing and tracking LEGO sets, parts, and minifigures. Uses the Rebrickable API to fetch LEGO data and allows users to track missing pieces and collection status.

Exigences


        Expects an app.db file to exist at the Database Path before container is started. See the README for more information: https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker#setup-using-pre-build-docker-image
        

        Developer offers way too many configuration options to list all in this template. See all options here: https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker/src/branch/master/docs/env.md
    

Arguments d'exécution

Interface utilisateur Web
http://[IP]:[PORT:3333]/
Réseau
bridge
Privilégié
false

Configuration du modèle

Web UI PortPorttcp

Container Port: 3333

Cible
3333
Défaut
3333
Valeur
3333
Rebrickable API KeyVariable

API key for Rebrickable. Get one at https://rebrickable.com/api/

Cible
BK_REBRICKABLE_API_KEY
Domain NameVariable

Domain name for the application. Replace with local IP address or domain name.

Cible
BK_DOMAIN_NAME
Défaut
http://IP_ADDRESS:3333
Valeur
http://IP_ADDRESS:3333
Parts Storage PathPath

Path to store part images

Cible
/app/static/parts
Défaut
/mnt/user/appdata/brick_tracker/parts
Valeur
/mnt/user/appdata/brick_tracker/parts
Instructions Storage PathPath

Path to store instruction images

Cible
/app/static/instructions
Défaut
/mnt/user/appdata/brick_tracker/instructions
Valeur
/mnt/user/appdata/brick_tracker/instructions
Sets Storage PathPath

Path to store set images

Cible
/app/static/sets
Défaut
/mnt/user/appdata/brick_tracker/sets
Valeur
/mnt/user/appdata/brick_tracker/sets
Minifigures Storage PathPath

Path to store minifigure images

Cible
/app/static/minifigures
Défaut
/mnt/user/appdata/brick_tracker/minifigs
Valeur
/mnt/user/appdata/brick_tracker/minifigs
Database PathPath

Path to the SQLite database. Run `touch app.db` BEFORE running container for the first time.

Cible
data/app.db
Défaut
/mnt/user/appdata/brick_tracker/app.db
Valeur
/mnt/user/appdata/brick_tracker/app.db
PasswordVariable

Password for the application. Useful if you want to share the page with other in read-only.

Cible
BK_AUTHENTICATION_PASSWORD
Authentication KeyVariable

A unique key used to sign the secrets when using authentication. Remove if not using Password. Use Python command: python3 -c 'import secrets; print(secrets.token_hex())'

Cible
BK_AUTHENTICATION_KEY
Display Bricklink LinksVariable

Display Bricklink links wherever applicable

Cible
BK_BRICKLINK_LINKS
Défaut
false|true
Display Rebrickable LinksVariable

Display Rebrickable links wherever applicable

Cible
BK_REBRICKABLE_LINKS
Défaut
false|true
Allowed Upload File TypesVariable

Comma separated list of allowed file types for instructions

Cible
BK_INSTRUCTIONS_ALLOWED_EXTENSIONS
Défaut
.pdf,.docx,.png
Valeur
.pdf,.docx,.png
Hide 'Add' ButtonVariable

Hide the 'Add' entry from the menu.

Cible
BK_HIDE_ADD_SET
Défaut
false|true
Hide 'Bulk Add' ButtonVariable

Hide the 'Bulk Add' entry from the add page.

Cible
BK_HIDE_ADD_BULK_SET
Défaut
false|true
Hide 'Admin'Variable

Hide the 'Admin' entry from the menu.

Cible
BK_HIDE_ADMIN
Défaut
false|true
Hide 'Instructions'Variable

Hide the 'Instructions' entry from the menu.

Cible
BK_HIDE_ALL_INSTRUCTIONS
Défaut
false|true
Hide 'Instructions' in SetsVariable

Hide the 'Instructions' entry from the Set card.

Cible
BK_HIDE_SET_INSTRUCTIONS
Défaut
false|true
Hide 'Minifigures'Variable

Hide the 'Minifigures' entry from the menu.

Cible
BK_HIDE_ALL_MINIFIGURES
Défaut
false|true
Hide 'Parts'Variable

Hide the 'Parts' entry from the menu.

Cible
BK_HIDE_ALL_PARTS
Défaut
false|true
Hide 'Sets'Variable

Hide the 'Sets' entry from the menu.

Cible
BK_HIDE_ALL_SETS
Défaut
false|true
Hide 'Missing'Variable

Hide the 'Missing' entry from the menu.

Cible
BK_HIDE_MISSING_PARTS
Défaut
false|true
Hide 'Problems'Variable

Hide the 'Problems' entry from the menu.

Cible
BK_HIDE_ALL_PROBLEMS_PARTS
Défaut
false|true
Hide 'Storages'Variable

Hide the 'Storages' entry from the menu.

Cible
organizer
Défaut
false|true
Hide 'Wishlist'Variable

Hide the 'Wishlist' entry from the menu.

Cible
BK_HIDE_WISHES
Défaut
false|true
Hide 'Damaged' ColumnVariable

Hide the 'Damaged' column from the parts table.

Cible
BK_HIDE_TABLE_DAMAGED_PARTS
Défaut
false|true
Hide 'Missing' ColumnVariable

Hide the 'Missing' column from the parts table.

Cible
BK_HIDE_TABLE_MISSING_PARTS
Défaut
false|true
Save Spare PartsVariable

Skip saving or displaying spare parts

Cible
BK_SKIP_SPARE_PARTS
Défaut
false|true
Random HomepageVariable

Shuffle the lists on the front page.

Cible
BK_RANDOM
Défaut
false|true
Show Grid FiltersVariable

Make the grid filters displayed by default, rather than collapsed.

Cible
BK_SHOW_GRID_FILTERS
Défaut
false|true
Show Grid SortVariable

Make the grid sort displayed by default, rather than collapsed.

Cible
BK_SHOW_GRID_SORT
Défaut
false|true
TimezoneVariable

Timezone of the application

Cible
BK_TIMEZONE
Défaut
UTC
Valeur
UTC
App DataPath

Path to store app data

Cible
/app/data
Défaut
/mnt/user/appdata/brick_tracker/data
Valeur
/mnt/user/appdata/brick_tracker/data
DebugVariable

Enable debug mode

Cible
BK_DEBUG
Défaut
false|true
Part Link Pattern (BrickLink)Variable

Pattern of the link to Bricklink for a part. Will be passed to Python .format(). Supports {part} and {color} parameters. BrickLink part numbers and color IDs are used when available.

Cible
BK_BRICKLINK_LINK_PART_PATTERN
Défaut
https://www.bricklink.com/v2/catalog/catalogitem.page?P={part}&C={color}
Valeur
https://www.bricklink.com/v2/catalog/catalogitem.page?P={number}
Part Link PatternVariable

Pattern of the link to Rebrickable for a part. Will be passed to Python .format()

Cible
BK_REBRICKABLE_LINK_PART_PATTERN
Défaut
https://rebrickable.com/parts/{number}/_/{color}
Valeur
https://rebrickable.com/parts/{number}/_/{color}
Missing Part ImageVariable

Image to display when a part is missing

Cible
BK_REBRICKABLE_IMAGE_NIL
Défaut
https://rebrickable.com/static/img/nil.png
Valeur
https://rebrickable.com/static/img/nil.png
Minifigure Link PatternVariable

Pattern of the link to Rebrickable for a minifigure. Will be passed to Python .format()

Cible
BK_REBRICKABLE_LINK_MINIFIGURE_PATTERN
Défaut
https://rebrickable.com/minifigs/{number}
Valeur
https://rebrickable.com/minifigs/{number}
Missing Minifigure ImageVariable

Image to display when a minifigure is missing

Cible
BK_REBRICKABLE_IMAGE_NIL_MINIFIGURE
Défaut
https://rebrickable.com/static/img/nil_mf.jpg
Valeur
https://rebrickable.com/static/img/nil_mf.jpg
Set Link PatternVariable

Pattern of the link to Rebrickable for a set. Will be passed to Python .format()

Cible
BK_REBRICKABLE_LINK_SET_PATTERN
Défaut
https://rebrickable.com/sets/{number}
Valeur
https://rebrickable.com/sets/{number}
Themes URLVariable

URL to the themes.csv.gz on Rebrickable

Cible
BK_THEMES_FILE_URL
Défaut
https://cdn.rebrickable.com/media/downloads/themes.csv.gz
Valeur
https://cdn.rebrickable.com/media/downloads/themes.csv.gz
Use Remote ImagesVariable

Use remote image rather than the locally stored ones. Also prevents downloading any image when adding sets.

Cible
BK_USE_REMOTE_IMAGES
Défaut
false|true
Timestamp FormatVariable

Format of the timestamp added to the database file when downloading it

Cible
BK_DATABASE_TIMESTAMP_FORMAT
Défaut
%Y-%m-%d-%H-%M-%S
Valeur
%Y-%m-%d-%H-%M-%S
Datetime FormatVariable

Format of the timestamp for files on disk (instructions, themes)

Cible
BK_FILE_DATETIME_FORMAT
Défaut
%d/%m/%Y, %H:%M:%S
Valeur
%d/%m/%Y, %H:%M:%S
Datetime FormatVariable

Format of the timestamp for purchase dates

Cible
BK_PURCHASE_DATE_FORMAT
Défaut
%d/%m/%Y
Valeur
%d/%m/%Y
Purchase CurrencyVariable

Currency to use for purchases

Cible
BK_PURCHASE_CURRENCY
Défaut
Valeur
Per-Page CountVariable

Default number of items per page displayed for big tables

Cible
BK_DEFAULT_TABLE_PER_PAGE
Défaut
25|10|50|100|500|1000
Valeur
25
HostVariable

Host to bind to

Cible
BK_HOST
Défaut
0.0.0.0
Valeur
0.0.0.0
PortVariable

Port to bind to

Cible
BK_PORT
Défaut
3333
Valeur
3333
Disable Socket ThreadingVariable

Disable threading on the task executed by the socket. Useful for debugging.

Cible
BK_NO_THREADED_SOCKET
Défaut
false|true
Socket NameVariable

Namespace of the Socket.IO socket

Cible
BK_SOCKET_NAMESPACE
Défaut
bricksocket
Valeur
bricksocket
Socket PathVariable

Path of the Socket.IO socket

Cible
BK_SOCKET_PATH
Défaut
/bricksocket/
Valeur
/bricksocket/
Independent AccordionsVariable

Each accordion can be opened independently

Cible
BK_INDEPENDENT_ACCORDIONS
Défaut
false|true
Rebrickable API Page SizeVariable

The amount of items to retrieve per Rebrickable API call.

Cible
BK_REBRICKABLE_PAGE_SIZE
Défaut
100
Valeur
100
Rebrickable API User AgentVariable

User agent to use when making requests to Rebrickable. This is used to prevent being rate limited.

Cible
BK_REBRICKABLE_USER_AGENT
Défaut
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'
Valeur
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'
Minifigure OrderVariable

Change the default order of minifigures.

Cible
BK_MINIFIGURES_DEFAULT_ORDER
Défaut
rebrickable_minifigures name ASC
Valeur
rebrickable_minifigures name ASC
Parts OrderVariable

Change the default order of parts.

Cible
BK_PARTS_DEFAULT_ORDER
Défaut
rebrickable_parts.name ASC, rebrickable_parts.color_name ASC, bricktracker_parts.spare ASC
Valeur
rebrickable_parts.name ASC, rebrickable_parts.color_name ASC, bricktracker_parts.spare ASC
Sets OrderVariable

Change the default order of sets.

Cible
BK_SETS_DEFAULT_ORDER
Défaut
rebrickable_sets.year ASC
Valeur
rebrickable_sets.year ASC
Wishlist OrderVariable

Change the default order of wishlist.

Cible
BK_WISHES_DEFAULT_ORDER
Défaut
bricktracker_wishes.set DESC
Valeur
bricktracker_wishes.set DESC
Purchase Location OrderVariable

Change the default order of purchase locations.

Cible
BK_PURCHASE_LOCATION_DEFAULT_ORDER
Défaut
bricktracker_metadata_purchase_locations.name ASC
Valeur
bricktracker_metadata_purchase_locations.name ASC
Storage OrderVariable

Change the default order of storages

Cible
BK_STORAGE_DEFAULT_ORDER
Défaut
bricktracker_metadata_storages.name ASC
Valeur
bricktracker_metadata_storages.name ASC
Retired Sets ListVariable

URL to the unofficial retired sets list on Google Sheets

Cible
BK_RETIRED_SETS_FILE_URL
Défaut
https://docs.google.com/spreadsheets/d/1rlYfEXtNKxUOZt2Mfv0H17DvK7bj6Pe0CuYwq6ay8WA/gviz/tq?tqx=out:csv&sheet=Sorted%20by%20Retirement%20Date
Valeur
https://docs.google.com/spreadsheets/d/1rlYfEXtNKxUOZt2Mfv0H17DvK7bj6Pe0CuYwq6ay8WA/gviz/tq?tqx=out:csv&sheet=Sorted%20by%20Retirement%20Date
Internal Database PathVariable

Path to the SQLite database inside the container. Not recommended to change.

Cible
BK_DATABASE_PATH
Défaut
data/app.db
Valeur
data/app.db
Internal Minifigures PathVariable

Name of the minifigures folder inside the container. Not recommended to change.

Cible
BK_MINIFIGURES_FOLDER
Défaut
minifigures
Valeur
minifigures
Internal Instructions PathVariable

Name of the instructions folder inside the container. Not recommended to change.

Cible
BK_INSTRUCTIONS_FOLDER
Défaut
instructions
Valeur
instructions
Internal Parts PathVariable

Name of the parts folder inside the container. Not recommended to change.

Cible
BK_PARTS_FOLDER
Défaut
parts
Valeur
parts
Internal Sets PathVariable

Name of the sets folder inside the container. Not recommended to change.

Cible
BK_SETS_FOLDER
Défaut
sets
Valeur
sets
Internal Retired Sets PathVariable

Path to the retired sets CSV file inside the container. Not recommended to change.

Cible
BK_RETIRED_SETS_PATH
Défaut
data/retired_sets.csv
Valeur
data/retired_sets.csv
Internal Themes PathVariable

Path to the themes CSV file inside the container. Not recommended to change.

Cible
BK_THEMES_PATH
Défaut
data/themes.csv
Valeur
data/themes.csv

Détails

Référentiel
gitea.baerentsen.space/frederikbaerentsen/bricktracker:latest
Dernière mise à jour2026-06-02
Première vue2024-12-27

Exécutez BrickTracker sur Unraid.

BrickTracker est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.