Crates.io | server_clipboard |
lib.rs | server_clipboard |
version | 0.4.0 |
source | src |
created_at | 2022-01-01 16:58:12.096113 |
updated_at | 2022-01-11 16:44:33.116205 |
description | server_clipboard |
homepage | |
repository | https://github.com/phpgoc/server_clipboard |
max_upload_size | |
id | 506227 |
size | 85,210 |
cargo install server_clipboard
测试环境自己生成
没有https无法获得剪贴板权限,火狐ie不支持剪贴板
If you want to generate your own cert/private key file, then run:
mkcert test.xx
mkcert
: https://github.com/FiloSottile/mkcert
server_clipboard -c cert.pem -k key.pem
curl -X POST -d "$value" $host/$key
curl $host/$key?quiet
curl -X POST -d "abcdefg" "localhost:7259/abc?times=2&private=a"