Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1PPM Bot #39

Open
1ppm opened this issue Jan 1, 2017 · 10 comments
Open

1PPM Bot #39

1ppm opened this issue Jan 1, 2017 · 10 comments

Comments

@1ppm
Copy link
Owner

1ppm commented Jan 1, 2017

A script/bot that integrates with Slack and Twitter. Should announce the Project(s) of the Day, based on data from HallOfFame Parser #38 .

Hubot is probably a good starting point.

Extra Kudos for creative features and help with deployment

@parthdave93
Copy link

i can volunteer, Will be nice to learn Something new

@ggerhard
Copy link
Collaborator

ggerhard commented Jan 1, 2017

Awesome! It's a nice project. Bots are very popular right now and also useful. Good luck! Tell me if you need help. More info about the HallOfFame parser will be posted in the parsers issue.

@jayfk
Copy link
Contributor

jayfk commented Jan 2, 2017

Zappa is also extremely good for stuff like this.

The basic idea is to create a lambda function that waits for GitHub webhooks to be fired and then run whatever the bot is supposed to do. (Python only)

@ggerhard
Copy link
Collaborator

ggerhard commented Jan 2, 2017

Do you have an idea what it would cost to run such a Bot? Probably not much volume for the start.

I already have another application for a Bot in mind, will be announced in the next few days.

@jayfk
Copy link
Contributor

jayfk commented Jan 2, 2017

If you are using AWS Lambda, you it wil basically be free. It comes with 1 million seconds compute time for free. That's more than enough for this use case.

@ggerhard
Copy link
Collaborator

ggerhard commented Jan 4, 2017

@parthdave93 I've been thinking about that a bit: It does not have to be a real Bot for the start since replies are not necessary. you would just have to find twitter and slack integrations for your favorite script language if you like. I could run that with a cron job on a little "server" at home

@VladimirRubin
Copy link
Contributor

@ggerhard i also thinking about it, and i not sure i'm understood the alghoritm to choose POD(s). I think about the next one: see only projects with not empty 'githubUrl' and choose one or two with much github stars (also make sure that these projects have not yet been in POD's projects).

What do you think about it?

Also, what do you think about migrate hallOfFame DB to free Heroku Postgres DB (10,000 ROW's limit is free)?

I think real DB can help us to control projects more efficiently. For example:

  1. We can implement SPA to add new projects to DB (with moderating)
  2. We can implement votes for the POD(s)
  3. All projects will be have himself projectID (current MD-version not guaranteed the constantle following projects in the same order every day)
  4. etc, etc, etc

@ggerhard
Copy link
Collaborator

ggerhard commented Jan 4, 2017

@VladimirRubin definitly the next step!

I deployed a little JHipster project to Heroku once, that worked really fine. I must take a closer look at https://github.com/255kb/stack-on-a-budget before we settle with something. MongoDB could be an option too.

@VladimirRubin
Copy link
Contributor

In this case, I think that implement this issue more appropriately after moving all projects from MD to real DB.

Also, @ggerhard, please let me know if I can do something to help -- i really like 1ppm idea :)

@ggerhard
Copy link
Collaborator

ggerhard commented Jan 4, 2017

@VladimirRubin we could discuss this in Slack if you like, I'm 1ppm :)

Also, check out https://github.com/1ppm/RocketLaunch . Feel free to add resources and tell me what you think about it. It may be a bit early for this, but as you may have noticed, I am not a fan (anymore) of overthinking ideas ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants