From 4dcb8d66b2f22c9d328129d47e010e88768c052d Mon Sep 17 00:00:00 2001 From: Emil Williams Date: Sun, 10 Aug 2025 18:11:31 +0000 Subject: center --- index.html | 82 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 42 insertions(+), 40 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 835e896..efadce1 100644 --- a/index.html +++ b/index.html @@ -9,52 +9,54 @@
You may upload files using the above form or the following command:
-+++ + ++You may upload files using the above form or the following command:
+curl https://up.chud.cyou --upload-file 'file' # alternatively curl https://up.chud.cyou -F'file=@file' # as a shell function upload(){ - url="$1" - shift - if [ -z "$@" ] ; then curl "$url" -F"file=@/dev/stdin"; fi - for i in "$@"; do - if [ "$i" = "-" ]; then i="/dev/stdin" ; fi - curl "$url" -F"file=@$i" - done +url="$1" +shift +if [ -z "$@" ] ; then curl "$url" -F"file=@/dev/stdin"; fi +for i in "$@"; do +if [ "$i" = "-" ]; then i="/dev/stdin" ; fi +curl "$url" -F"file=@$i" +done } chud(){ upload "https://up.chud.cyou" "$@" ; } --- Files are wiped monthly and may not be larger than 100 mebibytes. -
-- Upchud is a FOSS file uploader service, originally developed for - up.chud.cyou -
-- Original source: - git.xolatile.top/anon/upchud -
-
- This deployment's source: - git.xolatile.top/emil/up.chud.cyou -Contact and abuse reports via email.
-- Emacs configuration. This includes some other services too. -
-
+ Files are wiped monthly and may not be larger than 100 mebibytes. +
++ Upchud is a FOSS file uploader service, originally developed for + up.chud.cyou +
+
+ Original source:
+ git.xolatile.top/anon/upchud
+
+ This deployment's source:
+ git.xolatile.top/emil/up.chud.cyou
+
Contact and abuse reports via email.
++ Emacs configuration. This includes some other services too. +
+