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 venv && source .venv/bin/activate
uv pip install streamembed
# or only the `streamembed` command, in an environment of its own
uv tool install streamembed
# with the "hnsw" index type (Python 3.12)
uv pip install "streamembed[hnsw]"
Python 3.12 or later. Tested on macOS (Apple silicon), Ubuntu 24.04 (X11; Wayland is not supported) and Windows Server 2025 (x86-64, CPU). The first run downloads the model (about 4 GB). On macOS, allow Screen Recording for your terminal or Python when asked, then run streamembed start again. On Windows, the hnsw extra needs the Microsoft C++ Build Tools: it has no prebuilt wheel there.
Quick Start
From a 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" # prints the matches and opens a results page
streamembed status # also: pause, resume, stop
streamembed config set interval 10 # change a default
--folder is the folder your screenshots are saved in: ~/Desktop on macOS (unless you changed it in the Screenshot app), ~/Pictures/Screenshots on Windows and Ubuntu. Every image in it and in its subfolders is indexed. macOS protects ~/Desktop: if the terminal (or, for start, the service's Python) has no access to it, indexing stops with a permission error; allow it in System Settings > Privacy & Security > Files and Folders.
Or, instead of streamembed start, from Python. It cannot write to an index that streamembed start is capturing into (stop that first, or use another index_dir); query_index and visualize_results work alongside it.
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
results = se.query_index("the flight search page to Denver")
se.visualize_results(results) # an HTML page with each match and the screens before and after it
capture.stop()
streamembed config lists every setting, its value and where the value comes from. streamembed COMMAND --help lists every option of a command.
The index type (flat, binary, hnsw, ivf or pq) is a setting, not an install choice: streamembed config set index_type pq switches an existing index without indexing again. Only hnsw needs the extra above.
Vectors and metadata stay in the index folder (owner-only, unencrypted). Live captures are written to capture_dir, by default captures/ in the index folder; screenshots indexed from a folder are not copied. 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, and everything on screen is captured.
The full reference (every command and function, the settings, the index folder, the index types and the privacy notes) is README.md in the source distribution: under Download files on this page (https://pypi.org/project/streamembed/#files), download streamembed-VERSION.tar.gz; after tar xzf streamembed-VERSION.tar.gz it is streamembed-VERSION/README.md.
License
Apache-2.0. The model weights are downloaded from Hugging Face under their own licenses.
Metadata
Release files for streamembed 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| streamembed-0.3.0.tar.gz | 131.0 kB | Without provenance | Details for streamembed-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamembed-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for streamembed-0.3.0-py3-none-any.whl |
Total release size: 239.0 kB
Release files / streamembed-0.3.0.tar.gz
| Download URL | streamembed-0.3.0.tar.gz |
|---|---|
| Size | 131.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
048445bacd44667fe5580533ae6417204a54e8ba4484ddee43a7b8a6ec1bcab0
|
|
BLAKE2b-256 checksum How to use checksums |
b137c2d45c2a77dc94dba8c3c664e5437ab5306458770d65b8dd231a276cc9d5
|
| 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.0-py3-none-any.whl
| Download URL | streamembed-0.3.0-py3-none-any.whl |
|---|---|
| Size | 108.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47bf3b65c58c1a873585c927bafa4e2315dc9019c9bfbf19a2fbeaa8be852e6b
|
|
BLAKE2b-256 checksum How to use checksums |
9f21999e8a6ab3e5a304f73285804c324c51837e249fbdeec23327acc65e81fd
|
| 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.0
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.