sauron: The eye that watches everything you did on Twitter

[ library, mpl, program, unclassified ] [ Propose Tags ]

The eye that watches everything you did on Twitter. See README.md for more details.


[Skip to Readme]

Modules

  • Sauron
    • Sauron.App
    • Sauron.Cli
    • Sauron.Top
      • Sauron.Top.Client
      • Sauron.Top.Json
      • Sauron.Top.Tweet
      • Sauron.Top.User

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.0
Change log CHANGELOG.md
Dependencies aeson (>=2.1 && <2.2), aeson-pretty (>=0.8 && <0.9), base (>=4.16 && <4.17), http-client (>=0.7 && <0.8), http-client-tls (>=0.3 && <0.4), iris (>=0.0 && <0.1), optparse-applicative (>=0.17 && <0.18), relude (>=1.1 && <1.2), sauron, servant (>=0.19 && <0.20), servant-client (>=0.19 && <0.20), servant-client-core (>=0.19 && <0.20), time (>=1.11 && <1.12) [details]
License MPL-2.0
Copyright 2022 Dmitrii Kovanikov
Author Dmitrii Kovanikov
Maintainer Dmitrii Kovanikov <kovanikov@gmail.com>
Home page https://github.com/chshersh/sauron
Bug tracker https://github.com/chshersh/sauron/issues
Source repo head: git clone https://github.com/chshersh/sauron.git
Uploaded by shersh at 2022-09-02T16:12:44Z
Distributions NixOS:0.0.0.0
Executables sauron
Downloads 25 total (4 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 2022-09-02 [all 2 reports]

Readme for sauron-0.0.0.0

[back to package description]

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