#clipboard #phone #phone-number #email #pull #data #numbers

bin+lib gimme

Pull useful data out of your clipboard

12 releases

0.1.13 Jan 30, 2022
0.1.12 May 11, 2021
0.1.11 Mar 13, 2021
0.1.10 Feb 27, 2021
0.1.0 Nov 24, 2019

#1024 in Text processing

38 downloads per month

MIT license

13KB
242 lines

Gimme

https://crates.io/crates/gimme

Tired of sifting through webpages or long emails for someone's contact info? Pull emails and phone numbers out of your clipboard.

  1. CTRL + A some large document or web page
  2. Run gimme --email (or gimme --phone) to parse your clipboard for any phone numbers or emails.
  3. gimme should spit out anything it finds in the terminal

Usage

Use cargo install gimme or build from source with cargo build.

gimme --help

Print help message.

gimme --email

Find all emails in your clipboard (searches clipboard by default)

gimme --phone

Find all potential phone numbers (searches clipboard by default)

gimme --link

Find all hyperlinks (anchor or links to potential URLs)

Development

On Linux you'll need these to compile:

xorg-dev pkg-config libasound2-dev libssl-dev cmake libfreetype6-dev libexpat1-dev libxcb-composite0-dev


lib.rs:

Gimme

A library and binary cli for finding things in a bunch of text. CTRL + A, CTRL + C to pull everything into your clipboard. Search your clipboard and return any useful data like emails, phone numbers, etc.

Dependencies

~3.5–5MB
~85K SLoC