⛳ alerts for any ctfd instance via ntfy
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: move command over to serve subpath

+5 -6
+3 -4
cmd/server/server.go cmd/serve/serve.go
··· 1 - package server 1 + package serve 2 2 3 3 import ( 4 4 "encoding/json" ··· 57 57 return nil 58 58 } 59 59 60 - // ServerCmd represents the server command 61 - var ServerCmd = &cobra.Command{ 62 - Use: "server", 60 + var ServeCmd = &cobra.Command{ 61 + Use: "serve", 63 62 Short: "Run monitoring server", 64 63 Long: "Continuously monitors CTFd for leaderboard changes and new challenges, sending alerts when events occur", 65 64 Run: runServer,
+2 -2
main.go
··· 8 8 "github.com/charmbracelet/fang" 9 9 "github.com/spf13/cobra" 10 10 "github.com/taciturnaxolotl/ctfd-alerts/clients" 11 - "github.com/taciturnaxolotl/ctfd-alerts/cmd/server" 11 + "github.com/taciturnaxolotl/ctfd-alerts/cmd/serve" 12 12 "github.com/taciturnaxolotl/ctfd-alerts/cmd/status" 13 13 ) 14 14 ··· 46 46 47 47 // Add commands 48 48 cmd.AddCommand(status.StatusCmd) 49 - cmd.AddCommand(server.ServerCmd) 49 + cmd.AddCommand(serve.ServeCmd) 50 50 } 51 51 52 52 func main() {