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.14.1 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.4
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.4.tar.gz | 146.6 kB | Without provenance | Details for streamembed-0.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamembed-0.3.4-py3-none-any.whl | Python 3 | none | any | Details for streamembed-0.3.4-py3-none-any.whl |
Total release size: 266.5 kB
Release files / streamembed-0.3.4.tar.gz
| Download URL | streamembed-0.3.4.tar.gz |
|---|---|
| Size | 146.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f13fa23a5c3e98e2a4b5da799516790307d4da658d672ec30f2b0f448a549e1e
|
|
BLAKE2b-256 checksum How to use checksums |
3f4c6bbbca3b3375b85cd0f71b01a5a169f3438257b7a4a6f6e653cfb06c8988
|
| 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.4-py3-none-any.whl
| Download URL | streamembed-0.3.4-py3-none-any.whl |
|---|---|
| Size | 119.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3992ecd3a561c35dcf8258edb9758c0cd2e91ebca99519287c89058800aa75d2
|
|
BLAKE2b-256 checksum How to use checksums |
dd4c7ed5e135dc58cd0a4a99492c1d346b0ceda43d8c20ca67f0fb42580e4a4c
|
| 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.4
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.