BrickTracker

BrickTracker

Aplicación Docker from grtgbln's Repository

Visión general

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.

Requisitos


        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
    

Argumentos en tiempo de ejecución

Interfaz web
http://[IP]:[PORT:3333]/
Red
bridge
Privilegiado
false

Configuración de plantillas

Web UI PortPorttcp

Container Port: 3333

Objetivo
3333
Por defecto
3333
Valor
3333
Rebrickable API KeyVariable

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

Objetivo
BK_REBRICKABLE_API_KEY
Domain NameVariable

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

Objetivo
BK_DOMAIN_NAME
Por defecto
http://IP_ADDRESS:3333
Valor
http://IP_ADDRESS:3333
Parts Storage PathPath

Path to store part images

Objetivo
/app/static/parts
Por defecto
/mnt/user/appdata/brick_tracker/parts
Valor
/mnt/user/appdata/brick_tracker/parts
Instructions Storage PathPath

Path to store instruction images

Objetivo
/app/static/instructions
Por defecto
/mnt/user/appdata/brick_tracker/instructions
Valor
/mnt/user/appdata/brick_tracker/instructions
Sets Storage PathPath

Path to store set images

Objetivo
/app/static/sets
Por defecto
/mnt/user/appdata/brick_tracker/sets
Valor
/mnt/user/appdata/brick_tracker/sets
Minifigures Storage PathPath

Path to store minifigure images

Objetivo
/app/static/minifigures
Por defecto
/mnt/user/appdata/brick_tracker/minifigs
Valor
/mnt/user/appdata/brick_tracker/minifigs
Database PathPath

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

Objetivo
data/app.db
Por defecto
/mnt/user/appdata/brick_tracker/app.db
Valor
/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.

Objetivo
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())'

Objetivo
BK_AUTHENTICATION_KEY
Display Bricklink LinksVariable

Display Bricklink links wherever applicable

Objetivo
BK_BRICKLINK_LINKS
Por defecto
false|true
Display Rebrickable LinksVariable

Display Rebrickable links wherever applicable

Objetivo
BK_REBRICKABLE_LINKS
Por defecto
false|true
Allowed Upload File TypesVariable

Comma separated list of allowed file types for instructions

Objetivo
BK_INSTRUCTIONS_ALLOWED_EXTENSIONS
Por defecto
.pdf,.docx,.png
Valor
.pdf,.docx,.png
Hide 'Add' ButtonVariable

Hide the 'Add' entry from the menu.

Objetivo
BK_HIDE_ADD_SET
Por defecto
false|true
Hide 'Bulk Add' ButtonVariable

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

Objetivo
BK_HIDE_ADD_BULK_SET
Por defecto
false|true
Hide 'Admin'Variable

Hide the 'Admin' entry from the menu.

Objetivo
BK_HIDE_ADMIN
Por defecto
false|true
Hide 'Instructions'Variable

Hide the 'Instructions' entry from the menu.

Objetivo
BK_HIDE_ALL_INSTRUCTIONS
Por defecto
false|true
Hide 'Instructions' in SetsVariable

Hide the 'Instructions' entry from the Set card.

Objetivo
BK_HIDE_SET_INSTRUCTIONS
Por defecto
false|true
Hide 'Minifigures'Variable

Hide the 'Minifigures' entry from the menu.

Objetivo
BK_HIDE_ALL_MINIFIGURES
Por defecto
false|true
Hide 'Parts'Variable

Hide the 'Parts' entry from the menu.

Objetivo
BK_HIDE_ALL_PARTS
Por defecto
false|true
Hide 'Sets'Variable

Hide the 'Sets' entry from the menu.

Objetivo
BK_HIDE_ALL_SETS
Por defecto
false|true
Hide 'Missing'Variable

Hide the 'Missing' entry from the menu.

Objetivo
BK_HIDE_MISSING_PARTS
Por defecto
false|true
Hide 'Problems'Variable

Hide the 'Problems' entry from the menu.

Objetivo
BK_HIDE_ALL_PROBLEMS_PARTS
Por defecto
false|true
Hide 'Storages'Variable

Hide the 'Storages' entry from the menu.

Objetivo
organizer
Por defecto
false|true
Hide 'Wishlist'Variable

Hide the 'Wishlist' entry from the menu.

Objetivo
BK_HIDE_WISHES
Por defecto
false|true
Hide 'Damaged' ColumnVariable

Hide the 'Damaged' column from the parts table.

Objetivo
BK_HIDE_TABLE_DAMAGED_PARTS
Por defecto
false|true
Hide 'Missing' ColumnVariable

Hide the 'Missing' column from the parts table.

Objetivo
BK_HIDE_TABLE_MISSING_PARTS
Por defecto
false|true
Save Spare PartsVariable

Skip saving or displaying spare parts

Objetivo
BK_SKIP_SPARE_PARTS
Por defecto
false|true
Random HomepageVariable

Shuffle the lists on the front page.

Objetivo
BK_RANDOM
Por defecto
false|true
Show Grid FiltersVariable

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

Objetivo
BK_SHOW_GRID_FILTERS
Por defecto
false|true
Show Grid SortVariable

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

Objetivo
BK_SHOW_GRID_SORT
Por defecto
false|true
TimezoneVariable

Timezone of the application

Objetivo
BK_TIMEZONE
Por defecto
UTC
Valor
UTC
App DataPath

Path to store app data

Objetivo
/app/data
Por defecto
/mnt/user/appdata/brick_tracker/data
Valor
/mnt/user/appdata/brick_tracker/data
DebugVariable

Enable debug mode

Objetivo
BK_DEBUG
Por defecto
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.

Objetivo
BK_BRICKLINK_LINK_PART_PATTERN
Por defecto
https://www.bricklink.com/v2/catalog/catalogitem.page?P={part}&C={color}
Valor
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()

Objetivo
BK_REBRICKABLE_LINK_PART_PATTERN
Por defecto
https://rebrickable.com/parts/{number}/_/{color}
Valor
https://rebrickable.com/parts/{number}/_/{color}
Missing Part ImageVariable

Image to display when a part is missing

Objetivo
BK_REBRICKABLE_IMAGE_NIL
Por defecto
https://rebrickable.com/static/img/nil.png
Valor
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()

Objetivo
BK_REBRICKABLE_LINK_MINIFIGURE_PATTERN
Por defecto
https://rebrickable.com/minifigs/{number}
Valor
https://rebrickable.com/minifigs/{number}
Missing Minifigure ImageVariable

Image to display when a minifigure is missing

Objetivo
BK_REBRICKABLE_IMAGE_NIL_MINIFIGURE
Por defecto
https://rebrickable.com/static/img/nil_mf.jpg
Valor
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()

Objetivo
BK_REBRICKABLE_LINK_SET_PATTERN
Por defecto
https://rebrickable.com/sets/{number}
Valor
https://rebrickable.com/sets/{number}
Themes URLVariable

URL to the themes.csv.gz on Rebrickable

Objetivo
BK_THEMES_FILE_URL
Por defecto
https://cdn.rebrickable.com/media/downloads/themes.csv.gz
Valor
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.

Objetivo
BK_USE_REMOTE_IMAGES
Por defecto
false|true
Timestamp FormatVariable

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

Objetivo
BK_DATABASE_TIMESTAMP_FORMAT
Por defecto
%Y-%m-%d-%H-%M-%S
Valor
%Y-%m-%d-%H-%M-%S
Datetime FormatVariable

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

Objetivo
BK_FILE_DATETIME_FORMAT
Por defecto
%d/%m/%Y, %H:%M:%S
Valor
%d/%m/%Y, %H:%M:%S
Datetime FormatVariable

Format of the timestamp for purchase dates

Objetivo
BK_PURCHASE_DATE_FORMAT
Por defecto
%d/%m/%Y
Valor
%d/%m/%Y
Purchase CurrencyVariable

Currency to use for purchases

Objetivo
BK_PURCHASE_CURRENCY
Por defecto
Valor
Per-Page CountVariable

Default number of items per page displayed for big tables

Objetivo
BK_DEFAULT_TABLE_PER_PAGE
Por defecto
25|10|50|100|500|1000
Valor
25
HostVariable

Host to bind to

Objetivo
BK_HOST
Por defecto
0.0.0.0
Valor
0.0.0.0
PortVariable

Port to bind to

Objetivo
BK_PORT
Por defecto
3333
Valor
3333
Disable Socket ThreadingVariable

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

Objetivo
BK_NO_THREADED_SOCKET
Por defecto
false|true
Socket NameVariable

Namespace of the Socket.IO socket

Objetivo
BK_SOCKET_NAMESPACE
Por defecto
bricksocket
Valor
bricksocket
Socket PathVariable

Path of the Socket.IO socket

Objetivo
BK_SOCKET_PATH
Por defecto
/bricksocket/
Valor
/bricksocket/
Independent AccordionsVariable

Each accordion can be opened independently

Objetivo
BK_INDEPENDENT_ACCORDIONS
Por defecto
false|true
Rebrickable API Page SizeVariable

The amount of items to retrieve per Rebrickable API call.

Objetivo
BK_REBRICKABLE_PAGE_SIZE
Por defecto
100
Valor
100
Rebrickable API User AgentVariable

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

Objetivo
BK_REBRICKABLE_USER_AGENT
Por defecto
'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'
Valor
'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.

Objetivo
BK_MINIFIGURES_DEFAULT_ORDER
Por defecto
rebrickable_minifigures name ASC
Valor
rebrickable_minifigures name ASC
Parts OrderVariable

Change the default order of parts.

Objetivo
BK_PARTS_DEFAULT_ORDER
Por defecto
rebrickable_parts.name ASC, rebrickable_parts.color_name ASC, bricktracker_parts.spare ASC
Valor
rebrickable_parts.name ASC, rebrickable_parts.color_name ASC, bricktracker_parts.spare ASC
Sets OrderVariable

Change the default order of sets.

Objetivo
BK_SETS_DEFAULT_ORDER
Por defecto
rebrickable_sets.year ASC
Valor
rebrickable_sets.year ASC
Wishlist OrderVariable

Change the default order of wishlist.

Objetivo
BK_WISHES_DEFAULT_ORDER
Por defecto
bricktracker_wishes.set DESC
Valor
bricktracker_wishes.set DESC
Purchase Location OrderVariable

Change the default order of purchase locations.

Objetivo
BK_PURCHASE_LOCATION_DEFAULT_ORDER
Por defecto
bricktracker_metadata_purchase_locations.name ASC
Valor
bricktracker_metadata_purchase_locations.name ASC
Storage OrderVariable

Change the default order of storages

Objetivo
BK_STORAGE_DEFAULT_ORDER
Por defecto
bricktracker_metadata_storages.name ASC
Valor
bricktracker_metadata_storages.name ASC
Retired Sets ListVariable

URL to the unofficial retired sets list on Google Sheets

Objetivo
BK_RETIRED_SETS_FILE_URL
Por defecto
https://docs.google.com/spreadsheets/d/1rlYfEXtNKxUOZt2Mfv0H17DvK7bj6Pe0CuYwq6ay8WA/gviz/tq?tqx=out:csv&sheet=Sorted%20by%20Retirement%20Date
Valor
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.

Objetivo
BK_DATABASE_PATH
Por defecto
data/app.db
Valor
data/app.db
Internal Minifigures PathVariable

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

Objetivo
BK_MINIFIGURES_FOLDER
Por defecto
minifigures
Valor
minifigures
Internal Instructions PathVariable

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

Objetivo
BK_INSTRUCTIONS_FOLDER
Por defecto
instructions
Valor
instructions
Internal Parts PathVariable

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

Objetivo
BK_PARTS_FOLDER
Por defecto
parts
Valor
parts
Internal Sets PathVariable

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

Objetivo
BK_SETS_FOLDER
Por defecto
sets
Valor
sets
Internal Retired Sets PathVariable

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

Objetivo
BK_RETIRED_SETS_PATH
Por defecto
data/retired_sets.csv
Valor
data/retired_sets.csv
Internal Themes PathVariable

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

Objetivo
BK_THEMES_PATH
Por defecto
data/themes.csv
Valor
data/themes.csv

Detalles

Repositorio
gitea.baerentsen.space/frederikbaerentsen/bricktracker:latest
Última actualización2026-06-01
Visto por primera vez2024-12-27

Ejecute BrickTracker en Unraid.

BrickTracker se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.