commit 7fce1fe87ae4d29466702ef5a7210ea06d64c3d9
parent 3b9e9950f092720aceb7785054993f03cd597db9
Author: Oliver Lowe <o@olowe.co>
Date: Sat, 19 Jul 2025 15:31:22 +0700
webpaste: delete
Rather just put a file somewhere rather than running yet another HTTP
server
Diffstat:
3 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/README b/README
@@ -13,6 +13,5 @@ The following commands are provided:
- llm - chat with a remote large language model
- precis - summarise text
- rfc - read IETF RFC documents
-- webpaste - create a web paste on webpaste.olowe.co
- ws - web search
- xstream - stream X display over the network
diff --git a/bin/webpaste b/bin/webpaste
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-usage="usage: webpaste [file]"
-
-file='<-' # standard input
-if test $# -eq 1
-then
- file="@$1"
-elif test $# -gt 1
-then
- echo $usage
- exit 1
-fi
-
-curl -s -F "text=$file" https://webpaste.olowe.co/paste
diff --git a/man/webpaste.1 b/man/webpaste.1
@@ -1,21 +0,0 @@
-.Dd
-.Dt WEBPASTE 1
-.Sh NAME
-.Nm webpaste
-.Nd create a web paste on webpaste.olowe.co
-.Sh SYNOPSIS
-.Nm
-.Op Ar file
-.Sh DESCRIPTION
-The
-.Nm
-utility reads from
-.Ar file ,
-or the standard input if none is specified,
-and creates a paste from its contents on the webpaste.olowe.co service.
-A URL to the paste is printed on success.
-.Sh EXIT STATUS
-.Ex
-.Sh SEE ALSO
-.Xr curl 1 ,
-.Lk https://webpaste.olowe.co The webpaste website