surl is a URL shortening command line application that supports various sites. It supports stdin or filename input. It grabs the URLs, converts them, and returns the same text that was used in the input. It is known to work with a wealth of services, such as bit.ly, tinyurl.com, and others.
| Tags | Command Line Links url Shortening |
|---|---|
| Licenses | GPLv3 |
| Operating Systems | Linux Ubuntu Debian Windows |
| Implementation | Python Modules Python |
| Translations | English |
Recent releases


Release Notes: This minor update includes the missing docs folder in the source tarball.


Release Notes: This is mainly a bugfix release, keeping new additions to a minimum. It removes all dead services and updates the ones which work. Services can now supply a set of extra HTTP headers if that is required.


Release Notes: A new plugin system using library calls has been implemented. surl's scripting supports new and updated functions: setvar, printvar, printinf, and exec. A new service is now supported: chilp.it.


Release Notes: This release supports zi.ma, ri.ms, a.nf, twurl.nl, kurl.it, and piurl.com. Scripting is now possible using surlscript. Two arguments have been added: --version (to output version info) and --url (to pass the URL to be shortened).


Release Notes: In previous versions, surl did not read arguments when installed, and instead used the default options with tinyurl.com. This has been fixed with this release.