Vibe Saver
Recover a Power Apps Vibe application's source code from a browser network trace, when the project no longer opens in the authoring experience.
Published code apps keep their source in blob storage, and the Power Apps API
hands the browser a temporary download link for it (codeAppSourceUri). If you
record a network trace while loading your app list, that link is in the trace.
This tool finds it and downloads the ZIP.
Run it
Nothing installed, no Python, no uv:
curl -LsSf https://raw.githubusercontent.com/jack-work/vibe-saver/main/scripts/run.sh | sh
irm https://raw.githubusercontent.com/jack-work/vibe-saver/main/scripts/run.ps1 | iex
Those fetch a standalone binary from the latest release and run it. Each
release also carries the binaries directly, if you would rather download one:
vibe-saver-linux-x86_64, vibe-saver-macos-arm64,
vibe-saver-windows-x86_64.exe.
With uv, which supplies its own Python:
uvx vibe-saver
With pip, or on NixOS:
pip install vibe-saver && vibe-saver
nix run nixpkgs#uv -- tool run vibe-saver
The bare command runs the guided flow: it explains how to record the trace, finds the capture, downloads your source, arranges it for upload, and prints the path to hand to Vibe.
The layout Vibe expects
The archive the platform returns is rooted at the application. Vibe wants a
project tree, so repack rewrites it to mirror a Vibe project export:
project/project.json
project/apps/<app>/...
dist/ is dropped, since the build regenerates it and an export omits it, and
no directory entries are written.
Verbs
The guided flow is optional; every stage is usable on its own.
| Command | Does |
|---|---|
vibe-saver |
guided recovery |
vibe-saver discover [DIR] |
list .har captures, newest first |
vibe-saver list --har F |
every application in a capture |
vibe-saver find --har F --app-id ID |
one application (--json for scripts) |
vibe-saver fetch --har F --app-id ID |
download the source ZIP as it comes |
vibe-saver repack --zip F |
rearrange a source ZIP into the project layout |
vibe-saver instructions [--upload] |
print the guidance text alone |
--app-id accepts either a bare id or a whole player URL.
Recording the trace
vibe-saver instructions prints the full version:
- Open developer tools on
make.powerapps.comand select Network. - Start recording, then reload, then click Apps.
- Save the recording as a
.harfile.
The order matters. If the app list loaded before recording started, the download links are not in the file and nothing can be recovered from it.
About the trace file
A .har holds temporary download links for the applications your account can
reach, and they work for anyone with the file until they expire, a few days
later. The trace is read on your own machine; this tool uploads nothing. Delete
the .har when you are finished.
Layout
src/vibe_saver/
core/ logic only: HAR streaming, lookup, SAS, download, discovery
cli/ prompts, instructional text, the wizard, argument parsing
Two runtime dependencies, both pure Python: rich
draws, questionary asks. Rich turns on
virtual-terminal mode on Windows and drops to ASCII box drawing on legacy
consoles, so the same code looks right on Windows Terminal, cmd.exe, macOS and
Linux. Neither needs a compiler, so uvx starts without a build step and
PyInstaller freezes them without custom hooks.
core never prints and never exits; it raises VibeSaverError subclasses that
carry a plain-language hint. That separation is what lets the same steps be
driven later by something other than a terminal.
Large captures are read incrementally with json.JSONDecoder.raw_decode. On a
152 MB trace (261 entries, largest single response body 60 MB):
| peak RSS | time | |
|---|---|---|
json.load |
769 MB | 5.1 s |
vibe_saver.core.harstream |
147 MB | 7.4 s |
Two seconds buys a 5x smaller footprint. The ceiling is the largest single entry, not the file, so a 500 MB capture stays survivable.
Development
uv sync
uv run pytest
Metadata
Release files for vibe-saver 0.2.1
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 |
|---|---|---|---|---|
| vibe_saver-0.2.1.tar.gz | 23.2 kB | Without provenance | Details for vibe_saver-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vibe_saver-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for vibe_saver-0.2.1-py3-none-any.whl |
Total release size: 51.1 kB
Release files / vibe_saver-0.2.1.tar.gz
| Download URL | vibe_saver-0.2.1.tar.gz |
|---|---|
| Size | 23.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84dcbb121a7865148219eccdc094ebaa7a69a04761574b87f939e5acf0ebe017
|
|
BLAKE2b-256 checksum How to use checksums |
94280bff71a3896248dd378da58dde078c336de326937e381ce8dd5726df7751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vibe_saver-0.2.1-py3-none-any.whl
| Download URL | vibe_saver-0.2.1-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e057e9f1a71875456b692eaebb67dc43a203c2017d2c08391df8f819d4575665
|
|
BLAKE2b-256 checksum How to use checksums |
04dba66a42a172b38bbc847dec65d441d92614bec40d078ae0a0de186766a240
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for vibe-saver 0.2.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.