Files
tajniak81 d6956395c8 Rebrand CommGate to gsmnode and adopt new design system
Rename the whole project from CommGate to gsmnode and re-skin every
surface onto the new signal-green + ink design system (Space Grotesk /
IBM Plex Sans / JetBrains Mono, flat surfaces, two-arrow routing mark,
lowercase gsm+node wordmark).

- Web App + API panel: rewrite token layer, gn-* utilities, data-gsm-theme,
  new logo/favicon assets; both builds verified.
- Phone App (Flutter): green theme, new mark/wordmark widgets, adaptive
  launcher icons; rename Android applicationId/package to app.gsmnode.phone;
  bump AGP to 8.6.0 and google_fonts to 8.1.0; debug APK build verified.
- API Server (Go): panel routes, User-Agent, health service id, branding.
- Home Assistant Plugin: rename integration domain sms_gateway to gsmnode
  (folder, DOMAIN, services, entity ids, classes); py_compile verified.
- Update all READMEs; add .gitignore (excludes Design/, build artifacts).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 08:53:14 +02:00

29 lines
1.0 KiB
Bash

# API Server configuration
# Copy to .env and adjust. The server also reads plain environment variables.
# Address the API Server listens on
API_ADDR=:8080
# PocketBase base URL (no trailing slash)
POCKETBASE_URL=http://10.2.1.10:8028
# PocketBase superuser credentials. The API Server is the ONLY thing that talks
# to PocketBase, so it authenticates as a superuser and enforces ownership in
# application logic. Lock all collection API rules to superuser-only.
PB_ADMIN_EMAIL=admin@example.com
PB_ADMIN_PASSWORD=change-me
# Secret used to sign client JWTs (use a long random string in production)
JWT_SECRET=dev-insecure-change-me-please
# Access token lifetime (Go duration: 30m, 24h, 168h ...)
JWT_ACCESS_TTL=24h
# How long a message/call may stay unprocessed before it's marked Failed.
# A device must pull it (Pending) and report a result (Processed) within this
# window, else the background sweeper fails it.
MESSAGE_TTL=5m
# CORS allowed origins for the Web App (comma separated, or * for any)
CORS_ALLOW_ORIGINS=*