r/hakolinux • • 2h ago

First, the box itself: what hako@linux is

1 Upvotes

Before the Android app, the specs, any of it — the simple version of what I built.

hako@linux is a "box" for Linux.

A box is a small, self-contained Linux environment with a few properties I cared about:

  • It starts fast and can be thrown away. Copy it, snapshot it, break it, restore it. The box is disposable; what you keep is your data.
  • The distro inside is a swappable base. Ubuntu, Alpine, Debian and others each keep their own normal package management. The box holds the distro; it doesn't replace the distro's world with its own.
  • The door stays open while you change the room. The SSH server lives in a layer above the bases, so you can swap the base underneath and your session stays alive.
  • It's a workspace you can hand over. To a person, or to an AI agent: files and text, no admin panel, small enough to inspect and restart.

That's the box. Everything else is an edition of it.

This way of thinking is older than the box itself. Before hako@linux, I built Source Control Anywhere (どこでもソース管理) on the same idea: your git hosting in a small self-contained environment you carry with you, instead of someone else's cloud. I also built earlier versions of the idea on QEMU — whole machines in a box. hako@linux is where the box itself became the product: smaller, faster, and made to be handed over.

The Android edition came first: the box running inside an Android phone, so an old phone becomes a small always-on Linux machine you reach over SSH. There's also a Mac edition now, built with the same box — it just runs on a different floor.

The next posts get concrete: what the Android edition does today (with measurements), how to join its closed test, the Mac edition, and the articles so far.

— Lyre3 Games (solo dev, Japan)


r/hakolinux • • 2h ago

Reading list: the story so far (articles, LP, video)

1 Upvotes

For anyone arriving new, here is the existing material on hako@linux in one place. (These were written for my Japanese blog and product pages; the posts here in r/hakolinux are the English home from now on.)

New measurements and release notes will be posted here first. If there's a topic you'd like covered — battery behaviour, the phantom process killer, base switching internals — say so and I'll measure it.


r/hakolinux • • 2h ago

The box on Mac: same hako, boots in about half a second

1 Upvotes

Following on from the Android introduction: the same hako box also runs on Mac.

The Mac edition runs the box on libkrun instead of Android/proot, and it is fast in a way that still surprises me:

  • About 0.5 seconds from launch to a working shell (direct boot, median 0.509 s in my measurements).
  • The same switchable bases idea: swap the distro underneath while the Rust SSH server stays up in the host layer, so SSH sessions survive the switch — on Mac the base switch itself measured about 63 ms in the Windows comparison runs and is effectively instant in daily use.
  • A Wayland desktop through direct display (virtio-gpu), with Firefox and YouTube playing smoothly — 2D software rendering, about 29 fps at 1080p.
  • Forgejo and code-server answer in about a second after boot.

Why a Mac edition of a phone tool? Because the box is the product, not the phone: a small, disposable Linux environment you can snapshot, break, and restore — on the phone in your pocket, or on the desk machine. Android is where it started; Mac is where it got fast.

Questions about the Mac side — boot, display, base switching — welcome here too.

Watch: the Mac version in motion (105 seconds) — https://youtu.be/0UZ9z6JfuPM


r/hakolinux • • 2h ago

Closed test is live — free until Dec 11, testers welcome

1 Upvotes

hako@linux is in closed testing on Google Play, and I'd love more testers — especially people who like the idea of an old Android phone as an always-on Linux box.

The deal

  • Free until Dec 11 (the test-period sale). After that it becomes a paid app.
  • Google requires closed-test apps to have at least 12 testers opted in for 14 days before production release — joining genuinely helps, even if you only poke at it now and then.

How to join

  1. Fill in the signup form: https://docs.google.com/forms/d/e/1FAIpQLSeiZeQQ8Q5tHEFBc5D3JECItSC0zWtNDU4hHPnpptGHaqmJwg/viewform
  2. You'll be added to the tester Google Group, then you can install from Google Play.

Community

  • Google Group: Lyre3 Games (you'll be invited through the form)
  • And of course, right here in r/hakolinux.

Bug reports, "it doesn't start on my phone", battery numbers, requests — all of it is useful. I read everything, and I'll post progress and measurements here as the test goes on.

— Lyre3 Games (solo dev, Japan)


r/hakolinux • • 2h ago

Welcome to r/hakolinux — what this box can do, with numbers

1 Upvotes

I'm a solo dev in Japan (Lyre3 Games). This subreddit is the home base for hako@linux, the Linux box I've been building — news, releases, measurements, and questions are all welcome here.

What it is

A Linux environment that runs inside an Android phone, built to be used over SSH and left running. Not a terminal app with a package world of its own: the box has switchable distro bases, and each base uses its own normal package management.

What it can do today

  • Five switchable bases: native Bionic, plus Alpine 3.24, Debian 12, Ubuntu 24.04 and Amazon Linux 2023 through proot. Switch the base and your SSH session stays alive — the SSH server is written in Rust (russh) and lives in a layer above the bases, so existing sessions keep running on the base they started on.
  • Measured on a Pixel 3a: 879 ms cold start, 37.9 MiB idle memory.
  • Sensor bridge + store-and-forward logging: pressure, light, battery and location, recorded in the background and synced in batches. On a Pixel 4 it logged GPS for 15.6 hours straight with the screen off (99.5% fix rate, median accuracy 11.4 m). On a Pixel 3a: 20.5 hours, 2,422 records, about 1.67% battery per hour.
  • Run services in the box: Forgejo (git hosting) and code-server run inside the bases, so an old phone becomes a small always-on server you fully control — no cloud account.

Status

Closed test on Google Play, free until Dec 11. There's a separate post in this subreddit with how to join the test.

Questions, criticism and "will it run X?" are all welcome — measurements preferred over claims, mine included.