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 Recording for Python when asked, 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.2

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.2
File Size Uploaded Provenance Actions
streamembed-0.3.2.tar.gz 140.9 kB Without provenance Details for streamembed-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 256.0 kB

Release files / streamembed-0.3.2.tar.gz

Download URL streamembed-0.3.2.tar.gz
Size 140.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0c05384082f4b17fa285210055dec1a625a77e6daea156b97ce179e0a1495160
BLAKE2b-256 checksum
How to use checksums
606f36330a9e379235e1f7c1833d91ae2a7508570f55347f9b6d1f04d983c721
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.2-py3-none-any.whl

Download URL streamembed-0.3.2-py3-none-any.whl
Size 115.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd55cd854eab38cee35075f4ef074a9fa2553ae11b7dab4f7c24ea0d8fe96026
BLAKE2b-256 checksum
How to use checksums
1ce9d19bce36a10ac54f7ba183818e0818b6eb3552ac0226d94d06c26192fe0f
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.2

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