town/cmd/signup/README.md

1.1 KiB

The point of this project is to enable signing up for tilde.town via an ssh connection.

It ought to work something like this:


ssh signup@tilde.town

       <ascii art>

       tilde.town


a creature stands before you. what does it look like?

  > a floating gray cube
    a calico cat with softly glowing eyes
    a squid
    something else

cube: you'd like to sign up for tilde.town, yes?

 > yeah
   nah
   why should I?

you say, "yeah"

cube: by what name should i call you?

  ~cowcow________

cube: unfortunately, i already know someone by that name. what else can i call you?

  ~shelf_________

cube: excellent, hello ~shelf. have you been invited here by anyone i know?

 > yes, i have an invite code
   no

you say "yes, i have an invite code"

cube: great. please paste it and press enter:

  _____________

...and so on.

TODO

  • make signup user
  • get dummy program to run as ssh handler
  • tcell bootstrapping some kind of interactivity
  • existing username check
  • email validation
  • collect responses
  • create the signup request (on disk? db?)
  • invite system support