#Pikchr

Marcos Dionemdione@en.osm.town
2025-06-24

Last week at work I used #pikchr for the first time. It's a diagram generator that uses a text file as a source. This means that you can now easily keep track of your diagrams in a VCS (git, bah). It took me a couple of days to get used to the way it wors.

Unluckily right now the site seems down to me, but here's the link:

pikchr.org/

They have an online version, which is the one I used, but there's also a CLI you can install locally... at least on #Linux.

Diagram generated with Pikchr.
Marco BrescianiAAMfP@fosstodon.org
2025-05-04

@jaredj
There was #PlantUML, then someone else created #Mermaid (not sure it fit #Emacs, though), now #Pikchr...

xkcd.com/927/

@SReyCoyrehourcq

Jared Jenningsjaredj@bsd.cafe
2025-05-03

#Pikchr (pikchr.org) is a great little piece of software from the SQLite folks. It parses a little language for describing diagrams with boxes and lines and things, and puts out SVG.

#OrgMode (orgmode.org) has, among many other things, a way you can make code notebooks, #OrgBabel. Like #Jupyter, but less webby, and inside #Emacs, and supporting many languages - even multiple in the same document - thence its name.

Thanks to the ob-pikchr package by @SReyCoyrehourcq, Pikchr is one of the languages you can just write in the middle of your document this way.

Pikchr supports #darkmode, and I've just made a pull request that gets ob-pikchr in on the dark-mode game.

github.com/reyman/ob-pikchr/pu

Many thanks to Sebastien for the help ob-pikchr has provided in diagramming my thoughts! You go use it too!

#FreeSoftware

2024-11-22

@ross I've noticed this handy feature while generating SVGs using Pikchr, Emacs, and org-mode. Some fun examples on my blog:
remcycles.net/blog/crc_diagram
remcycles.net/blog/pikchr_plot
remcycles.net/blog/goertzel.ht
#emacs #pikchr #orgmode #svg

Notxor :gnu:Notxor@masto.es
2024-11-10

Hoy en mi blog un pequeño resumen sobre las herramientas que vengo usando últimamente para mis cosas:

notxor.nueva-actitud.org/2024/

#TclTk #pikchr #fossilscm #ZenBrowser

Notxor :gnu:Notxor@masto.es
2024-09-30

Hoy en mi blog hablo sobre la herramienta para generación de gráficos a partir de texto #Pikchr

notxor.nueva-actitud.org/2024/

I've just written my first non toy #pikchr diagram and I can see it potentially replacing #ditaa and #artistmode for some of my diagram needs. pikchr.org/home/doc/trunk/home

Marcos Dionemdione@en.osm.town
2024-01-14

#til

* #pikchr pikchr.org/ is a PIC-based markup language for creating diagrams à la #dot. I think it's more powerful (kind of à la TeX/LaTeX, in the sens of not so abstract but lets you shoot yourself in the foot if needed), and would probably allow me to make the graphs I need, allowing me grouping elements in blocks, and being able to draw lines/arrows between any mix of group border and element. A CLI compiler just entered #debian unstable.

GripNewsGripNews
2024-01-05

🌘 Pikchr:文件說明
➤ Pikchr語言的應用範圍和用法
pikchr.org/home/doc/trunk/home
Pikchr是一種類似PIC的標記語言,用於技術文件中的圖表。它設計用於嵌入Markdown或其他文件標記語言的代碼塊中。Pikchr圖表可在文件、Wiki頁面、票據和錯誤報告、論壇帖子、檢查評論等任何Markdown或相似標記語言使用的地方出現。它易於生成,語言簡單,有大量在線文檔和示例。任何熟悉使用Markdown的人都應該能夠輕鬆掌握Pikchr。Pikchr在互聯網應用中是安全的,並且能輕鬆集成到其他系統中。Pikchr源代碼以0-clause BSD許可證釋出。
+ 這篇摘要很清晰地概括了Pikchr的主要功能和特點。
+ 瞭解了Pikchr的用途和特點,對於技術文件的應用很有幫助。

2023-11-10

@22 The #SQLite syntax diagrams are produced with the #pikchr tool, by the same author as #SQLite and #fossil D Richard Hipp.
"Pikchr (pronounced "picture") is a PIC-like markup language for diagrams in technical documentation. Pikchr is designed to be embedded in fenced code blocks of Markdown or similar mechanisms of other documentation markup languages."
fossil-scm.org/
pikchr.org/

Aslak Raanesaslakr
2023-09-14

@alexlehm I was reminded of when @jpmens mentioned mastodon.social/@jpmens/111065 because pikchr's syntax is more or less the same pikchr.org/home/doc/trunk/doc/

Michael Piotrowskimxp@mastodon.acm.org
2023-03-24

Inspired by the #TikZ examples in the Microsoft report on GPT-4 arxiv.org/pdf/2303.12712.pdf, I tried to have #ChatGPT draw a stick figure in #pikchr. It doesn’t really work, except as a motivation to read the manual… But it’s impressive how it takes your corrections into account. #GPT4 (tried in lex.page) seems to produce more elaborate code (with comments!), but it mostly doesn’t work either—and without being able to chat with it, it’s not useful for this purpose.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst