All Projects → a-p-jo → CLIp

a-p-jo / CLIp

Licence: GPL-3.0 License
CLIp is a clipboard manager for a command line interface written in 100% standard C only. Pipe to it to copy, pipe from it to paste.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to CLIp

Copyq
Clipboard manager with advanced features
Stars: ✭ 4,346 (+36116.67%)
Mutual labels:  clipboard, clipboard-manager
tty-editor
Opens a file or text in the user's preferred editor
Stars: ✭ 26 (+116.67%)
Mutual labels:  tty, tty-components
Potato Library
Easy to use Utility library for Android
Stars: ✭ 45 (+275%)
Mutual labels:  clipboard, utility
Hed
vim like hex editor
Stars: ✭ 23 (+91.67%)
Mutual labels:  terminal-based, no-dependencies
cliptext
Clipboard manager for macOS. Built with Electron.js
Stars: ✭ 37 (+208.33%)
Mutual labels:  clipboard, clipboard-manager
vimclip
Never type outside vim again
Stars: ✭ 70 (+483.33%)
Mutual labels:  clipboard, utility
tty-link
Hyperlinks in your terminal
Stars: ✭ 30 (+150%)
Mutual labels:  tty, tty-components
pb
📋 Access HTML and other pasteboards from JS and command line
Stars: ✭ 31 (+158.33%)
Mutual labels:  clipboard, copy-paste
cbs
interface to manage clipboard from the command line
Stars: ✭ 25 (+108.33%)
Mutual labels:  clipboard, clipboard-manager
unlimited-clipboard
simple clipboard manager with unlimited history on electron
Stars: ✭ 21 (+75%)
Mutual labels:  clipboard, clipboard-manager
CopyPasteJS
This a small JS library to execute clipboard functions in a fast and easy way.
Stars: ✭ 20 (+66.67%)
Mutual labels:  clipboard, copy-paste
clipboard-manager-electron
A clipboard manager built with Electron
Stars: ✭ 92 (+666.67%)
Mutual labels:  clipboard, clipboard-manager
clipper
📋 Cross Platform Desktop App to Save history of all information you copy and use them whenever with a solitary snap
Stars: ✭ 42 (+250%)
Mutual labels:  clipboard, clipboard-manager
SharpClipboard
A library for anonymously monitoring clipboard entries.
Stars: ✭ 127 (+958.33%)
Mutual labels:  clipboard, clipboard-manager
tty-tree
Print directory or structured data in a tree like format
Stars: ✭ 54 (+350%)
Mutual labels:  tty, tty-components
groupby
Group lines by a regex
Stars: ✭ 14 (+16.67%)
Mutual labels:  utility
91porn-utility
91porn comprehensive utility
Stars: ✭ 78 (+550%)
Mutual labels:  utility
xbytes
Parse bytes to human readable sizes (4747) → ('4.75 KB') and vice versa.
Stars: ✭ 17 (+41.67%)
Mutual labels:  utility
Pagination-Utils
A collection of methods to make message pagination with JDA easier.
Stars: ✭ 20 (+66.67%)
Mutual labels:  utility
tiler
N-dimensional NumPy array tiling and merging with overlapping, padding and tapering
Stars: ✭ 26 (+116.67%)
Mutual labels:  utility

CLIp v2.1.1

About

CLIp is a powerful yet easy to use and minimal clipboard manager for a command line environment, with no dependencies or bloat.

Key Features : If you like these, CLIp is for you !

  • Tiny code size ( ~170 lines) and correspondingly an almost negligible level of resource consumption.
  • Not a perpetually-running daemon that grows slower and larger over time. CLIp runs when called, does what it's told and exits.
  • No malloc calls whatsoever, and correspondingly rock-stable with no memory management bugs.
  • Infinitely many clipboards, with as much data that your disk can hold, persistent through crashes/shutdowns.
  • Clipboards are files, exposing file manipulation abilities to the clipboard.
  • Clipboard data is forrmatted exactly as you copied it. CLIp doesn't see strange glyphs , it only sees bits & bytes.

Drawbacks : If these are deal-breakers, CLIp isn't it for you :(

  • No interface with system clipboard. No plans to integrate support for this as it would considerably bloat the program, and there's plenty of those out there. CLIp was also designed to be used in a text-only UI, where this isn't essential.
  • You'll have to delete clipboards yourself when done with them, using clip r <clipboard_name> or simply clip r for the default clipboard. If you don't, they'll keep sitting on disk with the data you put in them.
  • No GUI/right-click. Not system-wide, across all windows. But then, it was never designed for that, there's probably plenty of great tools for that out there. It's also a lot more powerful than right clicking all the time.

Usage

Syntax :

clip <operation> [clipboard name (optional)] [clipboard name (optional)]...

Operations :

  1. c or copy : Copy stdin to clipboard(s)
  2. a or append : Append stdin to clipboard(s)
  3. p or paste : Paste clipboard(s) to stdout
  4. r or remove : Remove clipboard(s)

Brief :

  • CLIp reads from stdin when copying / appending and writes to stdout when pasting, so you'll use shell redirection operators.

  • It takes arguments for the operation and , optionally, clipboard name(s).

  • Clipboards are files on disk.

  • It can create and save to named clipboards, and when given no names or given an empty argument ("") , it saves to the default clipboard , ".clipboard.clip" .

  • Clipboards can be copied to (overwritten with new data), appended to (new data added at the end) , pasted from (write contents to stdout) and removed (file deleted).

Examples :

dmesg | clip c                 # Copy output of dmesg to default clipboard in current working directory (cwd)
lsblk | clip a "" drives       # Append output of lsblk to default clipboard and clipboard named drives in cwd
clip p | gzip > logs.zip       # Paste default clipboard in cwd to gzip
clip p drives > drive_log.txt  # Pipe clipboard named drives in cwd to drive_log.txt 
clip r "" drives	       # Remove the default clipboard and the clipboard named drives in the cwd
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].