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
    

Shell alias:

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"
    

Author:

Alexander NeonXP Kiryukhin <a.kiryukhin@mail.ru>

Source code:

gitrepo.ru/neonxp/nixshare