diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-08-28 15:22:01 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-08-28 15:22:01 +0300 |
commit | 670fadcfbcef7d139ebb81e3d4aa5f8ccac804ee (patch) | |
tree | 38e9139a43ee68ba03dfcb5d5b7535ba9efd55e1 /html | |
parent | 094e63a2ef716876fc299d03be02f90218266d21 (diff) |
Diffstat (limited to 'html')
-rw-r--r-- | html/index.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..3d3b20e --- /dev/null +++ b/html/index.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>NixShare</title> +</head> +<body> + <h1>Nixshare</h1> + <h2>Usage:</h2> + <h3>Upload file:</h3> + <pre> + curl -d @FILENAME https://nixshare.ru/upload + </pre> + <h3>Upload clipboard:</h3> + <p>X:</p> + <pre> + xclip -o | curl -d @- https://nixshare.ru/upload + </pre> + <p>Wayland (<code>wl-clipboard</code> required):</p> + <pre> + wl-paste | curl -d @- https://nixshare.ru/upload + </pre> + <h3>Shell alias:</h3> + <p>You can add shell aliases to .bashrc or .zshrc file:</p> + <p>X:</p> + <pre> + alias nsh="xclip -o | curl -d @- https://nixshare.ru/upload 2>/dev/null | xclip" + </pre> + <p>Wayland (<code>wl-clipboard</code> required):</p> + <pre> + alias nsh="wl-paste | curl -d @- https://nixshare.ru/upload 2>/dev/null | wl-copy" + </pre> + <h2>Author:</h2> + <p>Alexander NeonXP Kiryukhin <<a href="mailto:a.kiryukhin@mail.ru">a.kiryukhin@mail.ru</a>></p> + <h2>Source code:</h2> + <a href="https://gitrepo.ru/neonxp/nixshare">gitrepo.ru/neonxp/nixshare</a> +</body> +</html>
\ No newline at end of file |