Repository navigation
Releases
v0.3.0
Reqbox 0.3.0 — startup no longer depends on being able to copy text out of a
console window. Download the archive for your platform, unpack it, run reqbox,
and the browser opens already signed in.
Highlights
-
The browser opens automatically. The API token is printed once and never
again, so anyone who cannot select text in a console window was stuck. Reqbox
now opens the sign-in link for you: no copying, no pasting. On a restart, where
the plaintext token is gone, it opens the bare address and you land on the
unlock screen.-no-browserorserver.openBrowser: falseturns it off. -
reqbox.yamlbeside the executable. Previously the listen address could
only be changed with-addror an environment variable — useless if you start
the program by double-clicking. Copyreqbox.example.yamltoreqbox.yaml
and edit it:server: port: 5178 # or `addr: 127.0.0.1:5178` autoPort: true # move to the next free port when this one is taken openBrowser: true storage: db: data/reqbox.db auth: enabled: true logging: verbose: false
Precedence, highest first: command-line flag > environment variable >
reqbox.yaml> built-in default. A file never overrides a flag, so an
existing shortcut or start script keeps working untouched. Unknown keys are an
error rather than being ignored, so a typo likeauto_portfails loudly
instead of silently doing nothing. -
A busy port is no longer fatal. Reqbox tries the next 20 ports and logs
requested=... using=...every time. The sign-in URL and the browser tab use
the port actually bound. If something depends on an exact port, set
server.autoPort: falseto get a clear failure instead.
Fixes
-
The sign-in URL pointed at port 0 when started with
-addr 127.0.0.1:0.
The URL was built from the configured address before the listener existed. It
is now built from the bound listener, which also makes it correct when the
server falls back to another port. -
Selecting text in the Windows console froze the window. QuickEdit, on by
default, pauses output when you drag-select and turns Ctrl+C into copy instead
of interrupt. That flag is cleared at startup.
Install
# Linux / macOS
tar -xzf reqbox_0.3.0_<os>_<arch>.tar.gz
./reqboxWindows archives are .zip; unpack and run reqbox.exe. On first start the
browser opens at a one-time sign-in URL. If it does not, the URL is also printed.
Verify a download against checksums.txt:
sha256sum -c checksums.txt --ignore-missingNotes
- Platforms: linux, darwin and windows on amd64 and arm64.
CGO_ENABLED=0
throughout — the SQLite driver is pure Go. - Upgrading is automatic. The database migrates in place on start: schema
version 1 (the oldapimockbuilds) gains onehistory.timingcolumn, and
every request, environment, history entry and published mock is kept. Back up
the file first if you want a way back — the migration has no dry-run mode.
This was verified against a database produced by the real 2026-10 build,
including the downgrade direction. - Stored credentials are plaintext. The API token controls who can call the
API and the database file is restricted to the account running it, but anything
that can read that file reads the Bearer tokens, Basic passwords and API keys
inside it. Seedocs/planning/TODO.mdfor what encryption at rest would take. - No SSE or WebSocket client yet; HTTP only.
Install: download the archive for your platform, unpack it, run reqbox,
and open the sign-in URL printed on startup.
The database and its plaintext credentials stay on the machine running it:
see the security notes in the README.
Reqbox 0.1.2 for Windows Server 2008 R2
Reqbox 0.1.2 for Windows Server 2008 R2 — the first release that actually
starts on 2008 R2 and lets you sign in.
v0.1.1 started, but the front end had no unlock screen: the page loaded,
every API call returned 401, and there was no way to enter the token. This
release fixes that, and removes the two remaining obstacles from a
double-clicked start.
Highlights
-
You can sign in now. The unlock screen was missing from the front end —
the server-side token check had been ported, the page that asks for the token
had not. The browser opens straight into the app instead of an empty workspace
with an error toast. -
The browser opens by itself, already signed in. The token is printed once
and never again, so a user who cannot copy it out of the console window is
locked out permanently. Startup now opens the sign-in link directly.
-no-browseroropenBrowser: falseturns it off. On a restart, where the
plaintext is gone, it opens the bare address and you land on the unlock screen. -
reqbox.yamlnext to the executable. A double-clicked binary had no way to
pass a flag, so the port could not be changed at all. Copy
reqbox.example.yamltoreqbox.yamland edit it.server: port: 5178 autoPort: true # move to the next free port when this one is taken openBrowser: true
Precedence: flag > environment variable > file > built-in default, so an
existing shortcut that passes-addrkeeps working. Unknown keys are an
error rather than silently ignored. -
A busy port no longer stops startup. It moves to the next free port and
logsrequested=... using=...; the sign-in URL uses the port actually bound.
autoPort: falserestores a hard failure if something depends on an exact
port. -
The console no longer freezes on a drag-select. Windows' QuickEdit mode
paused output when you selected text and turned Ctrl+C into copy. That flag is
cleared at startup.
Install
- Download
reqbox_0.1.2_windows_amd64_legacy.zipbelow and unpack it. - Run
reqbox.exe(double-clicking is fine now). - Your browser opens, already signed in.
Verify the download:
Get-FileHash .\reqbox_0.1.2_windows_amd64_legacy.zip -Algorithm SHA256
# compare with checksums.txtCompatibility
Built with Go 1.20.14 as always, because Go 1.21+ emits binaries that call
ProcessPrng, which bcryptprimitives.dll does not export before Windows
Server 2012 — such a binary exits instantly with no output on 2008 R2.
Every release is checked by scripts/legacyguard before publishing: PE minimum
OS must be 6.x, the file must contain no ProcessPrng / bcryptprimitives, and
imported DLLs must be on an allowlist of libraries that ship with NT 6.1. The
archived .exe is unpacked and re-checked after zipping.
| System | This build |
|---|---|
| Windows Server 2008 R2 (NT 6.1) | verified — starts and runs |
| Windows 7 / 8 / 8.1 | expected to work (same kernel family) |
| Windows Server 2012 / 2012 R2 | works |
| Windows 10 / Server 2016+ | works; the main-branch build is the better choice |
Still unverified
The three fixes in this release were verified on Windows 10 and by end-to-end
HTTP checks against the real binary, but not yet re-run on 2008 R2 itself.
Please confirm on the machine:
- Double-click
reqbox.exe— the browser should open already signed in. - If it does not, run
reqbox.exe -version; if that prints nothing, the binary
did not load and that is the thing to report. - Send one request — saving was the step that failed before.
- Optional: start a second instance and confirm the first one's log shows
requested=... using=...and the browser lands on the new port.
Security notes
Unchanged, and they matter more on an old server: stored credentials are
plaintext in the database (the file is restricted to the account running it, but
anyone who can read the file reads every token), Go 1.20 is out of support,
and Windows Server 2008 R2's extended support ended in January 2020. Keep this
on an isolated internal network.
Reqbox 0.1.1 for Windows Server 2008 R2
Reqbox 0.1.1 for Windows Server 2008 R2
The legacy build: the same application as the main-branch releases, compiled
with Go 1.20.14 so it still starts on Windows Server 2008 R2 (NT 6.1) and
other pre-Windows-10 systems.
Newer Go toolchains emit binaries that call ProcessPrng, which
bcryptprimitives.dll does not export before Windows Server 2012. On 2008 R2
such a binary exits immediately without printing anything — no error, no log.
That is the entire reason this release exists.
What is in the archive
reqbox.exe the server and the embedded web client, one file
LEGACY-WINDOWS.md why the legacy build exists, and its limits
README.md normal usage
Unpack it anywhere and run reqbox.exe. On first start it prints an API token
and a URL that signs you in:
msg="API token generated; open this URL once to sign in"
token=8fK2… url="http://127.0.0.1:5178/?token=8fK2…"
Open that URL and the token is exchanged for a session cookie, then removed from
the address bar. Only the SHA-256 hash is stored, so the plaintext is shown once.
A restart keeps you signed in.
Verify the download:
Get-FileHash .\reqbox_0.1.1_windows_amd64_legacy.zip -Algorithm SHA256
# compare with checksums.txtCompatibility
| System | This build |
|---|---|
| Windows Server 2008 R2 (NT 6.1) | built for it |
| Windows 7 / 8 / 8.1 | expected to work (same kernel family) |
| Windows Server 2012 / 2012 R2 | works |
| Windows 10 / Server 2016+ | works, but the main-branch build is the better choice |
Every release is checked by scripts/legacyguard, which fails the build if the
binary:
- declares a minimum OS above 6.x,
- references
ProcessPrngorbcryptprimitives.dll, or - imports a DLL that is not known to ship with NT 6.1.
CI runs the same check and then starts the binary on Windows to confirm the
embedded UI is served. See LEGACY-WINDOWS.md for the full reasoning.
What is different from the main-branch release
Only the toolchain and the dependency versions. The application, the database
schema and the UI are identical; the front end is the same build.
| Item | This branch | Main |
|---|---|---|
| Go | 1.20.14 | 1.24.1 |
log/slog |
self-written internal/logging |
standard library |
| SQLite driver | modernc.org/sqlite v1.29.10 |
v1.39.1 |
The pins are not cosmetic: raising them makes the branch stop compiling with
Go 1.20, which is why scripts/check-legacy-pins.ps1 runs in CI.
Security notes
Same as main, and they matter more on an old server:
- Stored credentials are plaintext. The database is restricted to the
account running it, but anyone who can read the file reads every Bearer token,
Basic password and API key in it. - Go 1.20 is out of support (since February 2024), as is Windows Server
2008 R2 (extended support ended January 2020). This build receives no runtime
security updates from the Go team. - Keep it on an isolated internal network. Do not expose the port to the
internet. The default listen address is127.0.0.1; use-addronly if you
really need remote access, and put TLS in front of it.
Unverified on real hardware
The binary is verified structurally (see above) but has not yet been run on a
physical or virtual Windows Server 2008 R2 machine. Windows Server 2012 R2 was
confirmed on 2026-10-20; 2008 R2 is the next test. If it fails, please report
whether the process exits instantly, and include the output of:
.\reqbox.exe -versionv0.2.0
Reqbox 0.2.0 — the first release with prebuilt binaries. Download the archive
for your platform, unpack it and run reqbox; the web client is embedded, so
there is nothing else to install.
Highlights
- API token auth. A random token is generated on first start and printed
once as a sign-in URL; only its SHA-256 hash is stored.GET /api/requests
used to hand out every stored credential to anyone who could reach the port. - The server listens on loopback by default. Reaching it from another machine
now takes an explicit-addr, and doing so logs a warning. - Database permissions are actually restricted on Windows.
os.Chmoddoes
not touch ACLs there; the file and its-wal/-shmsidecars now get a real
DACL limited to the current account. - Chinese and English UI, switchable from the header and remembered across
reloads. - Phased timings (DNS / connect / TLS / TTFB / download) in the response pane
and in history. - Response tabs reorganised the way a browser's network panel works:
Headers, Request Body, Preview, Response — including the headers Reqbox adds on
your behalf. - Long URLs are fully readable, via a tooltip and an expandable full-URL row.
- Query parameters in the Params panel win over duplicates in the URL, instead
of both being appended. - CI on GitHub Actions: Go tests on Linux and Windows (with the race detector
on Linux), the front-end suite, and a build that boots the binary to check the
embedded UI.
Install
# Linux / macOS
tar -xzf reqbox_0.2.0_<os>_<arch>.tar.gz
./reqboxWindows archives are .zip; unpack and run reqbox.exe. On first start the
binary prints an API token and a URL that signs you in.
Verify a download against checksums.txt:
sha256sum -c checksums.txt --ignore-missingNotes
- Platforms: linux, darwin and windows on amd64 and arm64.
CGO_ENABLED=0
throughout — the SQLite driver is pure Go, so no libc is required. - Stored credentials are plaintext. The API token controls who can call the
API, and the database file is restricted to the account running it, but
anything that can read that file reads the Bearer tokens, Basic passwords and
API keys inside it. This is a deliberate scope decision: the tool is meant to
run on one machine and keep its data there. Seedocs/TODO.mdfor what
encryption at rest would take. - No SSE or WebSocket client yet; HTTP only.