templates/index: update the description
Give a quick rundown of how to use the pastebin Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
@@ -60,32 +60,40 @@ button[type="submit"].hidden { display: none; }
|
|||||||
bin(3) BIN bin(3)
|
bin(3) BIN bin(3)
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
|
bin - A highly opinionated and minamalistic Pastebin
|
||||||
|
|
||||||
bin - A highly opinionated and minamalistic Pastebin
|
ROUTES
|
||||||
|
GET /<id>
|
||||||
|
Get raw pastes
|
||||||
|
GET /p/<id>
|
||||||
|
Get highlighted pastes
|
||||||
|
GET /p/<id>.<ext>
|
||||||
|
Get syntax highlighted pastes.
|
||||||
|
E.g. https://bin.wantguns.dev/p/foobaz.cpp should return a C++ syntax
|
||||||
|
highlighted paste
|
||||||
|
|
||||||
WEB USAGE
|
WEB USAGE
|
||||||
|
Drag a file and drop it here, or
|
||||||
|
Paste an image from your clipboard using Ctrl + v, or
|
||||||
|
After typing, press the big yellow button to paste, or
|
||||||
|
Just press Ctrl + Enter once done typing.
|
||||||
|
|
||||||
Drag a file and drop it here,
|
Tip: Set your browser's monospace font to the one you prefer
|
||||||
or After typing, press the big yellow button to paste, or
|
|
||||||
Just press Ctrl + Enter once done.
|
|
||||||
|
|
||||||
CLI USAGE
|
CLI USAGE
|
||||||
|
curl \
|
||||||
|
-Ls -o /dev/null \
|
||||||
|
-w %{url_effective} \
|
||||||
|
--data-binary @file.txt \
|
||||||
|
https://bin.wantguns.dev | tee >(xclip -selection clipboard)
|
||||||
|
|
||||||
curl \
|
Better use cases of CLI mentioned at Github
|
||||||
-Ls -o /dev/null \
|
|
||||||
-w %{url_effective} \
|
|
||||||
--data-binary @file.txt \
|
|
||||||
https://bin.wantguns.dev
|
|
||||||
|
|
||||||
Better use cases of CLI mentioned at Github
|
|
||||||
|
|
||||||
SEE ALSO
|
SEE ALSO
|
||||||
github.com/wantguns/bin
|
github.com/wantguns/bin
|
||||||
|
|
||||||
AUTHOR
|
AUTHOR
|
||||||
Gunwant Jain
|
Gunwant Jain
|
||||||
|
|
||||||
2021-06-20 bin(3)
|
|
||||||
" autofocus autocomplete="off" autocorrect="off" autocapitalize="off"
|
" autofocus autocomplete="off" autocorrect="off" autocapitalize="off"
|
||||||
spellcheck="false"></textarea>
|
spellcheck="false"></textarea>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user