#id

app ambient-package-id-hack

Generate valid Ambient.run package IDs with a given prefix

1 unstable release

0.1.3 Oct 8, 2023
0.1.2 Oct 8, 2023
0.1.1 Oct 8, 2023
0.1.0 Oct 8, 2023

#717 in Development tools

MIT/Apache

9KB
95 lines

ambient-package-id-hack

Generate valid Ambient package IDs with a given prefix.

Installation

$ cargo install ambient-package-id-hack

Usage

$ ambient-package-id-hack fancygame    
fancygame: fancygamecxzpnhltyojv6cy5wlzfnaj
$ ambient-package-id-hack mysuperawesomepackageid
mysuperawesomepackageid: mysuperawesomepackacps4fgbzwwi7l
$ ambient-package-id-hack fancygame mysuperawesomepackageid
fancygame: fancygamecvxdrhuhw234i2fbku3eoi7
mysuperawesomepackageid: mysuperawesomepackacps4fgbzwwi7l

Note that if the prefix is too long then it will be truncated.

Dependencies

~1–1.5MB
~33K SLoC