Anonymous opt-out telemetry — PostHog. Disable by setting MNEMON_NO_TELEMETRY=1 in the environment. What is sent: framework, cache_level, tokens_saved, latency_ms, mnemon_version, python_version. What is never sent: prompts, goals, content, API keys, file paths, user identity. Ru
# Source: https://github.com/smartass-4ever/Mnemon | License: MIT | Copyright 2026 Mahika Jadhav
# Provided via justclaw.it.com; keep this notice with the code.
"""
Anonymous opt-out telemetry — PostHog.
Disable by setting MNEMON_NO_TELEMETRY=1 in the environment.
What is sent: framework, cache_level, tokens_saved, latency_ms, mnemon_version, python_version.
What is never sent: prompts, goals, content, API keys, file paths, user identity.
Runs in a daemon thread — never blocks, never raises.
"""
import hashlib
import json
import os
import sys
import threading
import urllib.request
from typing import List
_KEY = os.environ.get(
"MNEMON_POSTHOG_KEY",
"phc_kgVmx3ixuEj5qQ2zDKniQrWxeRj4dfurm79LrDLce8eQ",
)
_URL = "https://us.i.posthog.com/capture/"
_ENABLED = os.environ.get("MNEMON
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key