Cryptpad
-
Interesting, I don't remember seeing the Poll, Kanban & Whiteboard apps before. It is kinda cool.
-
Yes, this is amazing timing, as I just had a request for something like this for a small team needing a PM tool.
@marcusquinn thanks for pointing out the new features, I didn't know they did that either.
@mehdi is this something easy to package being it's a node app?
@girish something quick?
-
@robi Annoyingly, it seems Cryptpad is impossible to package for cloudron for the moment
Their app requires 2 different origins, or domains: one to serve the UI, and one the API.
Reading their doc, there does not seem to be a way to work-around this requirement.Once upon a time, Cloudron had a "SSL" addon (or TLS ? I'm not 100% sure of the name), which allowed an app to directly have access to the certs. In that case, it would have been possible to serve the API directly on a different port that way. However, it would have been a very complicated setup, jumping through a lot of hoops, and using another nginx inside the package to serve https on this other port..
Honestly, I don't see a clean way, even taking into account possible changes to cloudron, to do this cleanly. I know supporting multiple domains is planned, but requiring another domain for this app, and only 2 domains, not more, seems very specific to this setup
-
@mehdi I guess one hack is to package frontend and backend as separate apps (like matrix synapse/riot). Not ideal but something.
I'm not sure even that would work, as they are supposed to be run as a single server process ... I have no idea if it's only to make things easier, or if the "front-end" part actually uses stuff stored in the DB, etc. In any case, it would at least require extensive manual modifications of the config files to make the 2 apps work with each other
-
https://github.com/campbellmcgregor/cryptpad-cloudron
I'm not entirely sure who's work this is, but would anyone know if this solved any of the problems mentioned in this thread? If someone could ping the author, I would appreciate it! (I did not see a result for @campbellmcgregor here on the forums)
Or has any of the new current/proposed features of Cloudron made this any easier to get running on Cloudron?
-
@atrilahiji @sysadmin doesn't the "multi-domain apps" thing we've had since 6.1 help with this?
@girish said in Cloudron 6.1 released:
Multi-domain apps - Apps like EspoCRM, Surfer, Kutt already support this. WP Multi-site is coming soon (hopefully next week).
-
@marcusquinn Great suggestion!
CryptPad has a Docker.
https://github.com/xwiki-labs/cryptpad-docker
It looks slick and the end-to-end encryption is sweet. If you haven't seen it yet, try the demo. It supports whiteboard, rich text, kanban, etc.
There is an unrelated project, yn (yanknote) which provides lovely functionality in a markdown editor. Check out some of the features it supports in the demo:
https://github.com/purocean/yn
https://yank-note.vercel.app/ -
@marcusquinn You are correct, I think there is no more blocking problem.
-
This was actually quite easy to "install" but I am having a hard time following the setup specifically the domains part - https://docs.cryptpad.fr/en/admin_guide/installation.html#domains. It looks like the app requires a nginx of it's own - https://github.com/xwiki-labs/cryptpad/blob/main/docs/example.nginx.conf , I have to read more .
-
@girish
Looking at the example nginx.conf -- the sandbox domain is not required, but an optional feature.If you want to implement it anyway.. as a default it can be a sub2.sub1.domain.com so it fits in with one subdomain per CL App.
Ex.
main domain - cryptpad.domain.com
sandbox - secure.cryptpad.domain.comTo me, it does not look like it needs a separate nginx, as it's a node JS app, which you know how to connect to.
-
I have this going at https://git.cloudron.io/cloudron/cryptpad-app . This is published as unstable. Currently, the app is still "insecure" because it uses only one domain. I have to admit that even after reading their docs multiple times, I don't quite understand the point of these multiple domains.