Giter VIP home page Giter VIP logo

gonetia's Introduction

gonetia

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.

Preview

gonetia_demo-2022-09-16_19.15.49.mp4

Setup

Prerequisites

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

Instructions

  1. Clone this repo
  2. git submodule update --init --recursive
  3. go build

Usage

Enter a star in patp format (e.g., ~marzod) either as a command line argument, or in response to the interactive prompt.

Command Line Argument

./gonetia "~marzod"

Interactive Mode

./gonetia

# Enter a star in patp format
>Which star? (e.g., ~marzod):

~marzod

Output

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 or wordlists/name/english-double.
  • OnlyEnglish: both segments match wordlists/name/english-single or wordlists/name/english-double.
  • AnyApprox: at least one segment matches wordlists/name/approx-single or wordlists/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.

Special Thanks

  • 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

gonetia's People

Contributors

ashelkovnykov avatar ml-sudocode avatar tomholford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gonetia's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.