terriko: (Default)
[personal profile] terriko
Some months ago, the service I was using to archive my tweets stopped working. Again. I noticed shortly thereafter, but no obvious alternative service seemed to be around, so I figured I'd have to do it myself. Then, you know, life happened.

I was stuck home today due to the aftermath of a particularly nasty headache, so while I was trying to see if I was coherent enough to do some work (which I did do later), I wrote a twitter script. It's not terribly clean or nice yet, but I started a cronjob running sending the formatted output to http://tko.dreamwidth.org. It may be terribly unwise given that I've been largely incoherent all day, but the code seems to work. It's strange how I can write code even when my brain isn't good for much else. I took 8 tries on an email, couldn't concentrate enough to read a book, but I wrote code I felt safe leaving in a cronjob posting to the internet? Perhaps my head's still not working right.

It needs a few pretty touches to make sure it's not losing tweets between days, deal with the timezone, usernames, urls, and retweets more nicely before I share it around. Still, though it's simple it seems worth sharing since I didn't find what I wanted when I looked. Where does one put such small open source scripts nowadays? Github?

Post it here!

Date: February 15th, 2012 07:31 pm (UTC)
From: [personal profile] lunarbovine
Stick your code right here, on your blog! Does Dreamwidth allow zip file uploads? If it's a simple couple-of-lines program you don't intend to maintain much over the long term, dropping it in a blog post with some documentation ought to be enough?

Fame and fortune await! ;)

I'm curious about what framework you built it around, if any.

-Jay

Date: February 15th, 2012 08:40 pm (UTC)
zorkian: A picture of Oliver sitting up with his Dreamwidth onesie on! (Default)
From: [personal profile] zorkian
GitHub is the way to go, IMO. It's so much nicer than other online hosting, and if you grok git, then it's nice and easy and awesome. I recommend it!

Also, we really should just implement this kind of thing on Dreamwidth so that it can download your tweets and post them to your account every day in some nice to read format.

Profile

terriko: (Default)
terriko

December 2014

S M T W T F S
 1234 56
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 23rd, 2014 12:05 am
Powered by Dreamwidth Studios