hs-twitterarchiver: Commandline Twitter feed archiver

[ network, program ] [ Propose Tags ] [ Report a vulnerability ]

`hs-twitterarchiver ` is a tool for generating an archive of a user's Twitter feed, in a file on a local computer using JSON format.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2
Dependencies base (>=3 && <5), HTTP, json, mtl, network, pretty [details]
License LicenseRef-GPL
Author Deepak Jois
Maintainer deepak.jois@gmail.com
Category Network
Home page https://github.com/deepakjois/hs-twitterarchiver
Bug tracker https://github.com/deepakjois/hs-twitterarchiver/issues
Source repo head: git clone git://github.com/deepakjois/hs-twitterarchiver.git
Uploaded by DeepakJois at 2012-01-19T09:58:20Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables hs-twitterarchiver
Downloads 1802 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-25 [all 8 reports]

Readme for hs-twitterarchiver-0.2

[back to package description]

Introduction

This script will access your Twitter stream and create a text file with all the past tweets in JSON format. It also supports updating of the text file in subsequent runs.

The Twitter API currently limits access to a maximum of 3200 tweets in your timeline. Hence if you have tweeted more often than that, you will not be able to retrieve beyond 3200 past tweets.

Installation

You need to have Haskell (GHC 6.10 or 6.12 should do) and Cabal installed.

cabal install hs-twitterarchiver

Examples

For all options, run hs-twitterarchiver -h

Here is an example of how I use the script to archive all my tweets from account vyom to a file called vyom.json. This is also the default behavior when hs-twitterarchiver is called without any arguments.

runhaskell twitterarchiver.hs -u vyom -f vyom.json

If a file called vyom.json already exists from a previous run, only the latest Tweets after the previous run will be fetched and the file will be updated.

If you have a private stream, you can call the script with a -p argument and you will be prompted for a password. The script will then automatically use HTTP Basic authentication when calling the Twitter API.

runhaskell twitterarchiver.hs -u divya -f divya.json -p
Enter Twitter Password :

Feedback

Mail me any feedback you have at deepak.jois@gmail.com