Advanced Settings
Configure Socket.IO, external integrations, performance tuning, and other advanced BrickTracker features.
Socket.IO Configuration
Basic Socket Settings
Optional: Namespace of the Socket.IO socket
BK_SOCKET_NAMESPACE=bricksocketOptional: Namespace of the Socket.IO path
BK_SOCKET_PATH=bricksocketOptional: Disable threading on the task executed by the socket. You should not need to change this parameter unless you are debugging something with the socket itself.
BK_NO_THREADED_SOCKET=falseLink Pattern Variables
Available variables for link customization:
{part}: Part number (e.g., "3001"){color}: Color ID (e.g., "4" for red){figure}: Minifigure ID (e.g., "sw001"){set}: Set number (e.g., "10255-1"){path}: Instruction file path{theme}: Theme ID{year}: Set year
Link Patterns
Bricklink
Optional: 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.
BK_BRICKLINK_LINK_PART_PATTERN=https://www.bricklink.com/v2/catalog/catalogitem.page?P={part}&C={color}Optional: Pattern of the link to Bricklink for a set. Will be passed to Python .format(). Supports {set_num} parameter. Set numbers in format like '10255-1' are used.
BK_BRICKLINK_LINK_SET_PATTERN=https://www.bricklink.com/v2/catalog/catalogitem.page?S={set_num}Rebrickable
Custom link patterns (use {variables} for substitution)
Optional: Pattern of the link to Rebrickable for a minifigure. Will be passed to Python .format()
BK_REBRICKABLE_LINK_MINIFIGURE_PATTERN=https://rebrickable.com/minifigs/{figure}Optional: Pattern of the link to Rebrickable for a part. Will be passed to Python .format()
BK_REBRICKABLE_LINK_PART_PATTERN=https://rebrickable.com/parts/{part}/_/{color}Optional: Pattern of the link to Rebrickable for instructions. Will be passed to Python .format()
BK_REBRICKABLE_LINK_INSTRUCTIONS_PATTERN=https://rebrickable.com/instructions/{path}Optional: Pattern of the link to Rebrickable for instructions. Will be passed to Python .format()
BK_REBRICKABLE_LINK_INSTRUCTIONS_PATTERN=https://rebrickable.com/instructions/{path}INFO
Change these if you want custom images for your parts, sets and minifigures that are missing images
Optional: URL of the image representing a missing image in Rebrickable
BK_REBRICKABLE_IMAGE_NIL=https://rebrickable.com/static/img/nil.pngOptional: URL of the image representing a missing minifigure image in Rebrickable
BK_REBRICKABLE_IMAGE_NIL_MINIFIGURE=https://rebrickable.com/static/img/nil_mf.jpgPeeron Integration
Optional: Pattern for Peeron instruction page URLs. Will be passed to Python .format()
BK_PEERON_INSTRUCTION_PATTERN=http://peeron.com/scans/{set_number}-{version_number}Optional: Pattern for Peeron thumbnail URLs. Will be passed to Python .format()
BK_PEERON_THUMBNAIL_PATTERN=http://belay.peeron.com/thumbs/{set_number}-{version_number}/Optional: Pattern for Peeron scan URLs. Will be passed to Python .format()
BK_PEERON_SCAN_PATTERN=http://belay.peeron.com/scans/{set_number}-{version_number}/Peeron
Optional: Delay between Peeron page downloads (milliseconds). Recommendation: Don't go below 100ms to avoid being blocked
BK_PEERON_DOWNLOAD_DELAY=1000Optional: Minimum acceptable image size (pixels). Use case: Filters out error placeholder images
BK_PEERON_MIN_IMAGE_SIZE=100User Agent
Optional: User-Agent to use when querying Rebrickable and Peeron outside of the Rebrick python library
BK_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