WBOX(1)

πŸ’– WBOX(1) β€” like, the wbox manual, but make it make sense πŸ’–

okay bestie, sit down, hydrate, because we're about to talk about wbox β€” that's the manual page name right there in the corner, general commands section, and she's so much fun. no cap.


✨ NAME ✨

wbox β€” HTTP testing tool and configuration-less HTTP server πŸ¦‹

like. it tests HTTP. and it also serves files with zero config. it's giving multitasking icon.


🌸 SYNOPSIS 🌸

wbox <url> [ options ]
wbox servermode webroot <path> [serverport <portnumber> (def 8081)]

two whole modes, two whole vibes. pick your fighter πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so the whole point of wbox, per her own words, is to help you have fun while testing HTTP stuff. not just "do" it. have fun. main character energy fr fr.

here's what you can do with her:

  • Benchmark how long it takes to generate content for your web app. ⏱️
  • Stress your web server and your web app. 😀
  • Test virtual domains configuration without having to touch your local resolver. no editing /etc/hosts, we're not doing that today.
  • Use her as a configuration-less HTTP server to share files! 🫢 zero config, just vibes.

πŸ‘‘ OPTIONS πŸ‘‘

one bullet per option, all of them, no skipping, periodt.

  • <number> β€” stop after <number> requests. a little "okay that's enough" button.
  • compr β€” sends Accept-Encoding: gzip,deflate in the request. ask for the compressed girlies.
  • showhdr β€” show the HTTP reply header. just the header, she's private like that.
  • dump β€” show the HTTP reply header + body. full tea, no filter.
  • silent β€” don't show status lines. shhh 🀫
  • head β€” use the HEAD method instead of GET.
  • http10 β€” use HTTP/1.0 instead of HTTP/1.1. retro moment.
  • close β€” close the connection after reading few bytes. dramatic exit πŸ’…
  • host <hostname> β€” use <hostname> as the Host: field in the HTTP request.
  • timesplit β€” show transfer times for different data chunks. the receipts ✨
  • wait <number> β€” wait <number> seconds between requests. default 1.
  • clients <number> β€” spawn <number> concurrent clients (via fork()). chaos, organized.
  • referer <url> β€” send the specified referer header.
  • cookie <name> <val> β€” set cookie name=val. can be used multiple times, stack 'em πŸͺ
  • maxclients <number> β€” max concurrent clients in server mode (default 20).
  • -h or --help β€” show this help.
  • -v β€” show version.

🌈 USAGE EXAMPLES 🌈

copied exactly, because these are the whole blueprint:

wbox wikipedia.org                  (simplest, basic usage)

wbox wikipedia.org 3 compr wait 0   (three requests, compression, no delay)

wbox wikipedia.org 1 showhdr silent (just show the HTTP reply header)

wbox wikipedia.org timesplit        (show split time information)

wbox 1.2.3.4 host example.domain    (test a virtual domain at 1.2.3.4)

wbox servermode webroot /tmp/mydocuments  (Try it with http://127.0.0.1:8081)

see how easy that was? no config file. no yaml. no anything. obsessed. πŸ˜­πŸ’–


🧚 TUTORIAL 🧚

wbox is trivial to use, like genuinely trivial, but if you wanna really understand what she is and how to use her, go read the TUTORIAL inside the /usr/share/doc/wbox/ directory. it's right there. reading is self care 🫢


πŸ’œ AUTHOR πŸ’œ

wbox was written by Salvatore 'antirez' Sanfilippo <antirez@gmail.com>. king behavior πŸ‘‘

this manual page was written by Alberto Furia <straluna@email.it>, for the Debian project (and may be used by others). queen behavior πŸ‘‘


okay that's the whole page bestie, we ate and left zero crumbs ✨ this was the wbox manual from the General Commands Manual section, dated December 10, 2009 β€” yeah she's an older icon but she still slays, and that's on periodt πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from