Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nampdn/yank.one
Cross-device yank text and paste it one with CURL/HTTP.
https://github.com/nampdn/yank.one
copy-paste curl devops shell terminal yank
Last synced: 9 days ago
JSON representation
Cross-device yank text and paste it one with CURL/HTTP.
- Host: GitHub
- URL: https://github.com/nampdn/yank.one
- Owner: nampdn
- Created: 2020-07-14T04:50:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:27:45.000Z (11 months ago)
- Last Synced: 2024-10-13T07:41:39.803Z (24 days ago)
- Topics: copy-paste, curl, devops, shell, terminal, yank
- Language: TypeScript
- Homepage: https://yank.one
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yank it one!
Free service to quickly yank (copy) any content between internet connected device.
Yanked content will be vanished immediately after someone GET it!The design goal is to help you typing less on terminal. It's best for working with different physical devices without copy/paste functions available.
## Features & Roadmap
### Features
- [x] Yank any text content and cache on Redis cloud.
- [x] Using cURL as cross-platform CLI tool.
- [x] Support AES-128 text encryption with secret password.
- [x] Clean up cached content after a key is consumed.### Roadmap
- [ ] Completely serverless
- [ ] Gist integration
- [ ] Interactive CLI documentation
- [ ] CLI docs when GET at `/`
- [ ] CLI docs when POST at `/`
- [ ] Add optional parameter to prevent the key expiration.
- [ ] Support Linux/MacOS/Windows native CLI.
- [ ] Support binary stream: you will able to save any binary file.
- [ ] Support `Deno` permanent script publishing.
- [ ] Persistent using `IPFS` decentralized network.
- [ ] Save persistent `IPFS` `Qm` key into SQL map with shorten URL.## Quick start
### Yanking:
Yank a plain text file
```
curl https://yank.one/set// --data-raw "Hello World"
``````
cat doc.txt | curl -d @- https://yank.one/set//
```Yank a binary file
```
hostA# base64 -w 0 ./myphoto.jpg | curl -d @- https://yank.one/set/myphoto
hostB# curl -s https://yank.one/myphoto | base64 --decode > myphoto.jpg
```### Pasting:
Short-hand:
```
curl https://yank.one//
```Full:
```
curl https://yank.one/get//
```- `key`: your very own key
- `secret`: encrypt text while yanking## Different with other services:
### [txt.do](textuploader.com)
#### Pros:
- Have input GUI (soon).
#### Cons:
- Only friendly with non-technical user.
- Need to remember 5 random key.
- Need to set the timeout manually.### [transfer.sh](transfer.sh)
#### Pros:
- File upload 10GB.
- Files stored for 14 days.
- Lots of usage.#### Cons:
- Need to copy the key into your mind.
- 10 characters in domain.## License
Nam Pham (c) MIT