a go module that provides common town functionality
 
 
 
Go to file
vilmibm 880511a79a add color and email prompt 2023-10-21 04:58:30 +00:00
cmd add color and email prompt 2023-10-21 04:58:30 +00:00
email fix email 2023-03-10 03:21:12 +00:00
invites switch to crypto/rand 2023-03-10 03:21:26 +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 welcome working end to end 2023-03-06 20:34:29 +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 dump script for user db 2023-03-16 06:41:22 +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