GithubHelp home page GithubHelp logo

datacharmer / clipper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from supitsdu/clipper

0.0 0.0 0.0 175 KB

Seamlessly copy file contents to clipboard from command line. Lightweight, cross-platform tool for instant text transfers.

License: MIT License

Shell 32.63% Go 58.11% Makefile 9.27%

clipper's Introduction

Clipper - Ready to Paste

Clipper is a lightweight command-line tool written in Go for copying contents to the clipboard. Quickly and easily copy the contents of any file, command output, or even directly pass text to your clipboard inside your favorite terminal, streamlining your workflow and saving you time.

Features โœจ

  • Cross-Platform Compatibility: Clipper works seamlessly on Linux, macOS, and Windows, providing consistent clipboard functionality across different operating systems.
  • Simple Usage: With a straightforward command-line interface, Clipper makes it easy to copy file contents to the clipboard with just a single command.
  • Fast and Efficient: Clipper is designed for performance and efficiency, allowing you to copy contents to the clipboard quickly and without unnecessary overhead.
  • Convenient: Directly copy text, command output, or file contents to the clipboard consistently across all supported platforms.

Installation

Using the Install Script

You can install Clipper using the following command:

curl -sSL https://raw.githubusercontent.com/supitsdu/clipper/main/install.sh | sh

Or:

wget -qO- https://raw.githubusercontent.com/supitsdu/clipper/main/install.sh | sh

Note

If you prefer not to use curl ... | sh, you can manually download and install Clipper as described below.

Manual Installation

To use Clipper, download the appropriate binary for your operating system from the releases page and place it in your desired location.

Important

Add the location of the binary to your system's PATH environment variable to access Clipper from anywhere on your system.

Usage

Copy the contents of a file to the clipboard:

clipper ~/.ssh/id_ed25519.pub

Copy the output of any command:

go version | clipper

Directly copy text:

clipper -c "My awesome content!"

Mimetype & Codeblock

Code Snippet Preview

clipper -Mime -Markdown path/to/your-file.js

Contributing ๐Ÿค

Contributions to Clipper are welcome! Here are a few ways you can contribute:

  • Report Bugs: If you encounter any bugs or unexpected behavior while using Clipper, please open an issue on GitHub to report it.
  • Request Features: Have an idea for a new feature or improvement? Open an issue to share your suggestion and start a discussion.
  • Submit Pull Requests: If you're comfortable with Go programming, you can contribute directly to the development of Clipper by submitting pull requests. Fork the repository, make changes, and submit a pull request for review.

Building from Source

To build Clipper from source, you'll need to have Go installed on your system and the Make tool.

Requirements

  • Go Lang: Clipper is written in Go, so you'll need Go installed on your system. You can download and install it from the official Go website.
  • Make Tool: Building Clipper from source requires the Make tool to automate the build process. Make is commonly pre-installed on Unix-like systems, but you may need to install it manually on Windows.

Once you have the requirements installed, clone the repository and run the following command in the project directory:

make

This command will build Clipper for Windows, Linux, and macOS inside the bin directory.

License

Clipper is licensed under the MIT License. Feel free to use, modify, and distribute it for any purpose.

clipper's People

Contributors

supitsdu avatar karimalzalek avatar ccoveille avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.