Build Your Own Bootable Emacs Environment

An old joke is that Emacs is a text editor with an operating system included, given that its extensibility and customization often goes far beyond traditional text editors. Part of its well-earned reputation comes from being built in Lisp which allows it to be expanded to do almost anything. Despite this in-joke in the community, though, you will still need an actual operating system to run it, but not much more than that.

This project uses User-Mode Linux (UML) as a foundation to load almost nothing other than an Emacs editor. UML is a virtualization technology that allows running multiple Linux kernel instances as separate virtual machines, so once the Linux environment is started and Emacs is compiled, the virtual machine can essentially boot straight into an Emacs environment. Some tools are needed outside of the Linux kernel like mount which allows the virtual file system to access the files needed to build Emacs, but as far as lightweight or minimalist Linux distributions go this one definitely gets at least an honorable mention.

While UML is virtualization software rather than a full-fledged Linux distribution, we would expect a similarly minimalist build could easily be done with something more hardware-based like Linux From Scratch. Emacs has been around for so long and had such a wide reach that it’s difficult to imagine a world without it. Even in more modern technology like browsers, knowing a little bit about Emacs can be an extremely powerful tool.

Playdate Handheld Turned Typewriter

The Playdate is an interesting gaming system. It’s a handheld, has a black and white screen, and superficially reminds us a little bit of the original Game Boy, right down to the button layout. But the fact that it has a second controller that pops out of the side, that this controller is a crank, and that the whole system was made by the same people that made Untitled Goose Game, makes us quite intrigued. Apparently it has made an impact on others, too, because this project turns the gaming system into a typewriter.

The Playdate doesn’t have native support for USB accessories unless it’s plugged into this custom 3D printed dock. Inside of the dock is a Teensy 4.1 which handles some translation between the keyboard and the console. Once the dock is taken care of the text editor needs to be side-loaded to the device as well. The word processor has the ability to move the cursor around, insert and delete text, and the project’s creator, [t0mg], plans to add more features in future versions like support for multiple files, changing the font, and a few other things as well.

For anyone interested in recreating this project, all of the printable files, the text editor, and the schematics are all available in the GitHub repo. It’s an impressive project for a less well-known console that we haven’t seen many other hacks for, unless you count this one-off Arduboy project which took some major inspiration from the Playdate’s crank controller.

Browser Makes Tiny Office Suite

There’s a recent craze of people living in tiny houses of 400 square feet down to as little as 80 square feet. Maybe [zserge] was thinking about that and created a very tiny office suite in which each tool weighs in at less than 1K. If you are guessing you couldn’t squeeze much functionality in C or C++ code or even assembly, you’d be right. The language of choice? HTML and JavaScript. So while the code is small, it relies on a pretty big piece of software. On the other hand, you have a browser open right now, so the incremental cost of using these tools is very small.

We get the idea that there’s not much chance this is going to sweep the shelves of Microsoft Office, Libre Office, and all the many competitors. However, it is a pretty stunning example of what you can do with modern HTML. There’s even a GitHub repo and a subreddit.

Continue reading “Browser Makes Tiny Office Suite”