Files
LuPhoto/packaging/config.toml
T
lucioandClaude Opus 5.5 f5152fb709 Anti-scraping: 3x3 grids, decoy pools, robot check
Every pyramid level is cut into at least min_grid x min_grid tiles.
Each photo's tile pool mixes real tiles with hard-linked decoys from
other photos; the grid-to-pool map, byte sizes, seed and scramble seed
are sealed per build and unlocked by a press-and-hold check backed by
a static proof of work. Cell scrambling is on by default, and
robots.txt disallows tiles and pool files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 21:39:30 -08:00

39 lines
715 B
TOML

[server]
mode = "export"
listen = "127.0.0.1:8080"
base_url = "https://photos.luciochen.com"
[paths]
albums = "/srv/luphoto/albums"
output = "/var/lib/luphoto/site"
cache = "/var/cache/luphoto"
[images]
tile_size = 512
overlap = 1
format = "webp"
quality = { top = 90, mid = 88, low = 88 }
min_levels = 6
seed_px = 48
tile_names = "hashed"
scramble_cells = true
min_grid = 3
[loading]
budget_ms = 3000
max_dpr = 2.0
concurrency = 6
[build]
watch = true
debounce = "30s"
workers = 2
keep_builds = 3
[protection]
block_context_menu = true
hotlink_allow = ["photos.luciochen.com"]
decoys = 4
gate = true
pow_bits = 20