Transform your Blessing-Skin-Server database to HRPAuth format.
See docs/design.md for the current migration design.
Simply run the tool in your Blessing-Skin-Server root directory:
go build -o bs2ha ./cmd/bs2ha
./bs2haThe tool will automatically:
- Release the HRPAuth baseline SQL template (
ha-baseline.sql). - Detect your
bs.sqland textures directory. - Guide you through the configuration via a TUI if any parameters are missing.
- Auto-generate a new signing key if you don't provide one.
For advanced CLI usage:
./bs2ha convert \
--bs-sql ./bs.sql \
--bs-textures ./storage/textures \
--ha-callback-url https://auth.example.com \
--out-sql ./ha-import.sqlNotes:
- copied HA texture files default to
./out/textureswhen--ha-textures-outis omitted - pass
--unsignedonly for non-production imports without a signing key - the current BlessingSkin dump format uses
users.nicknameas the canonical source forHA.users.username - password method is detected from SQL;
BCRYPThashes are copied directly, other methods becomeBS2HA$RESET_REQUIRED