ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Bot to tweet out issues with help-wanted label

Open haxzie-xx opened this issue 6 years ago • 7 comments

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 avatar Dec 03 '18 14:12 haxzie-xx

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:

haxzie-xx avatar Dec 03 '18 14:12 haxzie-xx

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?

abhijeetps avatar Dec 03 '18 15:12 abhijeetps

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.

haxzie-xx avatar Dec 03 '18 15:12 haxzie-xx

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

abhijeetps avatar Dec 03 '18 16:12 abhijeetps

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?

haxzie-xx avatar Dec 03 '18 16:12 haxzie-xx

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

ahmad380360 avatar Dec 04 '18 04:12 ahmad380360

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
A Probot example to connect with twitter to update contributors about help wanted issues and PRs - haxzie/probot-tweets

haxzie-xx avatar Dec 08 '18 16:12 haxzie-xx