335 points · by keehun · 5y ago · 102 comments
A couple of workflow tips for using Monodraw:
* Open a few docs in Monodraw at a time and leave them open for your different needs: text boxes, figlets, diagrams. Each with a few elements already waiting to be filled, cut & pasted, etc.
* For larger docs (e.g. newsletters) finish the writing in your text editor and bring it into Monodraw. Think Publisher or InDesign. Yeah, you can edit in here, but it's weird. Best for layout.
* Browse the sample file that opens by default when you load Monodraw. Good fodder in there.
* Snippets!
* Yes, it is just text but there is FILL to give order (front to back) of elements. This is really handy for making slides that expose a list one item at a time.
* Cut and Paste chunks in and out of your Monodraw file with your main document or take a clipped screen capture for dropping into a graphic or fancy format document (e.g. Illustrator). No need to export and paste.
Locking should prompt you on any attempt to change the document to unlock or duplicate.
Stationary Pad will automatically create a local copy when you open the file, and instead open that copy.
Moebius is a new ANSI and ASCII Editor for MacOS, Windows, and Linux.
With a neat Moebius Server feature that allows collaboration by multiple users on the same canvas through a server instance.
Not a cross-platform, but JavaScript-extension with cross-platform Chromium browser bundled.
Without browser this "browser extension" (Web-app) could not run on any platform.
Here is a sample chapter from the book (in PDF) - https://compilerbook.com/sample.pdf
What I did more recently is to use Monodraw to create diagrams of CFGs and put those next to the test cases (see [0] or [1]) which exercise those graphs - the power of ASCII, you can just copy the graphs into your code.
[0]: https://twitter.com/thorstenball/status/1363053307409932288 [1]: https://twitter.com/thorstenball/status/1368802505963016197
Demo: https://www.youtube.com/watch?v=LDbi56U5qRw&ab_channel=gnuma...
Then started using monodraw. Love it.
Some past threads:
Show HN: Monodraw, an ASCII Art Editor for Mac - https://news.ycombinator.com/item?id=9545252 - May 2015 (53 comments)
Monodraw: Powerful ASCII Art Editor for Developers (Mac) - https://news.ycombinator.com/item?id=9145945 - March 2015 (3 comments)
Show HN: Monodraw for Mac, ASCII Art Editor – Beta Available - https://news.ycombinator.com/item?id=9138039 - March 2015 (11 comments)
ASCII art editor designed for the Mac - https://news.ycombinator.com/item?id=8445087 - Oct 2014 (107 comments)
Still works well though.
Granted, it sounds like the author feels like there are more meaningful things to add or change, but that doesn't mean the software is any less relevant than it was 3 years back.
So, I'll try to get to it eventually but no promises on timeline.
I've been told it was used for wire-framing and mind-mapping which I never envisioned!
<div aria-role="img" aria-label="{your alt-text here}">
<pre>...</pre>
</div>
A simple approach is best. I don't have a screenreader on my current machine (as far as I know) so I can't verify actual behaviour right now, but according to MDN:> ...most screenreaders will consider the element with role="img" set on it to be to be like a black box, and not access the individual elements inside it.
(https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...)
This allows you to write Markdown-style documents, including ASCII-art diagrams, but which render beautifully in any browser with JavaScript. Using Monodraw or ASCIIFlow as the front-end editor, you can drop most results in a Markdeep document. Bonus: good inline math typesetting plus loads of other awesome document features.
But actually more often I've needed things like https://github.com/weidagang/text-diagram as it is much easier to maintain
But I actually need more types of diagrams, so slowly, as one of many little side projects, I've been building a little library for all kinds of ascii diagram generation
git://bitreich.org/gramscii
X
/ \
/ \ X
| |--------+ / \
\ / | / \
\ / +-------->| |
V \ /
+--------------------+ \ /
|lkjhlkjhlkjh lkjh | ---+ V
+--------------------+ | +--------------------+
+---> |lkjhlkjhlkjh lkjh |
+--------------------+Anyway Monodraw is just awesome in its own way, and I really like the easy way you can draw stuff in it, ASCII is so restricting it simplifies design decisions for us art plebs quite a bit. I just wish there could be a way to export it as a xkcd / excalidraw style PNG after you've done drawing.
This app has no dependency on native OS for anything beyond writing data. It doesn't need to compile heavy code bases, it doesn't need fast GPU or other access. It could have very well been an electron app, and it would have the benefit of being widely available on many platforms.
I'd love to be able to use this app, but as a Linux and Windows user, I'm unable to. So I'll be searching for an alternative that runs on the platforms I have access to.
That said, no hate on the author for building the tool to their needs and desires. It's a fantastic looking app, and looks well executed. Wish I could use it.
To have the same great native feeling UI you’d need to use AppKit - not HTML.
Don’t get me started at the usual shortcuts and general platform behavior most electron apps get wrong.
I agree with you that it's almost impossible to get a native UI feel in electron, but that's not always the first priority.
If the end goal of the application is to present a custom interface for drawing on a monospace grid for ASCII art, I'm not sure I see the argument that a native UI is necessary over any cross-platform kit like QT or even an html based UI. I totally agree on shortcuts being a problem. Dealing with those cross-platform can be a headache when sufficient care is not being taken. Especially from an outsider to the platform.
As a long-time linux user, most of the interactions on OSX feel wrong to me, but I know it's me that's the problem. If I were to write shortcuts for the OSX platform, I'm sure I'd get most of them wrong. Conversely, if an OSX developer was writing shortcuts for a linux or windows platform, I'm sure they'd face the same issue. It really benefits to have a platform expert you can consult for testing.
I'm not trying to eschew the need and benefits of native apps here, I was trying to point out the fact that the large amount of hate for Electron (and similar web UI on desktop solutions) have their place.
Heck, this entire app could have been a web app. I'm sure a few out there exist to do very similar things.
There's dozens of ways to accomplish things in the wonderful field that is software development, and the whole "this tech is bad" cargo-cult is more a disservice than anything. There are pros and cons to every decision that goes into an application, and taking a stance against one method without considering the use cases and how it could benefit or hinder runs the risk of loosing out on promising tech or excluding people from using your project.
I've seen Monodraw a few times over the years, and I've lamented the fact that I haven't been able to use it, which is what drew me to make my original comment.
Anyway, you can do it without dragging which is actually even better. Just do Ctrl+K, O or on a Mac Cmd+K, O.
You can track when this feature is implemented here - https://github.com/microsoft/vscode/issues/8171
I appreciate the vertical integration Apple has in all its products, but after feeling like I was fighting the system for almost 3 years, I was happy to no longer have to use it for my work machine.
To each there own though! I'm glad you enjoy it, and I'm glad to see Monodraw get the attention it deserves (it's genuinely a very cool app).
There's nothing so intensive about it that it needs to be an Electron app either. It could just have easily been a cross-platform native app as well.
It's an interesting choice to do native.
That said, very impressive work.
This isn't really true when supporting a single platform, assuming the author is fluent in AppKit etc.