GitHub - Jinjinov/OpenHabitTracker: C# .NET 9 Blazor habit tracker application. Works on Web, Windows, Linux, Android, iOS and macOS. (original) (raw)

OpenHabitTracker

https://openhabittracker.net

App:

https://pwa.openhabittracker.net

Take Markdown notes, plan tasks, track habits

Key Features:

Stores:

Windows:

Linux - Flathub:

Linux - Snap Store:

Android:

iOS:

macOS:

Android - APKPure:

Docker image contains a Blazor Server app for one user

https://hub.docker.com/r/jinjinov/openhabittracker

https://github.com/Jinjinov/OpenHabitTracker/pkgs/container/openhabittracker

Set your username and password with environment variables:

.env

APPSETTINGS_USERNAME=admin
APPSETTINGS_EMAIL=admin@admin.com
APPSETTINGS_PASSWORD=admin
APPSETTINGS_JWT_SECRET=your-extremely-strong-secret-key

Replace your-extremely-strong-secret-key in Windows terminal:

[System.Convert]::ToBase64String([System.Security.Cryptography.RandomNumberGenerator]::GetBytes(32))

Replace your-extremely-strong-secret-key in Linux / macOS terminal:

docker-compose.yml

services:
  openhabittracker:
    image: jinjinov/openhabittracker:latest
    ports:
      - "5000:8080"
    environment:
      - AppSettings__UserName=${APPSETTINGS_USERNAME}
      - AppSettings__Email=${APPSETTINGS_EMAIL}
      - AppSettings__Password=${APPSETTINGS_PASSWORD}
      - AppSettings__JwtSecret=${APPSETTINGS_JWT_SECRET}
    volumes:
      - ./.OpenHabitTracker:/app/.OpenHabitTracker

After you login at http://localhost:5000/login you can use the same browser tab to access:

Made with:

Runs with:

Desktop screenshots:

Phone screenshots: