probot / ideas

Share ideas for new GitHub Apps built with Probot
96 stars 48 forks source link

Bot to tweet out issues with help-wanted label #88

Open haxzie-xx opened 5 years ago

haxzie-xx commented 5 years ago

I Don't know whether an app like this exists, but it'd be really cool to have a twitter account for each organization or one globally to let new contributors know an issue with help-wanted or good-first-issue exists in the repositories of their favorite open source projects.

haxzie-xx commented 5 years ago

it'd be even cooler if the bot could publicly thank the first time contributor through twitter. Having their twitter handle may be an issue, but a link to their profile would also be fine, I guess :smiley:

abhijeetps commented 5 years ago

That's a cool idea @haxzie . This idea will promote the organisation or repositories. Maybe this idea can be added as a subset of #32 . What do you think?

haxzie-xx commented 5 years ago

Hmm... Kinda yea, but it'd be nice if it was a subset of the welcome bot or how about a Thankyou bot? :smiley: Still, it resembles to #32 but the purpose is different. How do you approach situations where you need multiple functionalities? Integrate with an existing bot or have a separate bot handle the unique features? I guess the second approach might be feasible to tailor it to a wide range of user base if we are sharing it. I'd be happy to hear your thoughts on this.

abhijeetps commented 5 years ago

How do you approach situations where you need multiple functionalities?

We can do it in two possible ways:

  1. Create different apps for different features (functionalities).
  2. Create a single major app, and provides ability to user to configure application based on their needs.

Both ways have it own advantages and disadvantages based on user needs. But since it's about tweeting a GitHub event on Twitter (and connecting a Twitter account for Organisation will need unique secret keys and tokens), I think this could be a subset of #32 .

Additionally, I tried building this app a year before, the app worked fine, but it had a major constraint: Storing Secret Keys and Secret Tokens of Twitter GitHub currently doesn't provide any features to store secrets, which makes the app useless so far. Work on storing secrets for third party apps is a WIP now. An issue related to it can be seen here: https://github.com/probot/friction/issues/34

haxzie-xx commented 5 years ago

So that's a challenge :smiley: Let me see, if I can get some heads up from #34 @abhijeetps Just like how the probot/invite works, which requires a little of manual configuration. Wouln't it be okay if we have the users manually add the secrets when setting up the project?

ahmad380360 commented 5 years ago

وجود البوت في الشكل التنضيمي وربط الملف الشخصي يعطي تنضيما متناسق

haxzie-xx commented 5 years ago

Hey @abhijeetps I have made a small bot to do this :smile: check out https://github.com/haxzie/probot-tweets any suggestions or feedback will be greatly appreciated :+1:

GitHub
haxzie/probot-tweets
A Probot example to connect with twitter to update contributors about help wanted issues and PRs - haxzie/probot-tweets