Skip to main content

StreamEmbed

Search your own screen history by describing what you saw. StreamEmbed indexes the screenshots you already have and keeps capturing your screen as you work, then finds a past screen from a sentence such as "the flight search page to Denver". Everything runs on your machine.

Installation

uv tool install streamembed      # the streamembed command, in an environment of its own
uv pip install streamembed       # or into your project's environment

Python 3.12 or later. The first run downloads the model (about 4 GB). On macOS, allow screen capture for Python when asked (System Settings > Privacy & Security > Screen & System Audio Recording; nothing records audio, only the name mentions it). StreamEmbed opens that pane and prints what to turn on; then run streamembed start again.

Quick Start

From the terminal

streamembed start --folder ~/Desktop                   # index the screenshots there, then capture every 5 s, now and after every login
streamembed search "the flight search page to Denver"  # a minute or more after start: open the search page with this question
streamembed status                                     # also: pause, resume, stop

--folder is where your screenshots are saved: ~/Desktop on macOS, ~/Pictures/Screenshots on Windows and Ubuntu. streamembed --help shows more examples, and streamembed COMMAND -h the options of a command.

From Python

import time
import streamembed as se

se.build_index_from_directory("~/Desktop")     # screenshots you already have
capture = se.build_index_from_now()            # capture the screen every 5 s, in the background
time.sleep(60)                                 # let it capture for a minute

results = se.query_index("the flight search page to Denver")
se.visualize_results(results)                  # each match with the screens before and after it
capture.stop()

Settings

streamembed config lists every setting and its value; streamembed config set KEY VALUE changes one. The background capture reads them when it starts, so run streamembed start again after a change.

Setting Default What it does
index_dir ~/screenshot_index The index folder; live captures go in captures/ inside it
interval 5 Seconds between captures. A screen that did not change is not stored
capture_max_gb 20 Live captures are kept under this size; past it, the oldest are removed (0: no limit)
capture_keep_days 0 Live captures older than this many days are removed (0: kept however old)
exclude_apps password managers Nothing is captured while one of these apps is in front (macOS)
model qwen3-vl-2b qwen3-vl-8b needs a GPU with about 20 GB

Privacy

  • The index and the captures stay in the index folder, readable only by you and not encrypted. Nothing is sent over the network after the model download.
  • On macOS, nothing is captured while the screen is locked or a password manager or private browsing window is in front. On Linux and Windows these checks are not implemented yet.
  • The search page is painted gray in the captures, so a search does not find earlier results.

Requirements

Tested on macOS 15 (Apple silicon), Ubuntu 24.04 under X11 and Windows Server 2025; Wayland is not supported. Encoding needs about 8 GB of memory. StreamEmbed pins torch 2.8.0 and transformers 5.17.0, so install it in an environment of its own if your project needs other versions.

License

Apache-2.0. See LICENSE and NOTICE; the model weights are downloaded under their own licenses.

Metadata

Release files for streamembed 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for streamembed 0.3.3
File Size Uploaded Provenance Actions
streamembed-0.3.3.tar.gz 143.3 kB Without provenance Details for streamembed-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for streamembed 0.3.3
File Interpreter ABI Platform Actions
streamembed-0.3.3-py3-none-any.whl Python 3 none any Details for streamembed-0.3.3-py3-none-any.whl

Total release size: 260.3 kB

Release files / streamembed-0.3.3.tar.gz

Download URL streamembed-0.3.3.tar.gz
Size 143.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cf0908e3087ec630c5a3162439a66bb758c829a317fc817c2902ac717c2c3d5d
BLAKE2b-256 checksum
How to use checksums
0aad089c4ae585073053c82f840ee9394d5861495bfbc43796171ec9d41d550c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / streamembed-0.3.3-py3-none-any.whl

Download URL streamembed-0.3.3-py3-none-any.whl
Size 117.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2ccaf89455782d07bb4118df3f2774d305dbcc27d17d22a2e2569725c5c817e
BLAKE2b-256 checksum
How to use checksums
48c3a287ccbec67874586b67d9740711f7d77c2c0bf358cccfeca5d12a66f9ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for streamembed 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page