a go module that provides common town functionality
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
vilmibm 2fbedb75c2
have wire guy suggest nodding
4 days ago
cmd have wire guy suggest nodding 4 days ago
email fix email 2 weeks ago
invites switch to crypto/rand 2 weeks ago
models WIP towndb 2 weeks ago
request fix spaces in passwords 6 days ago
scripts town db scripting 2 weeks ago
signup WIP towndb 2 weeks ago
sql welcome working end to end 2 weeks ago
sshkey stuff, but also things 2 weeks ago
stats fix SignupURL in stats 5 days ago
towndb dump script for user db 5 days ago
user sigh 2 years ago
.gitignore welcome working end to end 2 weeks ago
README.md minor 4 days ago
TODO move request stuff here 2 years ago
go.mod switching over to just survey 3 weeks ago
go.sum switching over to just survey 3 weeks ago

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