Crates.io | servicepoint-simulator |
lib.rs | servicepoint-simulator |
version | 0.2.1 |
source | src |
created_at | 2025-02-18 22:47:36.110594+00 |
updated_at | 2025-05-03 10:39:32.872055+00 |
description | A simulator for the Service Point display. |
homepage | https://git.berlin.ccc.de/servicepoint/servicepoint-simulator |
repository | https://git.berlin.ccc.de/servicepoint/servicepoint-simulator |
max_upload_size | |
id | 1560587 |
size | 166,567 |
A simulator for the CCCB service point display.
In CCCB, there is a big LED matrix screen you can send images to via UDP. This crate contains an application that can receive packages in the same binary format and display the contents to the user.
Use cases:
Uses the servicepoint library for reading the packets. The screenshot above shows the output of two example projects running in parallel (game_of_life and random_brightness).
This repository moved to git.berlin.ccc.de/servicepoint/servicepoint-simulator. The GitHub repository will remain as a mirror.
With cargo installed: cargo install servicepoint-simulator
With nix flakes: nix run github:kaesaecracker/servicepoint-simulator
You can also check out this repository and use cargo run --release
.
Make sure to run a release build, because a debug build way slower.
Usage: servicepoint-simulator [OPTIONS]
Options:
--bind <BIND> address and port to bind to [default: 0.0.0.0:2342]
-f, --font <FONT> The name of the font family to use. This defaults to the system monospace font.
-s, --spacers add spacers between tile rows to simulate gaps in real display
-r, --red Use the red color channel
-g, --green Use the green color channel
-b, --blue Use the blue color channel
-v, --verbose Set default log level lower. You can also change this via the RUST_LOG environment variable.
-h, --help Print help
See env_logger to configure logging.
Because this program renders to an RGB pixel buffer, you can enjoy the following additional features not available on the real display:
./servicepoint-simulator --spacers
to enable)./servicepoint-simulator -rgb
for white pixels)Contributions are accepted in any form (issues, documentation, feature requests, code, reviews, ...).
All creatures welcome.
The included font is https://int10h.org/oldschool-pc-fonts/fontlist/font?ibm_bios (included in the download from https://int10h.org/oldschool-pc-fonts/download/). The font is CC BY-SA 4.0.
For everything else see the LICENSE file.