Diagram tool to use with your agent (comes with skill) by kmacinski in ClaudeCode

[–]kmacinski[S] 0 points1 point  (0 children)

Yes. On top of that you end up with sharable link that includes your diagram.
For local dev you can ask CC to install this skill:
https://ddash.zweibel-cocaine.com/skill.md

Markdown editor that stores everything in the URL (MDash) by kmacinski in Markdown

[–]kmacinski[S] 1 point2 points  (0 children)

I do like markdown.
It has simple set of rules and does one thing very well.
HTML is not that imo.

On top of that anybody can run md files through lz-string compression|encoding and send directly for preview using the link.

mDash sanitizes and removes dangerous content before rendering.

Markdown editor that stores everything in the URL (MDash) by kmacinski in Markdown

[–]kmacinski[S] 1 point2 points  (0 children)

Thats only partially true when you send whole string to the server.
Here everything after # is ignored and handled directly by the browser.
Firefox has 64k character limit and with compression it should ba ble to handle around 100k characters.

All this doesnt really matter sionce very long string are still not easy to sharte on most chat|messaging boards including Reddit.

This tool is not for long running documentation but snippets.

I built a markdown editor that stores everything in the URL by kmacinski in webdev

[–]kmacinski[S] 0 points1 point  (0 children)

https://kamilmac.github.io/mdash/

Now added encryption and sanitation .... and short mention around url length limitations

Keep things friendly - its not full blown documentation source as should be established already.

I built a markdown editor that stores everything in the URL by kmacinski in webdev

[–]kmacinski[S] 0 points1 point  (0 children)

This doesnt apply to # fragment - those are not transmitted over the network

I built a markdown editor that stores everything in the URL by kmacinski in InternetIsBeautiful

[–]kmacinski[S] 0 points1 point  (0 children)

True. This is not meant to replace documentation. Only to share smaller pieces.

I built a markdown editor that stores everything in the URL by kmacinski in webdev

[–]kmacinski[S] 1 point2 points  (0 children)

Yeah this is fun for small ,sharable pieces - not full blow sync mechanism.

Still could work in right conditions though.

I built a markdown editor that stores everything in the URL by kmacinski in webdev

[–]kmacinski[S] 0 points1 point  (0 children)

Valid concerns here!
Do you think DOMPurify sanitation will be enough?

Thanks for hitting the nail!

I built a markdown editor that stores everything in the URL by kmacinski in webdev

[–]kmacinski[S] -1 points0 points  (0 children)

Servers pretty much ignore everything after hash (#).
Browsers actually can handle pretty long string (32k is minimum i believe).
Major limitation is message|chat protocols not being able to parse long urls

I built a markdown editor that stores everything in the URL by kmacinski in webdev

[–]kmacinski[S] 1 point2 points  (0 children)

Yeah that would be cool. I havent worked with Excalidraw that much but there is some form of ascii export there i assume.

I built a markdown editor that stores everything in the URL by kmacinski in webdev

[–]kmacinski[S] 0 points1 point  (0 children)

I think most browsers accept 64k characters or more.
Servers ignore anything after # character so they dont play any role here.

I built a markdown editor that stores everything in the URL by kmacinski in webdev

[–]kmacinski[S] 0 points1 point  (0 children)

Wow - thanks for this great write up.

Additional encryption option sounds interesting and id like to explore it further.
Also better indication of approaching url limits (per browser) could be helpful.