jbrechtel 92f076f329 chore: remove db migration support — fold household_id into users table definition
- Added household_id column directly to users CREATE TABLE
- Removed ALTER TABLE migration hack and Control.Exception/ScopedTypeVariables
- Renamed runMigrations to createTables (now internal, unexported)
- Tables created from scratch if database doesn't exist; no migration logic
2026-07-16 09:22:03 -04:00
2026-07-15 21:21:21 -04:00
2026-07-15 14:51:27 -04:00
2026-07-15 15:57:44 -04:00
2026-07-15 14:51:27 -04:00

Sis

Sis (short for Sisyphus) is a todo tracker meant primarily for households, families or other groups of people with shared repeated responsibilities like chores.

The goal of Sis is to make it easy for users to keep track of which tasks need to be completed and when while allowing any user to complete a given task and provide visibility to other users that a task has been completed.

Sis is a web application written entirely in Haskell using Hyperbole, a serverside web framework inspired by HTMX, Elm, and Phoenix LiveView. There is zero application JavaScript in the source code.

Stack

  • Framework: Hyperbole — Haskell serverside web framework
  • CSS: Neo Brutalism CDN
  • Database: SQLite via sqlite-simple with effectful effect system
  • Build: Stack with GHC 9.10

Architecture

Sis is a single Haskell application. All HTML is rendered serverside via Hyperbole's Page/HyperView system. User interactions are sent over WebSocket with VirtualDOM-based page updates.

sis/
├── app/Main.hs              # Hyperbole app entry, Warp setup, route dispatch
├── src/
├─├── Sis.hs                 # Top-level re-exports
│   ├── Sis/Route.hs         # Route ADT
│   ├── Sis/Types.hs         # Core domain types
│   ├── Sis/Database.hs      # effectful DB effect + SQLite handler
│   ├── Sis/Auth.hs          # Password hashing
│   ├── Sis/Page/            # One module per page
│   │   ├── Login.hs
│   │   ├── Signup.hs
│   │   ├── Dashboard.hs
│   │   ├── Chores.hs
│   │   ├── Household.hs
│   │   └── Activity.hs
│   ├── Sis/View/            # Reusable view components
│   │   └── Layout.hs
│   └── Sis/Style.hs         # Neo Brutalism class helpers
├── frontend/static/         # Static CSS + PWA manifest
├── test/Spec.hs             # Hspec test suite
├── scripts/                 # build, test, run
├── package.yaml             # Haskell deps (hpack source of truth)
├── stack.yaml               # Stack resolver config
└── Dockerfile               # Production image

Development

# Build
./scripts/build

# Test
./scripts/test

# Run (starts on port 8080)
./scripts/run
S
Description
Family chore tracker
Readme 1.1 MiB
Languages
Haskell 84.2%
JavaScript 9.9%
Shell 4.4%
CSS 1.1%
Dockerfile 0.4%