Skip to main content

This bot monitors github trending repositories and twitts about them

Project description


  • Check if if this week we’ve got a json file, if not
    • Get the week’s twitter repositories

    • Store them in a json file

    • Publish the json file to github (just for coolness)

  • If we’ve got it.
    • Get current day’s twitter trending.

This means that we’re not actually posting today’s trending but one specific day’s Nth trending being N the day of week.

But that’s ok, as I’m doing this to have one specific repository each week.

Also, we mantain a list of already-posted repos and get the next one if we’ve already posted that.


  • Python 3

  • Twitts one twitt-at-a-day so people won’t get tired

  • Does not twitt repeated twitts


Install it by executing:

python install

I recommend the usage of a virtualenv.

This will create an entry_point, called ghubtrending, that will update the twitter status with the repository of the week.

This works only on python3. Configuration file should be, located at ~/.ghtrend_bot.cfg as follows:



This requires you’ve got ~/.ghtrending directory created. I’m using that to have a link to data/ in there and auto-commit its content


0.0.1 (2015-06-14)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ghubtrending-0.0.5.tar.gz (12.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page