town/cmd/signup
vilmibm ea484671ed have hosts talk when no answer 2023-02-10 20:05:06 +00:00
..
README.md stuff n things 2023-02-03 03:48:40 +00:00
main.go have hosts talk when no answer 2023-02-10 20:05:06 +00:00
thoughts.md stuff n things 2023-02-03 03:48:40 +00:00

README.md

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