go + react 写的一个云剪切板工具,功能特别特别简单,解决我自己的一个痛点:每次需要在一台陌生的电脑上 debug 时,无法很方便地把日志等信息转给我自己的电脑,像 localsend 这类工具不太适用。需要快速在两台设备上分享文本/文件时,没有顺手的工具,总是图方便用微信发给自己😅
另外我不想在我的电脑上安装一些第三方软件拦截我的剪切板,所以就考虑做一个非常简单纯粹的自建文本/文件上传下载工具。只有网页版和 cli 就行了。
主要特色是支持 cli ,在终端上可以方便上传文件
- 先跑
curl https://paste.example.com/help获取帮助信息 - 帮助信息大概如下
curl -fsSL https://paste.example.com/cli/anypaste-linux-amd64 -o anypaste
Usage:
anypaste login --server https://paste.example.com/api Log in (prompts for the password)
anypaste up -m "some text" Create a text paste
anypaste up ./report.pdf Create a paste and upload a file
anypaste ls List pastes
anypaste down <id> -o ./out.pdf Download a paste's file (id is enough)
anypaste logout Forget the stored token
仅支持网页版,没有应用程序,网页版预览如下
