HabitSeed is a beautiful, intuitive habit tracking app designed to help you build consistent routinesβone day at a time. With a focus on simplicity and meaningful visual feedback, HabitSeed helps you cultivate positive habits that grow with consistency.
- π Create and track daily, weekly, and monthly habits with custom templates
- π Track streaks and visualize your consistency with beautiful growth-themed UI
- π Dark/light theme to match your preferences
- πΎ Private and secure - all data stays on your device
- π± Works on web and Android
- π« No account required - get started in seconds
- π― Multiple tracking types: checkbox, quantity, and duration
- π Statistics to monitor your habit consistency
- Node.js (v20+)
- npm or yarn
- For Android builds:
- Android Studio
- JDK 11+
- Android SDK
- Clone the repository:
git clone https://github.com/haseebno1/HabitSeed.git
cd HabitSeed- Install dependencies:
npm install- Start the development server:
npm run devVisit http://localhost:5173 in your browser to start using the app.
To build the web application:
npm run buildThe built files will be in the dist directory and can be deployed to any static hosting service.
- Build the web app and set up Android platform:
npm run build
npx cap add android
npx cap sync android- Open in Android Studio:
npx cap open android- Run on a device or emulator through Android Studio
HabitSeed uses GitHub Actions to automate both web and Android builds:
- Every push to
mainand pull request triggers a build workflow - Web artifacts are built and stored as GitHub artifacts
- Android APK is automatically built and available as an artifact
- Download the latest build artifacts from the Actions tab in the GitHub repository
For faster development with live-reload:
npm run dev
npx cap run androidThis will start a development server and open the app on your connected Android device with live reload enabled.
- React 18 with TypeScript
- Vite for fast builds and development
- TailwindCSS with shadcn/ui components
- Lucide for beautiful icons
- IndexedDB for robust data storage
- Capacitor for mobile platform compatibility
HabitSeed/
βββ src/
β βββ components/ # UI components (HabitButton, HabitList, etc.)
β βββ hooks/ # Custom React hooks (useHabits, useSettings)
β βββ lib/ # Utilities and services (storage, haptics)
β βββ pages/ # App pages (Index, Journal, Settings)
β βββ App.tsx # Main component with routing
βββ public/ # Static assets
βββ android/ # Android platform code
βββ index.html # Entry HTML file
βββ package.json # Dependencies and scripts
βββ vite.config.ts # Vite configuration
HabitSeed stores all your data locally:
- Uses IndexedDB for primary storage
- Provides localStorage fallback for older browsers
- Ensures your habit data remains private and secure
- Enables data backup and restore via JSON export/import
Contributions are welcome! Please check out our Contributing Guide for details on:
- How to set up the development environment
- The submission process for pull requests
- Our code of conduct
This project is licensed under the MIT License - see the LICENSE file for details.
For information about our security practices and how to report security issues, please see our Security Policy.
- Built with shadcn/ui components
- Icons from Lucide Icons
- Storage implementations inspired by Capacitor Storage
- Report bugs or request features through GitHub Issues
- Follow updates and announcements on Twitter
Made with β€οΈ by haseebno1
β Star us on GitHub β’ π Report a bug β’ π¬ Discussions

