Skip to content

πŸ‘β€πŸ—¨ The eye that watches everything you did on Twitter

License

Notifications You must be signed in to change notification settings

chshersh/sauron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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 [email protected]: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

About

πŸ‘β€πŸ—¨ The eye that watches everything you did on Twitter

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project