Gonetia is a simple command-line utility for generating a list of planet names issuable from an Urbit star. It is inspired by Venetia, but written in Go instead of JS.
gonetia_demo-2022-09-16_19.15.49.mp4
This project requires Go 1.18+. One option is to use gvm. Alternatively, on MacOS it is simple to install Go with homebrew.
Once brew
is installed, install Go like so:
brew install go
- Clone this repo
git submodule update --init --recursive
go build
Enter a star in patp format (e.g., ~marzod
) either as a command line argument, or in response to the interactive prompt.
./gonetia "~marzod"
./gonetia
# Enter a star in patp format
>Which star? (e.g., ~marzod):
~marzod
A planet identity is a four-syllable name composed of two six-character segments, such as ~sampel-palnet
.
The script uses urbit-wordlists and various strategies to generate output:
- AnyEnglish: at least one segment matches
wordlists/name/english-single
orwordlists/name/english-double
. - OnlyEnglish: both segments match
wordlists/name/english-single
orwordlists/name/english-double
. - AnyApprox: at least one segment matches
wordlists/name/approx-single
orwordlists/name/approx-double
. - OnlyApprox: both segments match any of the wordlists.
- Doubles: both segments are identical (e.g., ~datnut-datnut)
Output for each is written to ./output/[star]/[strategy]_planets.txt
, for 5 total files per run.
- Thanks to @tylershuster for creating Venetia
- Thanks to @deelawn for creating urbit-gob
- Thanks to @ashelkovnykov for creating urbit-wordlists
- Thanks to @michelleylai for feature ideas, feedback, testing, and proofreading docs