Compare commits

..

3 Commits

Author SHA1 Message Date
cuddle-please
60ba19b185 chore(release): 0.0.2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-01-14 07:23:18 +00:00
153edb10d4
docs: add more thorough example
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-14 08:22:29 +01:00
37df2dcc6d
docs: correct docs 2025-01-14 08:19:39 +01:00
4 changed files with 20 additions and 4 deletions

View File

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- add basic remote copu
### Docs
- add more thorough example
- correct docs
## [0.0.1] - 2025-01-10
### Added

2
Cargo.lock generated
View File

@ -1272,7 +1272,7 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
[[package]]
name = "voidpin"
version = "0.1.0"
version = "0.0.1"
dependencies = [
"anyhow",
"async-trait",

View File

@ -7,6 +7,18 @@ Voidpin sends clipboard content to a local service, that then puts content in a
## Usage
```bash
# Local
voidpin copy
VOIDPIN_REMOTE=10.0.9.1:19191 voidpin remote copy
# Remote
ip a # 10.0.9.1
voidpin listen & # make voidpin listener run in background
# login to remote
ssh remote@remote
export VOIDPIN_REMOTE=http://10.0.9.1:7900
echo "some content" | voidpin remote copy
# In a browser for example
# Ctrl+v or Command+v
```

View File

@ -29,7 +29,7 @@ struct Command {
#[derive(Subcommand)]
enum Commands {
Listen {
#[arg(long, env = "VP_GRPC_HOST", default_value = "0.0.0.0:7900")]
#[arg(long, env = "VOIDPIN_GRPC_HOST", default_value = "0.0.0.0:7900")]
grpc: SocketAddr,
},
Copy {},
@ -44,7 +44,7 @@ enum RemoteCommands {
Copy {
#[arg(
long = "remote-host",
env = "VP_REMOTE_HOST",
env = "VOIDPIN_REMOTE",
default_value = "http://0.0.0.0:7900"
)]
remote_host: String,