18
submitted 2 days ago by [email protected] to c/[email protected]

Hi,

I'm looking for a soft to create ASCII diagram like (or better) https://asciiflow.com/

ideally:

  • FLOSS
  • for linux
  • offline
  • no javascript.

I've found a candidate ascii-draw and it's write in Python ❤️ 🐍, but it's only available as flatpack.. :/

top 9 comments
sorted by: hot top new old
[-] [email protected] 3 points 4 hours ago* (last edited 4 hours ago)

I'm not sure why you wouldn't want the ASCII-Draw flatpak, but that's not the only way to get it:

  • there's a Snap
  • it can be installed from source
  • there's also an AUR package

But maybe you're not on Arch, don't like Snaps (can't blame anyone for that) and don't want to install from source (same)? What type of package are you looking for? Only native package? For which distro?

[-] [email protected] 1 points 5 hours ago

Any reason for avoiding flatpak?

[-] [email protected] 1 points 6 hours ago

You might be interested in Emacs, it has (among many other things) artist-mode where you can draw with your cursor and obtain good ASCII art

[-] [email protected] 3 points 1 day ago* (last edited 1 day ago)

The AUR PKGBUILD shows a pretty simple recipe:

build() {
  arch-meson "${pkgname}-${pkgver//+/-}" build
  meson compile -C build
}

package() {
  meson install -C build --destdir "${pkgdir}"
  # permission fix
  chmod 755 "${pkgdir}/usr/bin/ascii-draw"
}

I've been seeing arch-meson often used, but haven't explored what it does. Some day...

Though it's way more fun to use text specification, like the one referenced by @[email protected]

[-] [email protected] 2 points 5 hours ago

arch-meson is a small wrapper script for meson:

$ cat /usr/bin/arch-meson
#!/bin/bash -ex
# Highly opinionated wrapper for Arch Linux packaging

exec meson setup \
  --prefix        /usr \
  --libexecdir    lib \
  --sbindir       bin \
  --buildtype     plain \
  --auto-features enabled \
  --wrap-mode     nodownload \
  -D              b_pie=true \
  -D              python.bytecompile=1 \
  "$@"
[-] [email protected] 6 points 2 days ago

If flatpak is not an option, then you need to specify what packaging platforms are applicable.

[-] [email protected] 2 points 1 day ago

I don't have an answer for you, I'd never heard of ASCIIFlow, but holy shit that takes me back to an oooold piece of DOS software called FormTool. Used to make dungeon maps and character sheets and such with it back in the early 90s. Good times.

[-] [email protected] 3 points 1 day ago

cant you compile it also im sure also in the AUR if ur on a arch based distro

[-] [email protected] 2 points 1 day ago* (last edited 1 day ago)

This sent me down a rabbit hole since it's something I've half-considering for a while. I prefer text configuration rather than GUI so I ended up installing graph-easy on my debian laptop:

sudo apt install libgraph-easy-perl

and made a first attempt to diagram the power setup in my campervan

It's a perl module but the graph-easy wrapper makes it behave like any other CLI tool. cat or echo the config text to the wrapper and the graph pops out on STDOUT

this post was submitted on 17 Jun 2025
18 points (84.6% liked)

Linux

55410 readers
698 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS