Skip to content

specious/bitly-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bitly-client

Use Bitly from the command line

bitly-client -c 12

Install

pnpm i -g bitly-client

Usage

bitly-client --help

Usage examples

Retrieve all saved bitlinks (in reverse chronological order)

bitly-client

Retrieve your five most recently created bitlinks

bitly-client -5

Shorten a URL

bitly-client https://www.quora.com/What-are-the-most-interesting-HTML-JS-DOM-CSS-hacks-that-most-web-developers-dont-know-about

Look up the original url that a bitlink redirects to

bitly-client https://bit.ly/www-net
bitly-client j.mp/www-net
bitly-client www-net

Archive a bitlink (what does that mean?)

bitly-client -a http://bit.ly/1WOyimn

Pass multiple arguments

bitly-client regexplained google-crash facts-about-money joebiden-archive

Use an alternative short domain (including a custom domain)

bitly-client --domain j.mp https://github.com/opsmatters/bitly-java-api/tree/1319b3e/src/main/java/com/opsmatters/bitly/api/model/v4 

Have some fun (see what existing short links redirect to)

bitly-client have you ever had a dream that you were so sure was real

License

ISC

About

🔗 Create and manage your Bitly shortlinks from the command line

Resources

Stars

Watchers

Forks