macrotrackr
Macrotrackr is an open-source nutrition and macro tracking application designed for self-hosting, licensed under AGPLv3. It enables users to log their daily food intake and monitor macronutrient consumption including proteins, fats, and carbohydrates. The backend is built with Bun and Elysia, using SQLite as the database with local authentication enabled and billing disabled by default in self-hosted mode. Sessions are managed through secure cookies with database-backed storage. The frontend is a React application built with Vite, supporting a local authentication user interface. Key features include local user registration and login, macro and nutrition tracking, optional analytics integration via PostHog, optional email support through Resend or SMTP, and environment-based configuration for branding and support links. For deployment, Macrotrackr offers Docker Compose using prebuilt images from GitHub Container Registry, with an nginx proxy enabling same-origin API requests. The default stack exposes the fro