a go module that provides common town functionality
 
 
 
Go to file
vilmibm 81c9dede67 tweak 2023-11-04 05:09:33 +00:00
cmd idk 2023-11-01 20:36:53 +00:00
codes forgot to add these 2023-10-25 02:41:02 +00:00
email sigh 2023-10-25 08:42:31 +00:00
external add newline to keyfile if needed 2023-11-01 20:59:49 +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 WIP retooling bc of permission issue 2023-10-25 04:39:13 +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 use helper 2023-10-25 08:33:25 +00:00
user sigh 2021-03-23 22:07:50 +00:00
.gitignore add Makefile 2023-11-04 05:08:46 +00:00
Makefile tweak 2023-11-04 05:09:33 +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 rearrange things, add locking writer 2023-11-01 02:44:22 +00:00
go.sum rearrange things, add locking writer 2023-11-01 02:44:22 +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