Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minifox

A small HTTP server written in Go that accepts JSON messages and relays them to a Discord webhook.

Environment Variables

Variable Required Description
DISCORD_WEBHOOK_URL Yes Discord webhook URL to relay messages to
API_KEY Yes Bearer token used for authentication
PORT No Port to listen on (default: 8080)

API

GET /health

Returns 200 ok when the server is running.

POST /send

Relays a message to the configured Discord webhook.

Authentication: Authorization: Bearer <API_KEY>

Request body:

{
  "content": "your message here"
}

Example:

curl -X POST https://minifox.homek8s.com/send \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content": "your message here"}'

Deployment

Kubernetes manifests are in kubernetes/. Update the secret before deploying:

# Update kubernetes/secret.yaml with real values, then apply
kubectl apply -f kubernetes/deployment.yaml
kubectl apply -f kubernetes/secret.yaml

The deployment uses Reloader to automatically restart when the secret changes.

About

Notifox but small and self hostable

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages