cursed-status-page

command module
v0.0.0-...-cfdae9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2025 License: GPL-2.0 Imports: 21 Imported by: 0

README

cursed-status-page

A simple status page webserver that you control using Slack

Ugh

GitHub go.mod Go version of a Go module Run Tests Publish Docker Image Deploy NYC Mesh Status Page

Usage

Ping @Status to update https://status.nycmesh.net/

Use reactions to change colors. ✅ white_check_mark ⚠️ warning 🔥 fire

Pin a message to the channel to pin it to the page.

Setup

Slack Bot

A manifest file is included with this repo.

Go to https://api.slack.com/apps and click, "Create New App", then upload slack-manifest.yaml and update the URLs to point at wherever you host your page.

Setup (Development)

Clone this repo

git clone https://github.com/willnilges/cursed-status-page

Fill out the .env.sample

cp .env.sample .env
vim .env # Use your favorite editor

Build and Run

go run .

To serve this app, I use ngrok

ngrok http --domain <your-domain> --host-header=rewrite localhost:8080
Setup (Production)
Certificates

Set up your .env file and move it into deploy/

Run the init-letsencrypt.sh script with the following arguments:

./init-letsencrypt.sh <domain> <email_address> real

For domain, the nginx config is set up for status.nycmesh.net.

If you need to change the domain, update the nginx config too.

Go to your webpage and assuming everything is setup correctly, you should see the status page running.

TODO: Document auto-updating when the app builds + pushes.

With Dockerfile

This repo has a Dockerfile you can use

Clone this repo

git clone https://github.com/willnilges/cursed-status-page

Fill out the .env.sample

cp .env.sample .env
vim .env # Use your favorite editor

Build and Run

docker build . --tag cursed-status-page
docker run --rm --env-file .env -p 8080:8080 cursed-status-page

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL