Collude - a collaborative text editor for Discourse

Same issue, I think:

Details

Uncaught (in promise) TypeError: _.contains is not a function
at t.menuItems (_collude-8cf680b8d5b8b353d07c7a93fc15aa0adf31757fcafde3c597cc540ffb076eb2.js:87)
at t.n. [as menuItems] (_application-f091afbd42ff5aa3c8221ab59e2618145b4275299b034c729a5f616d84fb4852.js:75808)
at t.html (_application-f091afbd42ff5aa3c8221ab59e2618145b4275299b034c729a5f616d84fb4852.js:71464)
at t.value (_application-f091afbd42ff5aa3c8221ab59e2618145b4275299b034c729a5f616d84fb4852.js:76137)
at t.value (_application-f091afbd42ff5aa3c8221ab59e2618145b4275299b034c729a5f616d84fb4852.js:75910)
at i (_vendor-fae393575cd14697b31e9fdbeb8c016d165a8a3af765ec8ca719a454585aedf4.js:18308)
at r (_vendor-fae393575cd14697b31e9fdbeb8c016d165a8a3af765ec8ca719a454585aedf4.js:18291)
at u (_vendor-fae393575cd14697b31e9fdbeb8c016d165a8a3af765ec8ca719a454585aedf4.js:18695)
at i (_vendor-fae393575cd14697b31e9fdbeb8c016d165a8a3af765ec8ca719a454585aedf4.js:18563)
at o (_vendor-fae393575cd14697b31e9fdbeb8c016d165a8a3af765ec8ca719a454585aedf4.js:18639)

@gdpelican this is broken at the moment, is it a plugin you are interested in supporting long term or are you looking to hand it over?

Also noticed there is no license file, is this intended to be MIT?

8 Likes

That collaborative edition plugin looks really cool. That would fit very well on the discourse instance I’m using.
Any news about it ? Does anyone intend to work on it to make it work again ?
Thanks.

4 Likes

@sam here is the MIT license from the project Github for Collude plugin. Thanks for sharing @fabien. Looks like a very useful plugin! Combined with Babble - A Chat Plugin, seems this could fully replicate the experiece of etherpad within Discourse based on trust levels. Very cool.

2 Likes

would have loved to give this a try, but I guess since it’s marked as “broken-plugin” there’s no use in trying right now… :frowning:

Is there an update on what the problem is with this plugin? Looks like it’s not ready for production, but would be helpful to understand the plugin status.

Last year there was some instability in the edits, meaning that one editor would lose other editors’ edits and there was nobody to debug the problem, and since then the Discourse plugin API moved on a bit, so the plugin was abandoned. Maybe @gdpelican has some more information and maybe the will to make a second take to this awesome idea. Having a realtime, multi-editor wiki-like embedded pad would still be great.

See here:

March 8th 2020:

March 9th 2020:

2 Likes

It would certainly be brilliant for our medical forums, where we need to collaboratively develop national guidelines and the like - and Google Docs are blocked by many health organisations so we can’t use that.

It would have been awesome to have that up and bedded in at the start of the COVID-19 madness; it would be a real draw.

2 Likes

We have a fork @tshenry has been testing that @mbcahyono has been working on.

We are pretty close to having it become the new collude and to possibly make this officially supported on our enterprise tier. It is a rather complex problem and it takes a lot of testing to feel confident about this plugin.

9 Likes

Another option you can use to tide you over that I’ve been using personally is https://hackmd.io - it even produces Markdown at the end, so you can copy it straight to Discourse :grin:

1 Like

That looks really cool - thank you. It is a bit too geek focussed for my less IT savvy crew I think; I’ll certainly wait with baited breath for this plugin. Would be just awesome doing this natively in Discourse.

2 Likes

Actually Librehosters forked the GitHub - fuerst/embed-etherpad-lite: Embed Etherpad Lite pads into Discourse posts using Onebox. to support CodiMD (the “community fork” of HackMD) – which is being renamed again…

It’s very simple to use and you can fork librehosters / embed-codimd · GitLab for your own setup. It would be useful to have a setting for the pad host instead, but it’s more work. Librehosters use SAML SSO between CodiMD and Discourse, so only members can edit the pads.

3 Likes

Reading the plugin.rb, this feels extremely simple - couldn’t you have accomplished that with an entry in allowed iframes + a generator somewhere or oEmbed tags?

2 Likes

Honestly I don’t know and did not try. If you find a way to avoid a plugin for this, go ahead and share it! :slight_smile:

1 Like

That said @riking you got me thinking. How would you go on and create “a generator somewhere”?

I think it’s overkill to reinstall a specific onebox plugin for this and that site. Instead it should be doable to use theme components that do not require rebuilding the container. Did anyone work on a (generic) onebox theme component already?

The best option would of course that upstream fix their oEmbed tags in a compatible way so we simply can paste the link.

1 Like

It would be awesome to use Codi similarly to how you the current Jitsi component works, which is both easy to install and setup for a specific jitsi server.

Something like this, generating <iframe> code that Discourse will accept now that you’ve allowed it in the site settings:

image

1 Like

Thank you @riking, but I guess I know the HTML part: that’s going from the URL to the HTML in JavaScript that I’m not sure how to deal with. I’ve been looking at some plugins, it may work, but a canonical example would be useful, or a pointer to something that does it correctly using Discourse best practice.

We should start a dedicated, linked topic for embed-codimd! Cool to see it emerge like a phoenix.

1 Like