a go module that provides common town functionality
 
 
 
Go to file
vilmibm 92faddd079 refactor prompting, start on redeemCode 2023-10-24 19:10:13 +00:00
cmd refactor prompting, start on redeemCode 2023-10-24 19:10:13 +00:00
email send auth code email 2023-10-24 18:58:34 +00:00
invites creating auth codes in db 2023-10-24 06:22:21 +00:00
models WIP towndb 2023-03-04 22:19:27 +00:00
request fix spaces in passwords 2023-03-14 13:53:26 -04:00
scripts town db scripting 2023-03-06 03:07:35 +00:00
signup WIP towndb 2023-03-04 22:19:27 +00:00
sql creating auth codes in db 2023-10-24 06:22:21 +00:00
sshkey stuff, but also things 2023-03-04 01:15:09 +00:00
stats fix SignupURL in stats 2023-03-16 07:09:28 +00:00
towndb creating auth codes in db 2023-10-24 06:22:21 +00:00
user sigh 2021-03-23 22:07:50 +00:00
.gitignore welcome working end to end 2023-03-06 20:34:29 +00:00
README.md minor 2023-03-16 21:38:54 +00:00
TODO move request stuff here 2021-04-27 16:14:15 +00:00
go.mod start on bare bones help SSH command 2023-10-18 00:48:37 +00:00
go.sum start on bare bones help SSH command 2023-10-18 00:48:37 +00:00

README.md

town

This repository contains custom commands and helper packages for town stuff.

commands:

  • launcher (invoked on town as town), a launcher for various town things (including user contributed commands)
  • request (invokved on town as town request-gitea or town request-gemini), a helper command for requesting certain featuers be enabled for your town account
  • stats (invoked as town stats), a command that prints out information about the town and its users in JSON.
  • visit an experimental command for "visiting" a user.
  • signup command that powers ssh join@tilde.town
  • welcome command that powers ssh welcome@tilde.town
  • review a TUI for town admins to review signups

There are also sundry helpers and scripts under cmd/.

A lot of this behavior (for example, stats) is exposed as a library. if you want to make some stuff for town and want to work in Go feel free to import this and use it.

TODO

  • consider bringing the launcher's index of commands into this git repo so it can be tracked
  • add a Makefile