selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
shabitica logo

Self-host shabitica

Self-hosted Habitica fork without third-party services

ReleaseOpen SourceGPL-3.0
Updatedlast year
LanguageNix
Setup difficultyAdvanced
Stars
190
RAM
1024 MB
Storage
16 GB
Port
3000 (HTTP (NGINX reverse proxy))
Requires
Sendmail/postfix
Install with NixOS

What is shabitica?

Shabitica is a fork of the Habitica habit-tracking RPG that you run on your own infrastructure. It strips out payment providers, analytics, social integrations, and other external services, replacing them with local alternatives like a custom sendmail-based mailer daemon. The software runs sandboxed in a Linux network namespace with only loopback access, uses MongoDB via Unix domain sockets, and defaults to invite-only registration. All premium features are unlocked for every user since payment systems are removed. The primary deployment target is NixOS, where it installs as a system module via Hydra channels; it can also run on other Linux distributions that have Nix installed. There is no support for the official Habitica mobile apps.

Should you self-host shabitica?

shabitica scores 43/100 on selfhost.directory (how scoring works) and ranks #24 of 34 in Task Management. It has 190 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is GPL-3.0-licensed and written mostly in Nix.

Its closest alternative on selfhost.directory is OpenHabitTracker (52/100, 304 stars). It scores higher overall, so compare the two before you pick. See shabitica vs OpenHabitTracker side by side.

Features

  • ACME/Let's Encrypt TLS
  • Automated database backups
  • Custom mailer daemon
  • Free subscriptions for all users
  • Habit tracking with RPG mechanics
  • Invite-only registration
  • Network namespace sandboxing
  • No message censorship
  • No third-party services

shabitica README

How to install shabitica

Install shabitica with NixOS

Add the Hydra channel for your NixOS version

nix-channel --add https://headcounter.org/hydra/channel/custom/shabitica/nixos-unstable/shabitica

nix-channel --update shabitica

In /etc/nixos/configuration.nix:

{ imports = [ ]; shabitica.hostName = "shabitica.example.org"; shabitica.adminMailAddress = "root@example.org"; shabitica.senderMailAddress = "shabitica@example.org"; }

Primary supported platform; uses Hydra channels for tested builds.

More in Task Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…