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.3.tar.gz (28.6 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.3-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: looselips-0.1.3.tar.gz
  • Upload date:
  • Size: 28.6 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.3.tar.gz
Algorithm Hash digest
SHA256 a89d47aa6603691f464179f87c6d98ee6891566de70efd373edebf7cff82854f
MD5 23fda4959f79904527059b81159f5602
BLAKE2b-256 744127b1e72eade79ba88c375ca92cbbb3f63b62b73243e031e01287da1836a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: looselips-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4504bb3895d47a407add59469a3e824b5c5caf8478d6df3ae24c495bb0d59ecc
MD5 0426f95013bb39e6e99f75eb872adae3
BLAKE2b-256 037d56247232f5293412a682aeceff921e349e1ee9702afda67fc56b46e5bcc2

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