Skip to main content

Project description for LLM Tools Browser History

Project description

LLM Tools Browser History

A tool for the llm command line that allows searching local browser history.

Usage

Examples:

# Search for pages mentioning yosemite in title or URL
llm -T llm_time -T BrowserHistory "what pages about yosemite did I look up recently?"

# Limit to Firefox and Safari sources
llm -T llm_time -T 'BrowserHistory(["firefox","safari"])' "what pages about yosemite did I look up recently?"

llm -T BrowserHistory "show a table of how much I used each browser over the past year by month"

Security and Privacy

Warning: This tool has read-access to your entire browser history. You risk sending this highly sensitive personal data to third-party services (like OpenAI).

See the lethal trifecta article for more information about the risks of using tools like this with LLMs.

To mitigate the risks of data leakage:

  • Only runs queries against a copy of the target browser's history database (so any malicious modification has no effect).
  • Limits the number of results to no more than 100 records per tool use.
  • Does not return the entire browser history record. This tool will return a subset of fields (URL, title, visit date). Query parameters are stripped from URLs and timestamps only include the date (not the time).

Dev setup

make setup
make test

pip install -e .

llm -T llm_time -T BrowserHistory --td "what pages about yosemite did I look up recently?"

ADRs

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

llm_tools_browser_history-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

llm_tools_browser_history-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file llm_tools_browser_history-0.1.0.tar.gz.

File metadata

File hashes

Hashes for llm_tools_browser_history-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2fc05942538ac29c165e884d49b58683758308a301b9d1daa2e452ed9ee0ffeb
MD5 30f342e95922111a3f469e5f19ec9172
BLAKE2b-256 31b766b4f3afafa061f2ea564698e19b8961874cc6b21a7e1a15401ae763608b

See more details on using hashes here.

File details

Details for the file llm_tools_browser_history-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_tools_browser_history-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6f79ad011dabf964c6853c377063ca66c5435273c7b5d23d283b28e07e5562a
MD5 a34ec04c979c1dbf40cf046e4d207208
BLAKE2b-256 39ffaf7f9309ab1fd977884423716b61c456ca3c9ca7e32a20ddf62370491d4f

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