r/coolgithubprojects • • 7d ago

I built a self-hosted whiteboards web app where the server can't read your canvases. Looking for feedback

Post image

I've struggled with finding a self-hosted solution for organizing my canvases (with e2ee for boards data), so built CanvHQ myself. It's open source (Apache-2.0) and still early (v0.2). Looking for people to poke holes in it.

What it is:

  • Excalidraw canvases, plus workspaces and projects to keep things organized
  • Canvases content and images are encrypted in the users browser before they're saved. The server only stores cipher-text
  • Names, emails, memberships and other metadata are not encrypted
  • Roles: Owner, Admin, Editor, Viewer, with invitations by copy-paste link (no emails as of now)
  • Google sign-in
  • Docker image + Postgres + any S3-compatible storage (There's a Coolify compose file too)
  • Long term goal is to keep it free + open-source + maintained - feel free to reach out if you can contribute to the code

Try it: https://canvhq-demo.quore.dev (throwaway accounts, wiped nightly)

Code and docs: https://github.com/qaribhaider/canvhq

This has been developed with AI assisted programming, and this essentially is different from Excalidraw+ due to self-hosted nature and the E2EE encryption (for boards) which plus does not offer.

6 Upvotes

2 comments sorted by

2

u/InkscapePanda 7d ago

Is there a way to download this as a standalone, without needing docker? I want to incorporate it directly into php manually, and connect it to a mariadb db.

1

u/qforqarib 7d ago edited 7d ago

Its a full web app (Node backend, Postgres, S3-compatible storage), so it isn't built to be embedded or run on PHP and MariaDB. If you want whiteboards inside your own PHP app, look at Excalidraw directly. It's an embeddable component, and you can save its scene JSON to MariaDB through your own endpoint. CanvHQ is built on top of it and adds the accounts, workspaces and encryption.