From 094e63a2ef716876fc299d03be02f90218266d21 Mon Sep 17 00:00:00 2001
From: Alexander Neonxp Kiryukhin
Date: Wed, 28 Aug 2024 14:58:57 +0300
Subject: fix readme
---
storage/index.html | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
(limited to 'storage')
diff --git a/storage/index.html b/storage/index.html
index a83c858..4cfaf0e 100644
--- a/storage/index.html
+++ b/storage/index.html
@@ -6,8 +6,30 @@
Nixshare
+ Usage:
+ Upload file:
curl -d @FILENAME https://nixshare.ru/upload
+ Upload clipboard:
+
X:
++ xclip -o | curl -d @- https://nixshare.ru/upload ++
Wayland (wl-clipboard
required):
+ wl-paste | curl -d @- https://nixshare.ru/upload ++
You can add shell aliases to .bashrc or .zshrc file:
+X:
++ alias nsh="xclip -o | curl -d @- https://nixshare.ru/upload 2>/dev/null | xclip" ++
Wayland (wl-clipboard
required):
+ alias nsh="wl-paste | curl -d @- https://nixshare.ru/upload 2>/dev/null | wl-copy" +