Skip to content

armgit / boop

Public Imported from GitHub
0

A tiny, self-hosted notification inbox for developers. Something happened in one of your apps; Boop tells you on your phone.

HTML

feat: v1.3.0 — Sentry SDK compatibility, pre-built binaries, Laravel client

Chris Gregori881004d8ed6f
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..3c6556a
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,121 @@
+name: Release
+
+# Pushing a tag like v1.3.0 runs the full test suite, then cross-compiles a
+# static, CGO-free binary (web UI embedded) for each OS/arch and attaches the
+# archives plus a checksums file to the GitHub release for that tag.
+
+on:
+ push:
+ tags: ['v*']
+
+permissions:
+ contents: write
+
+jobs:
+ web:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 24
+ cache: npm
+ cache-dependency-path: server/web/package-lock.json
+ - run: npm ci
+ working-directory: server/web
+ - run: npm run check
+ working-directory: server/web
+ - run: npx vitest run
+ working-directory: server/web
+ - run: npm run build
+ working-directory: server/web
+ - uses: actions/upload-artifact@v4
+ with:
+ name: web-dist
+ path: server/internal/web/dist
+
+ test:
+ runs-on: ubuntu-latest
+ needs: web
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: server/go.mod
+ - uses: actions/download-artifact@v4
+ with:
+ name: web-dist
+ path: server/internal/web/dist
+ - run: go vet ./...
+ working-directory: server
+ - run: go test ./...
+ working-directory: server
+
+ release:
+ runs-on: ubuntu-latest
+ needs: test
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: server/go.mod
+ - uses: actions/download-artifact@v4
+ with:
+ name: web-dist
+ path: server/internal/web/dist
+
+ - name: Build binaries
+ working-directory: server
+ env:
+ CGO_ENABLED: '0'
+ run: |
+ set -euo pipefail
+ tag="${GITHUB_REF_NAME}"
+ version="${tag#v}"
+ mkdir -p ../dist
+ for target in linux/amd64 linux/arm64 darwin/amd64 darwin/arm64 windows/amd64 windows/arm64; do
+ os="${target%/*}"; arch="${target#*/}"
+ name="boop_${version}_${os}_${arch}"
+ bin="boop"; [ "$os" = windows ] && bin="boop.exe"
+ echo "building $name"
+ GOOS="$os" GOARCH="$arch" go build -trimpath \
+ -ldflags="-s -w -X github.com/chrisgreg/boop/server/internal/api.Version=${version}" \
+ -o "../dist/$name/$bin" ./cmd/boop
+ cp ../LICENSE ../README.md "../dist/$name/"
+ if [ "$os" = windows ]; then
+ (cd ../dist && zip -qr "$name.zip" "$name")
+ else
+ tar -C ../dist -czf "../dist/$name.tar.gz" "$name"
+ fi
+ rm -r "../dist/$name"
+ done
+ (cd ../dist && sha256sum *.tar.gz *.zip > checksums.txt && cat checksums.txt)
+
+ - name: Release notes from CHANGELOG
+ run: |
+ set -euo pipefail
+ version="${GITHUB_REF_NAME#v}"
+ # Print the "## [<version>]" section of CHANGELOG.md, up to the next "## " heading.
+ awk -v v="$version" '
+ /^## \[/ { if (found) exit; found = index($0, "## [" v "]") == 1; next }
+ found { print }
+ ' CHANGELOG.md > notes.md
+ if [ ! -s notes.md ]; then
+ echo "No CHANGELOG section for ${version}; falling back to generated notes."
+ rm notes.md
+ fi
+
+ - name: Publish release
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: |
+ set -euo pipefail
+ tag="${GITHUB_REF_NAME}"
+ if ! gh release view "$tag" >/dev/null 2>&1; then
+ if [ -f notes.md ]; then
+ gh release create "$tag" --title "$tag" --notes-file notes.md
+ else
+ gh release create "$tag" --title "$tag" --generate-notes
+ fi
+ fi
+ gh release upload "$tag" dist/* --clobber
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 51f298b..95bd65b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,16 @@ All notable changes to Boop are recorded here. The format follows [Keep a Change
## [Unreleased]
+## [1.3.0] — 2026-08-30
+
+### Added
+- **Sentry SDK compatibility.** Point any server-side Sentry SDK's DSN at Boop (`https://boop_proj_...@your-boop-host/1`) and it reports straight into that project with no code changes. `POST /api/{id}/envelope/` accepts Sentry envelopes (gzip/deflate included), authenticated via `X-Sentry-Auth` or `?sentry_key=`. Each Sentry event becomes a Boop event: `Type: value` title, culprit and top stack frame in the body, levels mapped (`fatal→critical`, `info`/`debug→info`), `source: "sentry"`, and grouping fingerprints (explicit ones, or exception type plus top in-app frame) so silence rules work per error group. Transactions and sessions are accepted and ignored. Keep the DSN server-side: its public key is a write-capable project API key. Contributed by [@ashwin47](https://github.com/ashwin47).
+- **Pre-built binaries.** Tagged releases now attach static, CGO-free binaries for Linux, macOS and Windows (amd64/arm64) with the web UI embedded, plus a `checksums.txt`. Tests run before anything is published (`.github/workflows/release.yml`).
+- **Laravel client.** [`laravel-boop`](https://github.com/solutionforest/laravel-boop), a community package by Solution Forest, is listed under Integrations.
+
+### Changed
+- iOS: cleaner app icons.
+
## [1.2.0] — 2026-08-29
### Added
@@ -35,7 +45,8 @@ All notable changes to Boop are recorded here. The format follows [Keep a Change
- iOS app (SwiftUI, iOS 26): inbox with filters and cursor pagination, rich event detail (exception, stacktrace, tags, context, breadcrumbs, raw JSON), notification tap-through, Keychain-stored device credential.
- Docker image, compose file and a Dokploy-specific compose file; architecture diagram (`docs/architecture`); `integration-llms.md` client spec.
-[Unreleased]: https://github.com/chrisgreg/boop/compare/v1.2.0...HEAD
+[Unreleased]: https://github.com/chrisgreg/boop/compare/v1.3.0...HEAD
+[1.3.0]: https://github.com/chrisgreg/boop/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/chrisgreg/boop/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/chrisgreg/boop/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/chrisgreg/boop/releases/tag/v1.0.0
diff --git a/README.md b/README.md
index 71dede8..1e66125 100644
--- a/README.md
+++ b/README.md
@@ -54,6 +54,17 @@ The first visit opens a setup wizard: server check, APNs, pairing, first project
Data lives in `./data/boop.db`. Back up by copying that file (use `sqlite3 data/boop.db ".backup backup.db"` for a consistent copy while running). Back up your `.p8` key separately.
+## Quick start (binary)
+
+Every [release](https://github.com/chrisgreg/boop/releases) ships a static, dependency-free binary for Linux, macOS and Windows (amd64 and arm64) with the web UI embedded. Download the archive for your platform, verify it against `checksums.txt` if you like, and run:
+
+```bash
+tar xzf boop_*_linux_amd64.tar.gz && cd boop_*_linux_amd64
+BOOP_DATABASE_PATH=./boop.db ./boop # listens on :8080
+```
+
+Configuration is the same set of environment variables as Docker (see [Configuration](#configuration)). `BOOP_DATABASE_PATH` defaults to `/data/boop.db`, so set it to somewhere writable.
+
## Send an event
Create a project in the web UI and copy its API key (shown once). Then:
@@ -119,7 +130,7 @@ From GitHub Actions:
## Integrations
-Official clients live in their own repos. They all speak the same one endpoint (`POST /api/v1/events`), redact sensitive keys before sending, truncate rather than reject, retry only network errors and 5xx, and never crash the host application.
+Clients live in their own repos. They all speak the same one endpoint (`POST /api/v1/events`), redact sensitive keys before sending, truncate rather than reject, retry only network errors and 5xx, and never crash the host application.
### Elixir — [`boop_ex`](https://github.com/chrisgreg/boop_ex)
@@ -171,6 +182,23 @@ client.exception(err, { tags: { env: 'prod' } }) // rich error data
TypeScript, ESM + CJS, zero runtime dependencies, Node 18+.
+### Laravel — [`laravel-boop`](https://github.com/solutionforest/laravel-boop) (community)
+
+```bash
+composer require solution-forest/laravel-boop
+```
+
+```php
+use SolutionForest\Boop\Facades\Boop; // reads BOOP_URL / BOOP_API_KEY from .env
+
+$result = Boop::send('Backup complete');
+Boop::send(['title' => 'Payment received', 'body' => '£19.99', 'level' => Level::Success, 'data' => ['customer_id' => 123]]);
+Boop::sendAsync('Cron finished'); // runs after the response is sent, never throws
+Boop::send(['title' => 'Deploy failed', 'level' => 'error', 'actions' => [['label' => 'Open run', 'url' => $runUrl]]]);
+```
+
+`send()` never throws; it returns a `Result` (`ok`, `disabled` or `failed` with a `BoopError`). PHP 8.1+, Laravel 10–13. Maintained by [Solution Forest](https://github.com/solutionforest), not by this repo.
+
### Sentry SDKs — drop-in DSN
Boop speaks the Sentry ingest protocol, so any existing server-side Sentry SDK (Python, Node, Go, Ruby, PHP, …) can report to Boop with no code changes — just point the DSN at your Boop host and use a project API key as the public key:
@@ -316,7 +344,7 @@ Requires Go 1.27 and Node 24 (see `.tool-versions`). The SQLite driver is pure G
## Changelog
-See [CHANGELOG.md](CHANGELOG.md). Releases are tagged `vX.Y.Z`; the server, web UI and iOS app share the version.
+See [CHANGELOG.md](CHANGELOG.md). Releases are tagged `vX.Y.Z`; the server, web UI and iOS app share the version. Pushing a tag runs the test suite and, if it passes, attaches the pre-built binaries to the GitHub release (`.github/workflows/release.yml`).
## Licence
diff --git a/ios/Boop.xcodeproj/project.pbxproj b/ios/Boop.xcodeproj/project.pbxproj
index 2ac41b0..3551532 100644
--- a/ios/Boop.xcodeproj/project.pbxproj
+++ b/ios/Boop.xcodeproj/project.pbxproj
@@ -632,7 +632,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
- MARKETING_VERSION = 1.2.0;
+ MARKETING_VERSION = 1.3.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -739,7 +739,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
- MARKETING_VERSION = 1.2.0;
+ MARKETING_VERSION = 1.3.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
diff --git a/ios/project.yml b/ios/project.yml
index d22b510..29086c2 100644
--- a/ios/project.yml
+++ b/ios/project.yml
@@ -9,7 +9,7 @@ options:
settings:
base:
SWIFT_VERSION: "6.0"
- MARKETING_VERSION: "1.2.0"
+ MARKETING_VERSION: "1.3.0"
CURRENT_PROJECT_VERSION: "1"
# Users set their own team in Xcode (Signing & Capabilities).
DEVELOPMENT_TEAM: ""
diff --git a/server/Dockerfile b/server/Dockerfile
index 9730b60..f732058 100644
--- a/server/Dockerfile
+++ b/server/Dockerfile
@@ -16,7 +16,7 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .
COPY --from=web /internal/web/dist ./internal/web/dist
-ARG VERSION=1.2.0
+ARG VERSION=1.3.0
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X github.com/chrisgreg/boop/server/internal/api.Version=${VERSION}" -o /boop ./cmd/boop
# ---- runtime: binary + CA certificates only ----
diff --git a/server/internal/api/api.go b/server/internal/api/api.go
index d75c398..8f7fb42 100644
--- a/server/internal/api/api.go
+++ b/server/internal/api/api.go
@@ -29,7 +29,7 @@ import (
)
// Version is the server version, overridden at build time via -ldflags.
-var Version = "1.2.0"
+var Version = "1.3.0"
// Server holds every dependency the handlers need.
type Server struct {