@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.

⤋ Read More

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.

⤋ Read More

@lyse@lyse.isobeef.org oh wow nice, I got it running with no trouble:




     |
     |
     |                             .
     |                             |     |
     |                             |     |
     |                             |     |
     |__________                   |     |
     /          |   _,..----.      |     /     ,Y-o..
    .|          ,-''        |      /    .'    /      ' .
    ||          [   --.....-      |     |     |         `.
    ||          |".........__     |     |     \          |
     b          |            '    |    |       \         |
                |                |     |        `.    _,'
                |                |     '          `'''



                     ,        ,   .       .
           \        .'|   ,-'\V   d---.   |...
           \.      ,'|   /   |/   |       /  |
            ` ...,' ,'   `..,Y   /       /    |
                   _/        |           |    |
                  ,'         |
        -._______/



⤋ Read More

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.

😢

⤋ Read More

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)

⤋ Read More

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"]

⤋ Read More

@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)

⤋ Read More

I give up. 🤦‍♂️ I can’t figure out how to get anything working with the new tldraw. The fucking REDME doesn’t even work 🤦‍♂️

⤋ Read More

Participate

Login to join in on this yarn.