Can we add integrations to Discourse?


#1

Would it be possible, for instance, to integrate the Discourse board with Nix github repos? For instance, in “Nixops: deploy a custom kernel module”, rbrewer123 refered to “Nixops issue #893.” I’d be kind of rad if that could automatically onebox to

Is that within the featureset of @discourse?


#2

I think that onebox is only working with full URLs. Do you want to have a look and report back? The source code is available at https://github.com/discourse/discourse


#3

I found a couple of related plugins, which might actually be better for the vague use cases I had in mind:

https://github.com/discourse/discourse-github-linkback - which seems to add links to Github issues (and presumably PRs) when they’re mentioned in Discourse topics and vice versa.

https://github.com/featheredtoast/hubot-discourse-adapter - which, I guess, would add a bot like Discobot to Discord, but with Github related commands. My understanding is the hubot is fairly flexible in terms of what it can do, so maybe “@hubot, that PR about the thing” could work?


#4

Sounds good. Especially the discourse-github-linkback plugin, it makes sense to help integrate the conversations between nixpkgs and discourse.

I think for Hubot I would first like to see it connected to our IRC channel(s) and provide some useful functionality before adding it to Discourse.

In either case we would have to go with a self-hosted solution as the hosted version only has a fixed set of plugins available. This would also be useful for importing the old mailing list.