WordGrinder: A simple word processor that runs on the console
github.com
github.com
WordGrinder: Terminal-based distraction free word processor - https://news.ycombinator.com/item?id=35530372 - April 2023 (68 comments)
(Reposts are fine after a year or so; links to past threads are just to satisfy extra-curious readers)
has a lot more information and some screenshots.
I find it a bit amusing that the programmers write the following about the last version upgrade:
""This version has a tonne of new features""
Creating a simple, get out of your way wordprocessor that cant do a few things very well seems at odds with feature bloat when you cram more and more features into each release.
> markdown import, templates, filename autocomplete, a Windows console version, numbered list items
I'm trying to think of the use case where Markdown in VIM is not enough, but LibreOffice is too much. For what it's worth Bash is my file manager and I practically live in the CLI. I do write some technical documentation to go with my code, in Markdown. I recently wrote a long report in LibreOffice for a medical malpractice suite - I made extensive use of headings, paragraphs, quotes, tables, and bold text. My work templates have page headers and footers with page numbering, sparse embedded graphics, tables, a table of contents, and sometimes code snippets with syntax highlighting.
Additionally, all my document types use RTL text, which WordGrinder does not support. So I am more interested in the general feasibility of such an app, than in actually trying to replace LibreOffice with WordGrinder (at least until RTL support is added).
That works pretty good with markdown files hosted on github pages as I don't have to move out of the CLI when pushing them online.
However, the use case that this workflow doesn't cover is when I write something that I'd like to send for a proofread to a friend of mine, who's an editor. He really loves his Word files.
As I'm a noob, I asked then ChatGPT to help me with a bash script that converts that .md file into a .doc file using pandoc. That worked pretty well.
My thought was if it couldn't be possible to use something like pandoc for converting an .md file into a templated doc with headers, footers, page numbering, even toc?
That wouldn't solve 100% of the use cases, but still could be pretty good.
And Markdown, well, its great in that it is simple, but I tend to hit its limitations very quickly for more complex setups - plain markdown won't do anything but the most simple tables, and of course, there is no way to define styles.
I would suggest that your use case is probably better suited for something like LaTeX (or Tex, for more direct control), og ngroff/troff if you want speed. Maybe Typist for a more modern take?
https://cis.temple.edu/~giorgio/old/cis307f07/software/minix...
I guess WordGrinder is a TUI thing which maybe has its attractions.
>"This great new word processor is lightweight and that is awesome, you get a blank screen and only that "
Would seem like:
"I have written an amazing lightweight fast new code editor that wont slow you down. You get a blank screen and is that, no confusing keyboard shortcuts, no syntax sugar, no weird coloring of your code, no in program terminal etc " Or rather I have recreated Microsoft Windows Notepad, with even fewer features.
No, I do want my code editor to have quite a lot of features that I can use -if- I need them.
I do a lot of writing so this goes for my word processor as well.
It is trivial to configure Microsoft Word to show you nothing but a blank screen and you can start typing. If that is your thing. If you need more its available.
(No it can't do everything LaTex can, Yes you may be able to type faster in vi)
I am not as familiar with Vim, but from people I know using it, it appears to have a decent set of features, I see it has at least 20.000 plugins which is quite a lot
A valid comparison for wanting a code editor that gets out of your way, Wuold in my opinion cd something close to Windows notepad or even a typewriter for that super retro feel.
Far into the past, I handwrote code, with pen and paper for my exams in computer science. I have no wish to do so again.
This is useful even if you have other preferred tools because you may well find yourself in a work situation where some word usage is forced on you (eg having to review contract redlines or vendor sow drafts or whatever).
That said, I'm all for people having other options, so salute this project.
I like the way I can start typing words at the center of the black screen and it auto-scrolls, then if it's worth anything that I might want to format, I can throw it into OpenOffice or whatever
I like it but I wish it was easier to work with plain text files. You always have to use the export function instead of just saving.
testing with http://canonical.org/~kragen/sw/dev3/propfont.c i need about 110 instructions per byte to naïvely word-wrap text and render it to a pixel buffer in a proportional font. this suggests that the z80 could probably have wrapped about 5000 characters per second (in a proportional font), while a 48-megahertz cortex-m0 running 40 million instructions per second could wrap about 400 kilobytes per second, so while there's a strong human-factors reason to cache this kind of presentation information between screen frames, it doesn't really need to be cached between file opens
(the problem gets easier if you don't have to render the text to pixels, or in a fixed-pitch font, both of which applied in wordstar's case)
The same with sc-im+gnuplot for Excel files.
Admittedly, HTML has this property as well, but HTML was sort of designed to be edited by hand.
> WordGrinder is a simple, Unicode-aware word processor that runs on the console.
But then,
> WordGrinder needs the following packages installed:
> - a terminal emulator that supports UTF-8. gnome-terminal, konsole, xterm and rxvt-unicode do. rxvt and the Linux console don't
So, the title is misleading. It's not a console word processor. It's a terminal emulator word processor.