https://github.com/z2oh/rp
copy and paste between terminal sessions on any internet connected devices
https://github.com/z2oh/rp
Last synced: 10 months ago
JSON representation
copy and paste between terminal sessions on any internet connected devices
- Host: GitHub
- URL: https://github.com/z2oh/rp
- Owner: z2oh
- License: mit
- Created: 2017-05-13T05:18:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T07:23:20.000Z (over 7 years ago)
- Last Synced: 2025-07-08T14:08:29.190Z (11 months ago)
- Language: Rust
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# r(emote)p(aste)
Allows 'copying and pasting' between terminal sessions on any internet connected device by using hastebin as a conduit. No guarantees are made about the integrity or security of the files after being sent through ```rp```. Every paste is public and unencrypted; do not use ```rp``` with confidential information.
You can host your own hastebin server on a personal network, look here for more details: [seejohnrun/haste-server](https://github.com/seejohnrun/haste-server). Simply change the urls in ```src/main.rs``` to point to your sever before compiling.
## Installation
```
git clone https://github.com/z2oh/rp.git
cd rp
cargo build --release
```
Then copy ```./target/release/rp``` to some location in your ```$PATH```.
You must have ```cargo``` installed (and a Rust compiler) in order to compile ```rp```.
## Usage
To upload a paste:
```
rp < file
```
or
```
cat file | rp
```
or
```
rp
enter any text to paste then press ctrl-d to send EOF
```
All of these will print out a 10 character key.
This ten character key can be used anywhere to download the contents of the paste by running the following command
```
rp
```
which will output the contents of the paste.
```
rp > file
```
will print the contents to ```file```.