From 3aad0d13e92cf09174729e7357b9951411e2165d Mon Sep 17 00:00:00 2001 From: Moritz Bitsch Date: Mon, 1 Apr 2024 14:26:43 +0200 Subject: [PATCH] Add readme, license and update cargo description --- Cargo.toml | 4 ++-- LICENSE | 13 +++++++++++++ README.md | 15 +++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 LICENSE create mode 100644 README.md diff --git a/Cargo.toml b/Cargo.toml index 1be53cd..40f6a55 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "osclip" -version = "0.0.0" +version = "0.1.0" edition = "2021" -description = "Simple OSC52 copy program" +description = "small utility to copy text from terminal to system clipboard" license = "ISC" [dependencies] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d6d203a --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ +Copyright (c) 2024 Moritz Bitsch + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e1b461 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# osclip + +Copy text from stdin to the clipboard using the OSC52 ansi sequence and the support of your terminal. + +It works similar to xclip or wl-copy but also over ssh or serial connection. + +## Usage + +```bash +echo "Hello, World!" | osclip +``` + +## License + +ISC