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.1

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.1
File Size Uploaded Provenance Actions
streamembed-0.3.1.tar.gz 139.0 kB Without provenance Details for streamembed-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 252.2 kB

Release files / streamembed-0.3.1.tar.gz

Download URL streamembed-0.3.1.tar.gz
Size 139.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e0e0ef48b6bac83339cd5187ea881c99ef208009c06d6a5abe9c349767207859
BLAKE2b-256 checksum
How to use checksums
4462e2d08ba5f6d992ea0f2fd74439b52c0b4059b0b203290aaf3e8bf8d3f724
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.1-py3-none-any.whl

Download URL streamembed-0.3.1-py3-none-any.whl
Size 113.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5b3b852f4e8bb04bfe0c9a217c4d578bc56816ffd7c10f213c7f93f99735bdd
BLAKE2b-256 checksum
How to use checksums
0d157ff3e9c6ac922821ca58334af754f7b17b1d38893d9714dd42e77636cb83
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.1

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