Turn your Mac into the brain of your household and operate from your phone.
Repo famstack-dev/famstack, read from GitHub 9 h ago. famstack-dev has not joined Take My Repo.
Warning
If you want to stay on 0.4, don't update. ./stack update on 0.4.x offers this beta and asks first: answer n. On 0.4.3 or older, run ./stack update v0.4.4 to get the last 0.4 fixes.
Tip
New users should start with 0.5. A plain git clone gives main, which is still 0.4.4, so clone the beta's tag:
git clone --branch v0.5.0-beta.1 https://github.com/famstack-dev/famstack.git && cd famstack ./stack
Why a beta? We have a lot of new features in the pipeline to make famstack easier to install, more fun to use and more secure. Some of them are not fully ready yet and need polishing. The last test runs did not cover an English instance, an iPhone, a Mac with more than 16 GB, domain mode, the backup stacklet and an AI server other than oMLX, so tell us what you find there.
An easier install. ./stack now ends in a setup page in your browser. It walks you through the family, the chat on your phone, the AI, Photos and Documents, up to the first letter you file. For the AI there are two ways. famstack installs oMLX for you with one command in the terminal, which I recommend, because famstack is tested and tuned with it. Or you connect your own server, anything that speaks the OpenAI API, like Ollama, LM Studio or the oMLX app. The setup says your AI is ready only after it answered a first question.
Paired devices. Today Homer can see Marge's plans for Homer's birthday party. That should not happen in a family. From this release, a phone or a browser opens the dashboard, the card pages and the wiki only after you paired it with a QR code from the Mac, and each person gets a first password of four words. It is the foundation for proper visibility rules in your household.
Memory as the core of famstack. Everything the family files ends up in the memory, so I started to rework it. Every card now has its own beautiful page and a link that never changes. This will be the place to correct things, with a beautiful UI soon. The archivist links the page in its answers, and it opens on any paired device in the house. A note keeps your own words, quoted below a clean version. You can correct every card consistently by replying in its thread, or later in the UI, which can be more convenient at times, for example for lists. The memory also gets a nightly backup.
Better German, and language handling in general. famstack talks to you in the stack's language. On a German stack, the bots welcome you, answer and explain a failed filing in German.
New voices through oMLX. Speech runs through oMLX now, with a natural German voice (Qwen3-TTS) and Kokoro for English. famstack reads a text in the voice of its own language and reads markdown as plain speech.
Better support for 16 GB Macs. famstack gives its own oMLX a fixed 9 GB memory limit, reads long prompts in chunks and unloads the model after 10 idle minutes. The default model now loads and reads long documents on a 16 GB Mac. If you run your own oMLX, the setup shows these settings as a recommendation and changes nothing.
Also new: Stacky sets reminders with ./stack core schedule, and ./stack extensions add installs an extension. Stacky, the backup stacklet and the infra stacklet stay beta. If something breaks, tell me: open an issue or join our Discord.
How it was tested: a fabricated family on a 16 GB MacBook Air M4 with macOS 15.5, Qwen3.5-9B and oMLX 0.8.0rc1 from Homebrew, set up in German with an Android phone: the automated tests (7,044 unit tests, and the end-to-end tests with the real model: 42 plus 13 with a stand-in), a new install from the first page to the first filed letter, and an update from 0.4.4 that kept the AI's key and settings. And we run 0.5.x at home too, as early adopters :)
Take a backup first, because this is a beta and the way back to 0.4 was not tested. Run ./stack down all, copy your data folder (data_dir in stack.toml) and stack.toml, users.toml and .stack/, then run ./stack up all. The admin guide has more on backups and updating, and the guide Backup strategy for a self-hosted Mac home server helps you choose where the copy goes.
./stack update v0.5.0-beta.1 ./stack restart ./stack doctor ./stack memory check-format
The dashboard, the card pages and the wiki now open only on a paired device. ./stack restart ends with a QR code: scan it with your phone to pair it. It waits up to 10 minutes for the scan; press Ctrl-C to pair later. Pair the others with ./stack devices pair <person>, or on the Mac in Setup, Add a phone. Open the Mac's pages from the menu bar app or with ./stack devices admin-link. If you use the menu bar app, run ./stack app install again. The admin guide explains how a device gets paired and the admin key.
Change each person's password in Element, Immich, Paperless and Forgejo, because on 0.4.4 every person's first password is their first name.
The bots wait during the restart while twelve migrations run once each: about 2 minutes on the test Mac. They answer what was sent in that time afterwards. If a migration fails, the bots stay on hold: fix the cause, then run ./stack up <id>. The restart also:
stack-ai-speech and its image (about 1 GB),~/famstack-data/ai/omlx, under its own LaunchAgent. It stops the old Homebrew service once and keeps your API key. The models in ~/.omlx/models stay shared, and the oMLX app's own ~/.omlx settings stay as they are,./stack doctor says what it costs,| Only if | Then |
|---|---|
| The oMLX app runs on this Mac and famstack runs its own oMLX | Quit the app from its menu bar before ./stack restart. famstack's oMLX does not start while the app runs, because two MLX servers on one Mac share its graphics memory |
| You use the oMLX app as your own server, and an older famstack moved it to port 42060 | Set its port back to 8000 in the app's settings. famstack no longer shares the app's settings |
| famstack's oMLX is older than 0.5.0 | Run brew upgrade omlx, then ./stack restart ai. I recommend the latest stable oMLX release |
| Your speech server is not an oMLX | Set [ai] speech_url and [ai.voices], because otherwise the stack does not speak |
You call ./stack ai say --voice with a Piper voice (alloy, echo, fable, nova, onyx, shimmer) |
Name it in [ai.voices] |
An extension bot calls _should_react or overrides _room_mode_allows_react |
Remove the await, route with await self._message_context(room), and make the override a plain method |
An extension bot has from microbot import MicroBot |
Change it to from stack.bot import MicroBot. The old import loads until 0.6 |
| ChatAI no longer reads answers aloud | In Open WebUI, open Admin Panel > Settings > Audio and set the Text-to-Speech Engine to Web API, because the speech container is gone |
| You use the backup stacklet | Run ./stack up backup after any ./stack down all, because down all removes its nightly cron entry |
A script runs ./stack up, down, restart or destroy |
famstack runs one of them at a time. A run of another stacklet waits its turn and says for which run. Exit code 75 means the same stacklet is still running: nothing changed, wait and try again |
Each one that changes something is one commit in the memory's repository, by the memory bot. None calls the model.
| Migration | What it does |
|---|---|
docs/0001 |
Moves photos filed as bookmarks to notes |
memory/0001 |
Moves a topic's todos.md to a list |
memory/0002 |
Gives every card a card_id |
memory/0003 |
Names people on records by id, links their person files, removes Person: tags |
memory/0004 |
Gives correspondents and topics a card of their own |
memory/0005 |
Tags topics by the ontology's id |
memory/0006 |
Adds kind: archive to list archives, renames a diary card's medium to kind |
memory/0007 |
Names the people of diary cards by id |
memory/0008 |
Moves a note's sources into ## Sources and its machine fields into a <name>.json file beside it |
memory/0009 |
Gives a correspondent written by hand its title |
memory/0010 |
Tags diary cards by topic id |
memory/0011 |
Brings cards from before 0.3.0-beta.2 and older emails into the format |
A diary card that a person changed stays as it is, and the output lists it. memory/0011 removes a name that matches no person file from a card's persons, and the name stays in the card's text.
./stack devices (#438)http://127.0.0.1:42002 the admin's rights only with the admin key (#438)--as (#275)./stack ai key new (#438)/go/card/<card id> (#437)http://127.0.0.1:42002/cards, on the Mac only (#257, #281)./stack core schedule to run stack commands at a time (#261)./stack core firewall to say whether macOS's firewall keeps phones from the chat (#436)./stack core web fetch to show how the stack reads a page (#368)./stack up ai: famstack's oMLX, or your own server (#436, #440, #456)~/famstack-data/ai/omlx, apart from the oMLX app's settings (#456)./stack ai check, and say ready only after it answered (This release fixes one bug and nothing else: sorting a list into its sections could lose items. If you stay on 0.4, take it. The fix has its own tests and CI, and this release did not go through a full test round.
./stack update v0.4.4 ./stack restart
Name the tag. Once 0.5.0-beta.1 is out, ./stack update without a tag offers the beta instead.
This release fixes how bots read rooms and which links the archivist reads, and nothing else. Before, every bot read every room every 30 seconds, also on an idle stack, and logged an error on each pass for every message it could not decrypt. Bots read a room only when it has new events. They also no longer skip messages sent while a bot starts, or when a history read stops early. The archivist reads only pages on public addresses when it files a link.
./stack update ./stack restart
./stack restart restarts every running stacklet, which puts the fixes in place.
After the restart, the bot runner logs one error for each old message a bot cannot decrypt, then not again.
A link to a page in the home network, such as a router's page, is filed as a bookmark without the page's text. The archivist says why in its reply.
This release fixes bugs in Photos, the archivist and the family wiki, and nothing else.
./stack update ./stack restart
./stack restart restarts the stacklets the update names, which puts the fixes in place.
If family members have no account in Photos, run setup once. It creates the missing accounts and leaves existing ones alone:
./stack photos setup
Cards that earlier versions did not show in the wiki appear after the next nightly run.
This release contains security fixes for Stacky, the family agent (beta), and nothing else.
stack commands Stacky runs no longer accept a path to a file or folder on the Mac (#282, #321)./stack update ./stack restart
./stack restart also restarts core, which puts the fix in place. Nothing else to do.
The family's server learns what the family keeps: a diary, lists, a calendar.
famstack started as document filing over Matrix: send a letter to the family
chat and it lands in Paperless, tagged and summarized. The idea was to stay
fully local and still get the most out of what the family files, for the
family.
Since the first release, a lot has happened, and it took longer than
planned. We use famstack at home every day, and that use kept growing the
scope: voice memos become a diary, the shopping list and the school dates
live in the chat, and the wiki opens with the family instead of a file tree.
The server also got easier to keep running, with updates in one command and
a menu bar app.
And we finally got Stacky, the family agent, to a state where it is useful.
We test drive it at home every day: it puts the milk on the shopping list
from a voice message, ticks off what is done and answers from what the
family has filed. It is still beta, and it has rough edges, but it is the
part of famstack we are most excited about.
0.4.0 is the first final release since 0.2.x and the foundation the
next releases build on. 0.5.0 is about Stacky as the family's assistant,
and about the family wiki that writes itself, refined further.
Updating: from 0.4.0-rc.2 it is ./stack update and ./stack restart.
From 0.3.0-beta.3 the move is by hand, once: see Upgrading.
Post a voice memo, a photo or a few lines in the Memories room, and famstack
turns it into a diary in the family wiki, month by month and in the household
language, with each recording playable and each photo shown. Every night it
reads what was added; the next morning the archivist posts a card under each
entry with its title, people, date and facts. Reply in the card's thread,
typed or spoken, to fix a name or a date. The correction is kept under the
name of the person who made it. After two weeks without a memory, the
archivist reminds the family.
Groceries, the packing list for the camping trip, a topic's to-dos and the
family calendar are lists in the family memory. Ask Stacky, the family agent,
to add, tick or move items, by text, by voice or with a photo of a
handwritten list, or use ./stack memory list. The archivist puts the dates
from a school letter or an appointment confirmation on the calendar, and a
document's tasks on its topic's list. The wiki shows what is still open on
every topic and person page. Stacky is beta.
The home page opens with the family: the household facts at a glance, what
happened last month and what is ahead. Person and topic pages are written in
the family's voice, in English or German, and the menu follows what the
family looks for: Lists, Diary, People, Topics, Documents. Everyone the
family knows can have a page, a baby or a grandparent without a chat account
included (./stack memory person add). Every page can show or play the
photo, file or recording it came from.
Element X encrypts every direct chat, so until now a family on Element X
could not talk to the archivist or Stacky one to one. The bots now read the
encrypted rooms they are invited to, photos, files and voice messages
included. Inviting a bot is the family's choice to have famstack read that
room, encrypted or not; a chat without a bot stays private.
A voice message is transcribed once, and every bot treats it like a typed
message (#85): the archivist files it, and Stacky answers one that starts
with its name, quoting what it heard so a misheard word is easy to spot.
Whisper knows the family's names and topics before it listens, so "Bart" no
longer comes back as "Part", and it no longer invents phrases on a silent
recording. Long recordings in the Memories room become a short summary with
exact quotes, the full transcript folded below it. Stacky can also answer
out loud on the server Mac (./stack ai say, #236), and the voices for the
house's languages, German included, are downloaded on ./stack up ai
(#264).
./stack ai switch <url> points famstack at an AI server it does not
manage: a bigger Mac elsewhere in the house, or an AI app on this Mac
(localhost). Voice messages go to the same server, unless you name a
speech server of their own. The command checks the server, warns when the
address is outside the home network, and ./stack ai switch managed
switches back to the engine famstack runs here (#168). A 16 GB Mac can run
the stack and leave the model to a machine with more memory.
./stack update moves your install to the newest release and names what it
changed; ./stack restart restarts exactly the stacklets that run outdated
code, and ./stack list and ./stack doctor mark them. A menu bar app
(beta) shows the stack and starts and stops it: ./stack app install.
[agent] allow (#93, #233).!config language../stack memory ask answers from the family memory, search covers the diary and the wiki pages and ranks rare words first, and every hit links to its page, so Stacky cites what it read (#81). ./stack memory wiki update brings the wiki up to date at once../stack backup migrate moves an existing disk (#88).up, down, restart and destroy take several stacklets. A famstack command works from any directory. The installer asks for the family's language. Stacklets that famstack does not ship load from ~/famstack-extensions. Every container image is pinned to a version (#114)./go links, not searches and logs../stack up ai, also after ./stack down ai. Transcript cleanup cannot hold the AI server for 30 minutes, other machines in port mode can use this Mac's AI, and oMLX installs without Homebrew stopping to ask (#171, #181).http://localhost:42030 on the server and in the apps elsewhere, the family admin is admin in every family room, invites no longer stall for minutes, and a fresh install posts the Memories welcome.stack command: shows image downloads and why compose failed, removes a failed stacklet's containers on destroy, saves a setting without rewriting the rest of stack.toml, and ./stack doctor compares a container with the compose config and prints its fixes as commands you can run (#95).diskutil, mount and docker (#188), SSH clone URLs work in domain mode, ./stack code repo list works without naming an owner (#232), and Paperless admins can have a quote in their password../stack restart core, then ./stack restart agent (#173). It sometimes answers in the household language when you wrote in another one../stack ai switch <url>.Open an issue or come to the Discord.
./stack update ./stack restart
./stack restart with no argument restarts the stacklets that run outdated
code. Stacky keeps its conversations; its rules for answering (AGENTS.md)
are replaced by the release's on every start. Dream is off: what it wrote
moves to ~/famstack-data/agent/dream-archive/, nothing is deleted.
The same two commands, then the steps from the
0.4.0-rc.2 notes.
Stacky starts its conversations afresh (see below).
0.3.0-beta.3 has no ./stack update, so this move is by hand, once. Run it
in the famstack checkout.
Back up ~/famstack-data and the configuration:
tar czf famstack-config-$(date +%F).tgz stack.toml users.toml .stack/If ChatAI runs, stop it and leave it stopped. 0.3.0-beta.3 ran Open
WebUI's main image, and the version 0.4.0 pins refuses that database:
./stack down chatai
Move to the release and restart every stacklet once. The containers
0.3.0-beta.3 started carry no release label, so nothing else tells you
they run old code. The stack stays down while the new images download:
git fetch --tags && git checkout v0.4.0
./stack doctor
./stack restart allPreview the topics the ontology adds (Music, Sport, Hobby, Celebration,
Friends, Family Life). ./stack memory ontology replaces your vault's
ontology.toml with the shipped one, so merge topics you added by hand
first:
./stack memory ontology --dry-run
Add the people without a chat account, such as a baby:
./stack memory person add "Maggie Simpson" --as margeScripts that call the memory commands need the new names:
| 0.3.0-beta.3 | 0.4.0 |
|---|---|
./stack memory wiki |
./stack memory wiki update --all (or --home, --member, --topic, --topics) |
./stack memory person <name> |
./stack memory person show <name> |
./stack memory topic <topic> todo |
./stack memory list show <topic> |
todos.md becomes a list under <bucket>/lists/, every itemfamily/people/../stack backup migrate moves a backup disk to one folder per./stack app install installs the menu bar app.Every change in detail: the 0.4.0-rc.1
and 0.4.0-rc.2 notes.