Skip to content

chore: remove PostHog analytics - #69

Merged
Wenzel merged 1 commit into
masterfrom
chore/remove-posthog
Sep 7, 2026
Merged

Wenzel merged 1 commit into
masterfrom
chore/remove-posthog

Conversation

@Wenzel

@Wenzel Wenzel commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

The API carried a production-only /events reverse proxy that forwarded analytics payloads to PostHog with a server-side bearer token. Nothing in the open-source stack sends those events: the frontend has no PostHog client, and oswatcher-deploy no longer configures a key (POSTHOG_PROJECT_API_KEY is being dropped there too).

Removed

  • The /events endpoint and its axios-based proxy
  • POSTHOG_HOST / POSTHOG_PROJECT_API_KEY env validation
  • The axios dependency (only used by that proxy)
  • README and CLAUDE.md references

Validation

  • npm run build (tsc), npm run lint (eslint), npm run format-check (prettier) all pass

🤖 Generated with Claude Code

The API carried a production-only `/events` reverse proxy that forwarded
analytics payloads to PostHog with a server-side bearer token. Nothing in the
open-source stack sends those events: the frontend has no PostHog client, and
oswatcher-deploy no longer configures a key.

Removed the `/events` endpoint, the `POSTHOG_HOST` / `POSTHOG_PROJECT_API_KEY`
env vars, the now-unused `axios` dependency, and the docs describing them.

Verified: tsc build, eslint and prettier --check all pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014WnrRvhmHcMPj6iwJ2NnzK
@Wenzel
Wenzel merged commit fcdfa48 into master Sep 7, 2026
2 checks passed
@Wenzel
Wenzel deleted the chore/remove-posthog branch September 7, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant