I use excalidraw to manage my diagrams for my blog

(blog.lysk.tech)

107 points | by mlysk 5 hours ago

16 comments

  • 1a527dd5 6 minutes ago
    Huge fan of https://github.com/mermaid-js/mermaid, not the prettiest things but enough to scratch the itch.
  • lnenad 2 hours ago
    I love diagramming, but I genuinely don't understand how people can use these wonky looking tools. It looks off, I had to make my own[1] to create something that's easy to use and looks good/normal.

    [1] https://grafly.io

    • emaro 1 hour ago
      I like the wonky, hand-drawn looking style. I think it fits well beause usually if I use a diagram it's not 100% precise and accurate, but more a high-level illustration. The wonky style conveys the approximate precision of the presented concept.

      Also, and that's personal, I think it's cute.

      • boomskats 12 minutes ago
        I agree with you. I think the 'wonky' comment was more to serve as justification for the plug than an actual criticism of Excalidraw.

        Excalidraw is my favourite thinking tool, and the style it produces is just the right level of limiting, disarming, and professional at the same time.

      • grosswait 51 minutes ago
        I thought they were saying the tool is wonky looking, but <shrug>?
    • geektips 15 minutes ago
      This looks really clean, nice work. I’ve had the same issues with most diagramming tools, it's either not so good looking or the insane pricing .

      I went a different route using diagram-as-code with Mermaid instead of manual drawing.

      [1] https://graphlet.xyz

    • atentaten 10 minutes ago
      When a background shape is in focus it comes to the foreground covering the shapes that are on top of it.
    • aniviacat 1 hour ago
      In Excalidraw, you can reduce (and completely remove) the "sloppiness" in the element properties.
    • Ygg2 1 hour ago
      > It looks off

      Depends on what you want to achieve with your look. Do you want to scream professionalism, authority, and completed? Use a regular UML tool.

      Want to say this is a rough draft of a few ideas? Then using UML is probably THE wrong look. And Exaclidraw should be used instead.

      --- Anecdote time. According to one of my professors, they showed how the prototype will look in action, and the customers were so impressed by the smoke and mirrors prototype they wanted to start using it right away.

      In the end, customer walked away because they thought they were being strung along to pay for something that was already done.

    • superkai 2 hours ago
      looks awesome man !
  • agnishom 22 minutes ago
    I want to write a blog whose posts will be all about the technical details of how the blog works.
  • jannesblobel 50 minutes ago
    That fits perfectly with the idea that everything should actually be in the repository. At last, I no longer have to update the images myself. Thanks!
  • Jnr 2 hours ago
    Cool, I did a similar thing last week.

    I made a custom Payload CMS block that allows to create and update excalidraw diagrams within the CMS. It supports dark and light mode switching and rendering inline or as external SVG.

    And last weekend I added MCP server with Oauth so I could generate and update those diagrams and add them to post drafts from Claude. I think it is more convenient since I don't have to use API billing model and don't need to build a custom UI.

    Here is an example post: https://www.janhouse.lv/blog/network/self-hosting-tailscale-...

    Originally I wanted to sync posts from Obsidian but it doesn't have good enough image handling which I sometimes need and I needed extra metadata to unlist or password protect or noindex some posts.

  • walthamstow 3 hours ago
    Excalidraw has proliferated quite widely in my company since we got Claude Code. Its a shame the default font is ugly, childish and inaccessible.
    • lloydatkinson 1 hour ago
      Whiteboard handwriting is childish?
      • walthamstow 1 hour ago
        It's not on a whiteboard, nor was it written by hand. It's a computer font.
        • lloydatkinson 1 hour ago
          The Excalidraw website describes itself as: Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them.

          And the GitHub repo says: An open source virtual hand-drawn style whiteboard. Collaborative and end-to-end encrypted.

          It's the intended design...

          • walthamstow 1 hour ago
            Cool. I have stated my opinions on their intended design.
  • dewey 3 hours ago
    Everyone does that these days and they are becoming AI tells like the em-dash or the blue-glow of the early AI generated images that everyone added to their blog posts.
  • darshanmakwana 3 hours ago
    I simply just draw in excalidraw and take a ss and past it in my obsidian note, I have a setup that automatically parses posts from my vault and then pushes them to my site
  • wdroz 4 hours ago
    You can also bootstrap your initial schema with LLMs with the excalidraw MCP "app" [0]. But MCP "apps"[1] are quite new and not very well supported yet.

    [0] -- https://github.com/excalidraw/excalidraw-mcp

    [1] -- https://modelcontextprotocol.io/extensions/apps/overview

    • mi_lk 3 hours ago
      I didn't have good experience with excalidraw-mcp when it first came out a month ago; the Claude-generated diagrams were too raw/unpolished. I'm sticking to mermaid for now but I'm interested in hearing how people make exclidraw-mcp work for them
  • subhobroto 38 minutes ago
    Documentation often rots away because it's often decoupled from the code it describes.

    I'm a huge fan of anything related to code that can I check into git, track its evolution and the thinking that went behind it. Why was Kubernetes chosen? Why was NATs chosen? Why are the topics named the way they are?

    I am a huge fan of mermaid diagrams because it lets me check in my diagrams into git. I am a huge fan of mermaid diagrams because my code can generate diagrams that I (or they) can check into git - and this was before AI.

    Now that AI can generate mermaid diagrams, people look at my Git repos and go "oh, you use AI a lot!" - then I point to my git history and they see it's from 2018.

    I'm really happy that mermaid and related tools like Excalidraw are taking off - we have another chance at documentation being automated, uptodate and "fresh".

  • palijer 1 hour ago
    Great article, should make sure to attribute xkcd comics though.

    https://xkcd.com/about/

    • mlysk 6 minutes ago
      Thanks for the hint - just updated the post and adde the attribution
  • gethly 4 hours ago
    Same. I started using it for Gethly blog. It's not perfect, some things make me crazy but overall it is better than draw.io that I used to use before. Excalidraw also has these great styles that just feel right :)
  • d4rkp4ttern 1 hour ago
    Another option I use open is to ask the ode-agent to make a diagram using Tikz (as a .tex file), which can then be converted to pdf/png.

    But in general AI-diagramming is still unsolved; needs several iterations to get rid of wonky/wrong arrows, misplaced boxes, misplaced text etc.

  • emil-lp 4 hours ago
    Should be Show HN.

    Now it reads like an ad for some extension to a program I've never heard about.

    • emil-lp 4 hours ago
      Apparently Excalidraw is An open source virtual hand-drawn style whiteboard. Collaborative and end-to-end encrypted.

      https://github.com/excalidraw/excalidraw

      • petepete 4 hours ago
        I use Excalidraw extensively at work. For me, it's really close to perfection.

        It has an excellent UI, selections work way better than Lucid or Figma etc, the sketchy look makes it clear designs are rough and not blueprints, it's private and loads instantly.

        The one negative is that it's a pain to get the multiplayer self-hosted version running.

        • fabbbbb 3 hours ago
          I was surprised about that, too. Tried a bit but found very few sources online.

          A self-hosted version with storage (multiplayer) plus any Claude access would be a killer setup for team planning etc and let us drop Miro.

        • ndezt 3 hours ago
          [dead]
      • bryanhogan 4 hours ago
        Both Excalidraw and TLDraw are the two most popular apps of their kind, simplistic whiteboard tools, so I don't think it's that surprising and I don't see any reason why this post should be a "Show HN".

        TLDraw: https://www.tldraw.com/

        Excalidraw: https://excalidraw.com/

        • jruohonen 3 hours ago
          For me, draw.io is still the winner, and especially now that it runs locally also on Linux. As for works in progress, I hope this one succeeds (and would also run locally at some point):

          TikzMaker: https://tikzmaker.com/

      • postatic 3 hours ago
        I love excalidraw, but don't need the excalidraw+. But Excalidraw open source is the frontend only, which means I have to delete my drawings each time. So I built the backend so I can create many canvases.

        https://drawx.ossy.dev

        • iCutMoon 1 hour ago
          I actually created a completely free chrome extension exactly for that reason helps you to save and open the files at excalidraw

          https://github.com/AykutSarac/excalihub

        • jstanley 3 hours ago
          Your site makes me make an account before I can use it, whereas excalidraw.com doesn't, and also excalidraw.com seems to save my drawing just fine? I closed a tab and reopened it and my drawing was still there, presumably from localStorage.

          The three-lines-menu also has a "Save to..." option that lets you create a sharable link or save to your local disk.

          • blahlabs 3 hours ago
            You can also embed the excalidraw drawing in the exported image. So you can drag/drop the exorted image back into excalidraw and edit it later.
    • mlysk 1 hour ago
      Pretty new to hn, thanks for the hint
  • johspaeth 27 minutes ago
    Uh, that’s a nice approach.
  • tobiu 1 hour ago
    nice one!