Bin

Bin

highly opinionated, minimal pastebin

307GitHub
应用介绍

A minimal pastebin which also accepts binary files like Images, PDFs and ships multiple clients. It does not require you to host a SQL server and everything is self-contained in a statically linked binary (the docker image runs on scratch !), which makes it extremely easy to deploy. Clients Web You can paste Normal Text Paste Images from clipboard: clipboard-paste Files by drag and drop: drag_n_drop CLI cli-usage Installation Get the client from this repository or from my deployed paste: https://github.com/wantguns/bin/blob/master/contrib/cli/client curl -o pst https://bin.wantguns.dev/client chmod +x pst or manually copy the following at a file in your path. #!/bin/bash # Change the url accordingly URL="https://basedbin.fly.dev" FILEPATH="$1" FILENAME=$(basename -- "$FILEPATH") EXTENSION="${FILENAME##*.}" RESPONSE=$(curl --data-binary @${FILEPATH:-/dev/stdin} --url $URL) PASTELINK="$URL$RESPONSE" [ -z "$EXTENSION" ] && \ echo "$PASTELINK" || \ echo "$PASTELINK.$EXTENSION" You have the option to remove the /client description / help in the landing page. To show the /client description, run the bin binary with either BIN_CLIENT_DESC env variable or a -c flag. More on arguments later Usage It just works. $ pst somefile.txt $ cat someimage.png | pst (Neo)Vim Installation Install the CLI client Append this to your init.vim / vimrc nnoremap <leader>p :!pst %<CR> Usage Use <leader> + p paste.

应用截图
Screenshot 1
Screenshot 2
Screenshot 3
移动端截图
Mobile Screenshot 1
Mobile Screenshot 2
Mobile Screenshot 3
应用信息
版本
2.4.0
安装包大小
947 B
更新时间
2025年10月10日
源代码
wantguns
平台支持
PC移动端