Skip to content

Initial scaffold: netnotify service, sources, providers, queue, CI and packaging - #3

Merged
chavindu merged 2 commits into
mainfrom
codex/build-complete-open-source-project-netnotify
Aug 6, 2026
Merged

chavindu merged 2 commits into
mainfrom
codex/build-complete-open-source-project-netnotify

Conversation

@chavindu

@chavindu chavindu commented Aug 6, 2026

Copy link
Copy Markdown
Member

Motivation

  • Introduce a universal notification gateway to receive monitoring alerts (initial path: Netdata health_alarm_notify) and route them to providers such as GoWA/WhatsApp with queueing, retry, deduplication and rate limiting.

Description

  • Add core application entrypoint and CLI with cmd/netnotify/main.go and internal/cli/root.go and application runner in internal/app/app.go.
  • Implement configuration loading (internal/config), structured logging (internal/logger), domain model (internal/domain), queue with dedup/retry/throttling (internal/queue), HTTP server and endpoints (internal/server), Netdata source parser (internal/source/netdata), GoWA provider implementation (internal/provider/gowa) and provider registry (pkg/provider).
  • Add template rendering (internal/templates), provider/source interfaces (pkg/provider, pkg/source), unit tests for queue and parser, and example templates in templates/.
  • Add repository/ops files: README.md, CHANGELOG.md, CONTRIBUTING.md, SECURITY.md, Dockerfile, docker-compose.yml, build/systemd/netnotify.service, installer scripts in scripts/, goreleaser.yaml, go.mod, and .github/workflows/ci.yml for CI and packaging.

Testing

  • Ran go test ./... which executed unit tests (including internal/queue/queue_test.go and internal/source/netdata/parser_test.go) and they passed.
  • Ran go vet ./... and it completed without errors.
  • Added CI workflow at .github/workflows/ci.yml that runs go test ./..., go vet ./... and a Docker build job (build only, push: false).

Codex Task

@chavindu
chavindu merged commit 4271e01 into main Aug 6, 2026
4 checks passed
@chavindu
chavindu deleted the codex/build-complete-open-source-project-netnotify branch August 6, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant