ASCIIFlow This is kind of cool 😅
\\--------\\
|\\ |\\
| \\------+--\\
| | | |
| | | |
| | | |
\--+------\\ |
\\\| \\\|
\\---------\|
ASCIIFlow This is kind of cool 😅
\\--------\\
|\\ |\\
| \\------+--\\
| | | |
| | | |
| | | |
\--+------\\ |
\\\| \\\|
\\---------\|
@prologic@twtxt.net whoa that’s so cool!
@abucci@anthony.buc.ci Yeah it is 😅 I was however re-looking for a decent self-hostable real-time/collaborate drawing app. I’ve settled on whitebophir (often shortened to “wbo”) for now and have spun up an instance over at wbo.mills.io
I do however kind of prefer tldraw.com however its rather painful to get running and has no decent way to get it running quickly/easily.
@prologic@twtxt.net I’m a big fan of https://excalidraw.com , especially the collaborative editing feature, but I don’t think you can self-host it 👎
@prologic@twtxt.net I see what you mean about tldraw. I looked at their github repository and it seems like they are distributing it as an npm package for people who want to include a whiteboard in their Javascript-based frontend. I didn’t see a way to just launch the thing.
I have half a mind to write a little scala frontend that sets up one of these, since scalajs makes it very easy to use these Javascript web component things while making it look like you’re writing scala.
I take it back. Excalidraw is like tldraw–you can integrate it into a Javascript front end if you want. Which means technically you could self-host it if you wanted, but you’d have to write your own front end code to embed it, and host that code somehow.
@lyse@lyse.isobeef.org oh wow nice, I got it running with no trouble:
|
|
| .
| | |
| | |
| | |
|__________ | |
/ | _,..----. | / ,Y-o..
.| ,-'' | / .' / ' .
|| [ --.....- | | | `.
|| |".........__ | | \ |
b | ' | | \ |
| | | `. _,'
| | ' `'''
, , . .
\ .'| ,-'\V d---. |...
\. ,'| / |/ | / |
` ...,' ,' `..,Y / / |
_/ | | |
,' |
-._______/
I was able to get an instance of excalidraw up and running at draw.mills.io using the official image they provide; sadly however:
At the moment, self-hosting your own instance doesn’t support sharing or collaboration features.
We are working towards providing a full-fledged solution for self-hosting your own Excalidraw.
😢
Scratch draw.mills.io
, going to put both excalidraw and an older version of tldraw up that I got working (including collaboration, but sadly relies on a 3rd-party service called LiveBlocks to work, which I have some keys for)
Unfortunately the resulting Docker image for the older version of tldraw is 1.7GB 😱
$ docker images | grep tldraw
r.mills.io/prologic/tldraw latest 5b0e374ed1cc 8 minutes ago 1.69GB
if anyone knows anything about this shitty Javascript/NPM/Yarn ecosystem and how to make this smaller, do let me know 😅 Here’s the Dockerfile
:
# Written by Ange Cesari
# Use official Node.js based on Alpine
FROM node:16-alpine
# Install Yarn
RUN apk add --no-cache yarn
# Create dir for application
WORKDIR /usr/src/app
# Copy files from apps/www to workdir
COPY apps/www .
# Change workdir to apps/www
WORKDIR /usr/src/app/apps/www
# Install dependencies with yarn
RUN yarn
# Expose application port (5420 for the tldraw/example)
EXPOSE 3000
# Run application in dev mode
CMD ["yarn", "dev"]
And here’s all three self-hosted “drawing” apps I’ve now since launched:
@prologic@twtxt.net wow! The place to go for whiteboard tech is mills.io.
That stinks about Excalidraw. they’ve been saying that (working on adding collab/self hosting) for over a year.
@abucci@anthony.buc.ci Yeah! 🤣 Sadly I’ve had to take down the tldraw instance. a) it’s super old and b) for some reason it requires 256M
of memory just to start without getting killed?! 😱 wtf?! I wish I was more experienced with this Yarn/NodeJS ecosystem and could wrap my puny little head around this stuff, but I just can’t 🤦♂️
Thinking of taking down excalidraw too and just leaving wbo up. It’s the most lightweight, versatile and “just works”™ – Even if its missing some things I like out of tldraw (like snapping to grid)
I give up. 🤦♂️ I can’t figure out how to get anything working with the new tldraw. The fucking REDME doesn’t even work 🤦♂️