ZenTwitter

ZenTwitter is a small script to update your Twitter account without the need of having a browser window open all the time.
Download

ZenTwitter Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Michael Klier
  • Publisher web site:
  • http://www.chimeric.de/projects/zentwitter

ZenTwitter Tags


ZenTwitter Description

ZenTwitter is a small script to update your Twitter account without the need of having a browser window open all the time. ZenTwitter is a small script to update your Twitter account without the need of having a browser window open all the time. It uses zenity and curl.Requirements:· zenity· curlInstallation:Just dump it into your ~/bin directory, open it in the editor of your choice to change the username/password, make it executable (chmod a+x) and add a launcher icon to the panel/menu/desktop of your preferred window manager.Source~/bin/ZenTwitter.sh#!/bin/bash# @author Michael Klier # @www http://www.chimeric.de/pojects/ZenTwitter # trivial twitter status update client # set username/passwordUSER="username"PASS="password" # main scriptURL="https://twitter.com/statuses/update.xml"ZENITY=/usr/bin/zenityCURL=/usr/bin/curl # check if zenity is installedif ];then echo "ERROR: Zenity is missing!" exit 1fi # check if curl is installedif ];then $ZENITY --error --text="ERROR: curl is missing" --title="ZenTwitter" exit 1fi # get tweettweet=$(${ZENITY}|> --entry --text="Gimme your tweet:" --title="ZenTwitter") if ];then exit 0fi while ];do tweet=$(${ZENITY}|> --entry --text="D'oh! You entered nothing! Try again or cancel:" --title="ZenTwitter") if ]; then exit 0 fidone # update status$CURL -u ${USER}|>:${PASS}|> -d status="${tweet}" ${URL}|> -k if ];then $ZENITY --info --text="Updated successful!" --title="ZenTwitter" exit 0else $ZENITY --error --text="Something went wrong!nRun ZenTwitter.sh from a commandline for more information!" --title="ZenTwitter" exit 1fi


ZenTwitter Related Software