Twixt

Ever started replying to someone on Twitter, knowing as you did it that there's no way you could fit it all into 140 characters? Did it drag on into two, three, four tweets, cluttering up everyone's list? Twixt can help.

Having done just that several times, I was after a simple, disposable way of putting more than 140 characters up somewhere on the internet that I can link from a single tweet. Thus, I created this simple PHP script. Give it a block of text, and it'll generate you a unique web page and grab you an is.gd short URL for it.

Visit twixt.successwhale.com to try it out!

API

Twixt also provides an API for use by applications such as my own SuccessWhale. To use it, simply provide it with a properly URLEncoded “tweet” argument, for example:

http://www.onlydreaming.net/twixt/index.php?tweet=Hello%20World!

Twixt will return the output page of is.gd's API, which will be either an HTTP 200 OK containing the shortened URL, or an HTTP 500 Internal Server Error containing the error message.

Status

Twixt is mature, released software, and as far as I know there are no major bugs that affect it. If you find any bugs or would like to request any new features, please contact me via my contact form. If you’d like to submit bug reports and feature requests directly into my Mantis server, please register an account and do so.

Licence and Source Code

SuccessWhale is licenced under the GNU GPL v3. If you'd like to run this from your own website, you can download the source code here. To run it, you'll need a web server that can run PHP, and the directory the script sits in must be world-writable (chmod 777). Feel free to grab my style.css too if you'd like to base yours on it.

3 Comments

Post a Comment

Your email is never shared. Required fields are marked *
You can also log in using any of the following services: