Giter Site home page Giter Site logo

andygrunwald / trendinggithub Goto Github PK

View Code? Open in Web Editor NEW
113.0 113.0 14.0 2.57 MB

A twitter bot (@TrendingGithub) to tweet trending repositories and developers from GitHub

Home Page: https://twitter.com/TrendingGithub

License: MIT License

Go 97.93% Makefile 2.07%
hacktoberfest

trendinggithub's Introduction

๐Ÿ‘‹ Hi, I'm Andy Grunwald

I am a Software Engineer and Engineering Manager from Germany with a focus on Backend-Systems and Infrastructure, Engineering Culture and People.

๐Ÿ‘ท Check out what I'm currently working on

๐Ÿ”ญ Latest releases I've contributed to

๐Ÿ”จ Latest Pull Requests I published

๐Ÿ“ My recent blog posts

๐Ÿ“ซ How to reach me

Twitter Follow

trendinggithub's People

Contributors

andygrunwald avatar dependabot-preview[bot] avatar dependabot[bot] avatar mre avatar timglabisch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

trendinggithub's Issues

Follow @TrendingGithub follower back

To gain the popularity of @TrendingGithub it make sense to follow the @TrendingGithub`s follower back.

Another (additional) idea of @mre is to follow friends of @TrendingGithub`s follower to get new people into the follower line :)
Of course, this should be automated (e.g. every hour)

Searching a new tweet fails if no repository can`t be found

To search a new tweet we scheduling a new function call every 30 minutes.
In this search process we are looking for the first 3 timeframes (week, day, month), and after this every timeframe for every trending (!) language.

If no repository can be found no new search process will be scheduled.

Here is a log:

2015/08/24 00:24:16 Getting projects for timeframe weekly
2015/08/24 00:24:17 Getting projects for timeframe daily
2015/08/24 00:24:17 Getting projects for timeframe monthly
2015/08/24 00:24:18 Getting projects for timeframe weekly and language ruby
2015/08/24 00:24:19 Getting projects for timeframe daily and language ruby
2015/08/24 00:24:19 Getting projects for timeframe monthly and language ruby
2015/08/24 00:24:20 Getting projects for timeframe weekly and language javascript
2015/08/24 00:24:20 Getting projects for timeframe daily and language javascript
2015/08/24 00:24:21 Getting projects for timeframe monthly and language javascript
2015/08/24 00:24:21 Getting projects for timeframe weekly and language php
2015/08/24 00:24:22 Getting projects for timeframe daily and language php
2015/08/24 00:24:22 Getting projects for timeframe monthly and language php
2015/08/24 00:24:23 Getting projects for timeframe weekly and language python
2015/08/24 00:24:23 Getting projects for timeframe daily and language python
2015/08/24 00:24:23 Getting projects for timeframe monthly and language python
2015/08/24 00:24:24 Getting projects for timeframe weekly and language c
2015/08/24 00:24:33 Getting projects for timeframe daily and language c
2015/08/24 00:24:33 Getting projects for timeframe monthly and language c
2015/08/24 00:24:34 Getting projects for timeframe weekly and language unknown
2015/08/24 00:24:35 Getting projects for timeframe daily and language unknown
2015/08/24 00:24:35 Getting projects for timeframe monthly and language unknown
2015/08/24 00:24:36 Getting projects for timeframe weekly and language css
2015/08/24 00:24:36 Getting projects for timeframe daily and language css
2015/08/24 00:24:37 Getting projects for timeframe monthly and language css
2015/08/24 00:24:37 Getting projects for timeframe weekly and language java
2015/08/24 00:24:38 Getting projects for timeframe daily and language java
2015/08/24 00:24:38 Getting projects for timeframe monthly and language java

Document the source code

The source code is quite undocumented.
It is hard to get into the code without knowing the thoughts behind it.

Goal of this task: Document the code :)

[Question] How to detect trend repositories

I love this repository, but I don't see in the documentation the most interesting thing: how to doy determinate a trending Github Repository? Can you explain to me?

I suppose that you are using something like detect the number of new stars in a short period of time. or maybe Github trending have an API or something like that? Are you polling and endpoint?

Definitely, How you do this :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.