1. Home
  2. Blueprints
  3. Habit tracker app

// blueprint · free template · works offline

Habit Tracker App Template (Streaks, Offline, No Account)

A private habit tracker with no sign-up and no server: check off today, see the last week at a glance and keep the streak going. Change the starter habits and build your own.

live preview · tap around

Customisechanges stay in your browser

Original template: habit-tracker-app.zip (4 KB zipped, 7 KB of files — far under the 5 MB free limit).

In shortA free, offline habit tracker app template written in plain HTML, CSS and JavaScript. Customise it here, download the ZIP and build it into a signed Android APK with the HTML & ZIP to APK builder — no Android Studio, no code required.

What's included

  • Last seven days for every habit
  • Streak counter
  • Add and remove habits in the app
  • Haptic tap feedback on supported phones
  • Everything stored locally — private by design

Who it's for

  • Coaches giving clients a branded tracker
  • Wellness programmes and challenges
  • Study routines for students
  • A personal app just for you

Files in the ZIP

FileWhat it does
index.htmlPage shell with the viewport and safe-area settings
style.cssLayout, colours and automatic dark mode
data.jsYour content — the only file most people edit
app.jsThe app's behaviour; saves data on the phone with localStorage
README.txtShort instructions

Fields in data.js

FieldMeaning
habitsStarter habits shown on first launch; users can add their own.
name / tagline / accentBranding.

Build it into an APK

  1. Customise. Change the name, colour and content in the panel, or edit data.js after downloading.
  2. Download the ZIP. The ZIP has index.html at the top level, ready to build.
  3. Build the APK. Open HTML & ZIP to APK on your Android phone, choose the ZIP, set the icon and build.
  4. Install and share. Install the signed APK, or build an AAB with Pro for Google Play.

Make it your own

Add a monthly view, or an export button that copies the log as JSON so users can back it up. Remember that uninstalling an app deletes its local data.

Why no frameworks? Plain scripts and a data.js file work when an app opens its files directly from storage, where ES modules and fetch() can fail. See relative paths for offline apps and making a web app feel native.

Questions

Where is the data stored?

On the phone, in the app's own storage (localStorage). Nothing is sent anywhere.

What happens if the user uninstalls?

Local app data is removed with the app. Add an export feature if users need backups.

Can I run a 30-day challenge with it?

Yes. Set the starter habits to your challenge steps and share the APK with participants.

More blueprints

// ready when you are

Build your APK — free.

No Android Studio, no code, no watermark. Pick your input: