Skip to main content

Scan your LLM chat exports for personal information

Project description

looselips

Loose Lips Might Sink Ships

Scan your ChatGPT and Claude chat exports for personal information you might not want sitting in the cloud.

Install

pip install looselips

Basic usage

  1. Export your data (both services email you a download link):
    • ChatGPT: Settings -> Data controls -> Export.
    • Claude: Settings -> Privacy -> Export Data.
  2. Create a looselips.toml config defining what to look for (see below).
  3. Run:
looselips --config looselips.toml export.zip

The format (ChatGPT vs Claude) is auto-detected. Accepts .zip exports or raw conversations.json files from either service.

Config file

Define your matchers in a looselips.toml. See examples/example.toml for a full example with common patterns.

[[matcher]]
type = "regex"
category = "My Phone"
pattern = '212.?867.?5309'

[[matcher]]
type = "regex"
category = "Home Address"
pattern = '(?i)742\s+Evergreen\s+Terrace'

Patterns use the Python re module. Inline flags like (?i) for case-insensitive, (?s) for dotall, and (?x) for verbose mode (comments and ignored whitespace) work in the pattern string itself.

looselips --config looselips.toml export.zip

LLM matchers

For things regex can't catch, add LLM matchers to your config. Each one runs a separate inference pass per conversation chunk, so prefer a few focused matchers over many broad ones.

model = "ollama/qwen3:0.6b"

[[matcher]]
type = "llm"
name = "Employment & Financial"
prompt = "Find employment and financial information -- company names, job titles, salary figures, stock grants."

[[matcher]]
type = "llm"
name = "Medical & Health"
prompt = "Find medical and health information -- conditions, medications, doctor names."

You can override the model per-matcher with the model key.

Output

Default output is <input (without extension)>_report.html. Override with --output:

looselips --config looselips.toml --output=report.html export.zip

Everything runs locally -- no data leaves your machine (unless you use a cloud LLM model).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

looselips-0.1.2.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

looselips-0.1.2-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file looselips-0.1.2.tar.gz.

File metadata

  • Download URL: looselips-0.1.2.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for looselips-0.1.2.tar.gz
Algorithm Hash digest
SHA256 98c8f0a5657e866801205708e45a647356d6479c65c16b5b04af9d29174d6cbe
MD5 cfee1fc67ecf87df111a96e5f49e1cfd
BLAKE2b-256 4a87fb1d1d8a98b8900988b950a326f19dc7887988076b8e41d5c810ab367fd9

See more details on using hashes here.

File details

Details for the file looselips-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: looselips-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for looselips-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f377767c4744c864fb939b8b7c8d76c8330b4690e5ad4c734296f4dfe3d025
MD5 f61defec26cde0990d280ade68701b19
BLAKE2b-256 e6663e7369e7f4648f8861969982bc654f6d9e5847b27c7cdac3bfcfe08633f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page