Help us shape the future of Go! Take the 2026 Go Developer Survey

seed-demo

command
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Command seed-demo fills a running rdpanel with realistic demo data through its public APIs: users and groups through the admin API, devices, heartbeats, logins, address books and audit records through the RustDesk client API (exactly what real clients send).

RDPANEL_SEED_ADMIN_PASSWORD=... go run ./scripts/seed-demo -url http://127.0.0.1:21114 [-keepalive]

The admin account must exist (rdpanel user create --admin). Re-running is safe for users/groups/books (audit rows are added again). With -keepalive it only keeps seven of the fake devices sending heartbeats every 10 s until interrupted, so they stay "online" in the panel when hbbs is not running.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL