Skip to content

Commit 8aa75fb

Browse files
feat: posthog implementation (#108)
Co-authored-by: JonathanLab <[email protected]>
1 parent 1ffe56a commit 8aa75fb

File tree

16 files changed

+520
-12
lines changed

16 files changed

+520
-12
lines changed

.env.example

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# API Keys
2+
OPENAI_API_KEY=
3+
ANTHROPIC_API_KEY=
4+
5+
# PostHog Analytics
6+
# Used for tracking usage events in the app
7+
VITE_POSTHOG_API_KEY=your_posthog_api_key
8+
VITE_POSTHOG_API_HOST=https://your-posthog-instance.com
9+
VITE_POSTHOG_UI_HOST=https://us.i.posthog.com
10+
11+
# Apple Code Signing (for macOS builds)
12+
APPLE_CODESIGN_IDENTITY=
13+
APPLE_ID=
14+
APPLE_APP_SPECIFIC_PASSWORD=
15+
APPLE_TEAM_ID=
16+
APPLE_CODESIGN_CERT_BASE64=
17+
APPLE_CODESIGN_CERT_PASSWORD=
18+
APPLE_CODESIGN_KEYCHAIN_PASSWORD=

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@
8585
"idb-keyval": "^6.2.2",
8686
"node-addon-api": "^8.5.0",
8787
"node-pty": "1.1.0-beta37",
88+
"posthog-js": "^1.283.0",
89+
"posthog-node": "^4.18.0",
8890
"radix-themes-tw": "0.2.3",
8991
"react": "^18.2.0",
9092
"react-dom": "^18.2.0",

0 commit comments

Comments
 (0)