π 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 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
-
Generate your own Twitter token and export it as the
$TWITTER_TOKEN
variable. -
Clone the project.
git clone [email protected]:chshersh/sauron.git cd sauron
-
Build and run the tool
β οΈ Requires GHC 9.2cabal run sauron -- top @<twitter-handle> --max=20 --to-file=path/to/save/results.json