This is a text service for Mac OS X 10.6+ which compresses URLs with Lessn or ButteredURLs. You'll need to have one of those running on your own server.
-
Clone the project
-
Open the xcodeproj inside
-
Build (this will copy the service into your ~/Library/Services/ folder)
-
Activate the service in System Preferences > Keyboard > Keyboard Shortcuts
-
In your terminal, type and replace LessnDomain with your domain:
defaults write com.stevestreza.lessnshorten baseURL LessnDomain
-
Find your API key on your Lessn dashboard, and add it in your terminal:
defaults write com.stevestreza.lessnshorten apiKey YourAPIKey
All code in this project is licensed under the MIT license.