[WIP] A simple wake-on-lan service
at main 59 lines 1.2 kB view raw view rendered
1# WOL 2 3A simple wake-on-lan webapp. 4 5Configuration is read from `wol.toml` from the current directory. 6 7```toml 8# default config: 9binding = "0.0.0.0:3000" 10# target names to pin to the top of the list, others may be out of order 11pinned = [] 12 13[targets] 14# name = mac 15 16# OR 17# name.mac = mac # required, for wol 18# name.url = url # optional, for display 19# name.ip = ip # optional, for ping 20 21[info] 22title = "Wake on Lan" 23icon = "./favicon.ico" 24 25# info.links can also be [name, url][] if you need duplicate names 26[info.links] 27"vielle.dev/wol" = "https://tangled.org/vielle.dev/wol/" 28 29[theme] # catppuccin frappe 30background = [48, 52, 70] 31background_main = [35, 38, 52] 32background_server = [65, 69, 89] 33background_button = [81, 87, 109] 34 35text = [198, 208, 245] 36text_secondary = [165, 173, 206] 37 38accent_success = [166, 209, 137] 39accent_fail = [231, 130, 132] 40 41link = [140, 170, 238] 42link_visited = [202, 158, 230] 43 44highlight = [148, 156, 187] 45highlight_opacity = 25 # out of 100 46 47fonts = ["system-ui"] 48``` 49 50```yaml 51# compose.yaml 52services: 53 wol: 54 build: atcr.io/vielle.dev/wol:latest 55 ports: ["3000:3000"] 56 volumes: 57 - "./wol.toml:/app/wol.toml" 58 - "./favicon.ico:/app/favicon.ico" 59```