Skip to the main content
mkfifo.com

/bin/gzip

The builtin gzip of mkfifo.com, with the options of the command gzip of a shell. The builtins of an envelope are the same.

Use it from the web

Its address is https://mkfifo.com//bin/gzip, with two slashes. Send a POST: the body is the input, and the query gives the words, between & and with percent-encoding. The answer is the output, as the command of a shell writes it. An error gives 422 and the error.

curl --data-binary @- 'https://mkfifo.com//bin/gzip' <<'EOF'
hello
EOF

The answer (200):

(26 bytes, not text)
1f 8b 08 00 00 00 00 00 00 03 cb 48 cd c9 c9 e7
02 00 20 30 3a 36 06 00 00 00

Use it in an envelope

A pipe gives a value to it, as to a FIFO: $body | /bin/gzip. An egress envelope can send to it, To: /bin/gzip, and Reply-To gives its answer to a FIFO. These give no words: use the builtin itself for words, as in $body | jq .id.

A builtin here has no FIFO as its home: no code of totp and no sealed key of a FIFO opens in it. Each run counts in the limits of its Request.