@hackage / sauron

The eye that watches everything you did on Twitter

Latest0.0.0.0

About

Metadata

  • Last updated , by shersh
  • License MPL-2.0
  • Maintained by: Dmitrii Kovanikov <kovanikov@gmail.com>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 9.2.4

Readme

sauron

GitHub CI Hackage MPL-2.0 license

👁 sauron is a CLI tool that fetches info from Twitter and analyses it.

🌈 sauron is a demo project implemented using Iris — a Haskell CLI framework.

Features

Features currently supported by sauron:

  • Get top tweets of a Twitter account (limited by only 3200 recent tweets)
  • Save intermediate results to a file (to avoid hitting Twitter API limit too early)
  • Read cached results from a file

How to use?

  1. Generate your own Twitter token and export it as the $TWITTER_TOKEN variable.

  2. Clone the project.

    git clone git@github.com:chshersh/sauron.git
    cd sauron
  3. Build and run the tool

    ⚠️ Requires GHC 9.2

    cabal run sauron -- top @<twitter-handle> --max=20 --to-file=path/to/save/results.json