Skip to content

cwchentw/bitly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitly

bitly - shorten URLs with the power of bitly.com

Usage

$ bitly https://google.com.tw
https://bit.ly/3tf60Kv

Prerequisites

  • libcurl
  • json-c

In addition, the program needs an access token from bitly.com. You need to sign up a bitly.com account and verify your email to get a token. See this page for more.

Install

Just run make in the root directory of this project. Then, move the executive bitly to a system executive directory like /usr/local/bin.

Breaking Changes

  • 2022/01/09
    • Load Bitly token from BITLY_TOKEN the environment variable

Copyright

Copyright (c) 2022 Michelle Chen. Licensed under BSD