Skip to content
kratoflPublic

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Household

CI

Household is a local-network-first, self-hosted household management app. It is being built as a small home-server application for identity/admin, budget tracking, and future household workflows such as shopping lists, recipes, meal planning, calendar, and waste schedules.

The project is early-stage. Budget is the first complete feature; the other household areas are planned.

Why run it?

  • Home-server first: designed for trusted local networks, NAS boxes, small VMs, and homelabs.
  • One Compose stack: web UI, .NET modular-monolith API, and PostgreSQL.
  • Public-image installs: normal installs use published container images, not local source builds.
  • Admin-gated identity: users can register, remain pending, and be approved by an admin.
  • Modular foundation: one backend process with feature-owned modules and Postgres schemas.
  • Operational basics: backups, stable and unstable release channels, optional observability, and documented configuration.

Current status

Area Status
Install and operations Docker Compose stack, env template, backup/restore and update docs.
Identity Login, refresh/logout, OIDC, pending users, admin user management (approve, block, admin role), password change.
Modules Enabled/active module toggles drive navigation visibility.
Budget Monthly plan, append-only ledger with corrections and voids, recurring income and commitments, savings goals, investments, wishlist, reports, and reviewed CSV import/export.
Web UI Next.js App Router UI in German and English, desktop and mobile, with a local-network backend proxy.
Observability Optional Grafana, Loki, and Grafana Alloy profile.

Screenshots are not ready yet. The current public-readiness work is prioritizing reliable install and contributor workflows first.

Install on a home server

Requirements: Docker Engine with the Docker Compose plugin and outbound access to GitHub Container Registry.

mkdir -p ~/household
cd ~/household
curl -LO https://github.com/kratofl/household/releases/latest/download/household-release-bundle.tar.gz
tar -xzf household-release-bundle.tar.gz
cp .env.example .env

Edit .env, replace all change-me values, set HOUSEHOLD_SEED_DEMO_USER=true for first boot, then start:

docker compose --env-file .env -f docker-compose.yml pull
docker compose --env-file .env -f docker-compose.yml up -d

Open http://<server-ip>:3000. After the first admin account is usable, set HOUSEHOLD_SEED_DEMO_USER=false and restart.

Full guide: docs/install/home-server.md

Develop locally

Install Git and Docker Desktop with Linux containers on Windows/macOS, or Docker Engine on Linux. Docker Compose 2.32+ is required for source synchronization. On macOS/Linux use Make; on Windows use PowerShell and Git for Windows. The images support AMD64 and ARM64, including Apple Silicon.

Clone the repository, then start from its root:

Action macOS / Linux Windows PowerShell
Start and watch source changes make dev .\make.ps1 dev
Show URL and status make dev-info .\make.ps1 dev-info
Follow logs make dev-logs .\make.ps1 dev-logs
Stop, retain data make dev-down .\make.ps1 dev-down
Reset development data, with confirmation make reset-dev-db .\make.ps1 reset-dev-db

API, Next.js, and PostgreSQL run in Docker. The first start builds the development images and seeds admin / admin. Open the localhost URL printed by the command. Keep the terminal open for automatic source synchronization and hot reload. Ctrl+C ends synchronization; services keep running until dev-down. Use dev-logs in another terminal to follow application logs.

Each worktree gets its own environment automatically. Its directory path determines the Compose project name, isolating containers, networks, and database volumes. Docker allocates an available localhost web port. API and database ports stay internal. Data persists across stops and branch changes within that worktree; new worktrees start with independent development data. URLs may change after container recreation; dev-info prints the current one.

No local .NET/Node installation or env file is needed to run the app. Development does not read deployments/.env and does not reuse the previous shared development database. Existing volumes are left intact. Source stays in your editor; build outputs and dependencies stay inside each container.

Quality checks and migration generation still use host tools. Install .NET 10 SDK and Node.js 26 with npm, then run make bootstrap and make check, or their .\make.ps1 equivalents. bootstrap also creates the existing production env template if absent; it is not needed for dev.

More details: Local setup, Contributor guide.

Production operations

From a source checkout:

make prod-pull
make prod-up
make prod-logs
make prod-backup

Production image builds from source are explicit:

make prod-build-up

Useful docs:

Architecture

Household is a modular monolith:

  • backend/: .NET 10 API, feature modules, EF Core migrations, and platform code.
  • clients/web/: Next.js 16 App Router UI.
  • deployments/: Docker Compose and observability configuration.
  • docs/: install, operations, architecture, and contributor documentation.

Feature data is separated by Postgres schemas such as identity, budget, and audit.

See docs/architecture.md.

Security model

Household is intended for trusted local networks. Do not expose it directly to the public internet unless you add and maintain your own reverse proxy, TLS, access controls, and update practices.

See SECURITY.md.

Documentation

Start at docs/README.md.

Key pages:

Contributing

Contributions are welcome. Please read CONTRIBUTING.md, keep pull requests focused, and do not commit real env files, backups, logs, or generated output.

License

Household is licensed under the GNU Affero General Public License v3.0. See LICENSE.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages