shithub: paste

Download patch

ref: 4f19f3128c19e76a6fc2890b1de48c664fb1af03
author: Jacob Moody <[email protected]>
date: Thu Feb 22 21:14:50 EST 2024

initial commit

--- /dev/null
+++ b/0x0
@@ -1,0 +1,9 @@
+#!/bin/rc
+
+fn usage {
+	echo usage: 0x0 file >/fd/2
+	exit usage
+}
+if(! ~ $#* 1)
+	usage
+hpost -u https://0x0.st -m / 'file@'^$1 | tee /dev/snarf ; echo
--- /dev/null
+++ b/catbox
@@ -1,0 +1,9 @@
+#!/bin/rc
+
+fn usage {
+	echo usage: catbox file >/fd/2
+	exit usage
+}
+if(! ~ $#* 1)
+	usage
+hpost -u https://catbox.moe -m /user/api.php 'reqtype:fileupload' 'fileToUpload@'^$1 | tee /dev/snarf ; echo
--- /dev/null
+++ b/transfer
@@ -1,0 +1,9 @@
+#!/bin/rc
+
+fn usage {
+	echo usage: transfer file >/fd/2
+	exit usage
+}
+if(! ~ $#* 1)
+	usage
+<$1 hget -P -m PUT https://transfer.sh/^$1 | tee /dev/snarf ; echo