probot / ideas

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

Bot to auto-prepare a code pen for specific lines of code #91

Open patcon opened 5 years ago

patcon commented 5 years ago

In regards to community-building, I'm experimenting with ways to make invitations to contribute more easy to by negating the need to set up a local dev environment for small changes. For example, setting up a minimal go playground, like so:

https://github.com/42wim/matterbridge/issues /690 (don't want the back-reference to show yet)

I'm curious to think whether any of this could be automated.

For example, this automation might involve:

  1. being given lines on github
  2. recognizing the language in question,
  3. selecting an appropriate sandbox website,
  4. back-filling imports and mocking objects, and maybe substituting out 3rd-party libs for core libs when possible.

Not sure how feasible this is for other languages, but might be more possible for strongly-types languages. Would be cool if a probot bot could be called in to do this :)