Want to share images on twitter with your own host? There’s already a lot of services out there for hosting your images, and there are some services that will automatically send a tweet for your uploaded image via twitter as well. But I have my own domain, my own hosting, and I’d like to keep my images here.
Today was a very lazy sunday, but I managed to get a little something accomplished. Check out the Development Projects section and download my single-file script that lets you upload an image and automatically send a tweet to it, or just Download Here. It’s very basic, and now that I think about it, really open to abuse, because anyone with a valid twitter username and password can use it. I guess if anyone actually uses it, or I get bored enough again, I’ll add some more features like URL-shortening services or more security. Right now, the length of your message is limited by the length of your domain name and the directory the script resides in.
You can see (and use, I’ll leave it up until it starts getting abused) a live demo here: Image Upload and Tweet. Let me know if you find any bugs, please!

fixed a bug with my math that determined the length of the tweet