About
Tool No. 49 of Pikkola
A diagram is only useful in a README if it survives the trip: into the editor, the terminal, the diff, the ticket where somebody pastes it, the chat window that reflows it. Characters survive all of those. This page builds characters, and nothing else.
What it draws
- A table from CSV, TSV or a grid of cells, drawn as a Unicode box, a heavy box, a rounded box, a double box, classic ASCII or a Markdown table, with each column set to the left, the centre or the right.
- A directory tree from an indented list, with the usual branches, comments lined up on the right, and folders and files marked if you want them marked.
- A callout box with a title joined to its body, a pipeline of boxes and arrows, and a block of text wrapped in the comment style of the file it is going into.
- A block banner from a 5 by 7 font that lives in the page, so a word can be set in hash marks or blocks for a terminal heading.
Why width, and not length
A cell is measured by how many columns it takes on screen, not by how many characters it holds. A Korean, Japanese or Chinese letter takes two columns, a combining accent takes none, and an emoji takes two. Count the characters and a table with one Korean word in it falls apart in the terminal: the borders no longer meet, and the reader sees a broken table before they see the data. Every pad in this page is computed from that display width, so a mixed table stays square.
What it deliberately does not do
- It does not draw a picture. There is no SVG, no canvas, no PNG: the output is text, and that is the point.
- It does not make ASCII art out of a photo. The banner font is five cells wide and seven tall, and it holds letters, digits and common punctuation.
- It does not fetch a font, an icon set or a library. The page is files from this site and nothing else, and its content policy forbids a request even if a line of code tried one.
- It cannot paste into your editor, and it cannot know how wide your terminal is. The wrap width of a box is yours to set, and a table wider than the window is a table that will not fit.
- It does not keep a copy anywhere but this browser. There is no account, and no server holds your data.
Where the draft lives
In this browser's local storage, under one key, together with the language and the theme. A reload brings the studios back as you left them. Clearing this site's data removes all of it, and there is no copy anywhere else.
The keyboard
In the table grid, Enter moves down a row, Tab moves across, and a cell takes a typed line as it comes. The studio tabs answer to the arrow keys. Every output block is plain text, so the browser's own find works on it.
Why it is free
It is one page of static files with no server behind it, so it costs almost nothing to keep. Pikkola is a shelf of these small tools, each with one job and the same rules: no account, nothing uploaded, no tracking.
Questions and corrections: hello@pikkola.com