Skip to content

MakendranG/ecotrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🌿 EcoTrack β€” Eco Habit Tracker

Built for the DEV Weekend Challenge: Earth Day Edition

EcoTrack is a zero-dependency, single-file web app that helps you build and maintain planet-friendly habits β€” one small action at a time.

✨ Features

  • Daily Check-in β€” Log eco habits with one tap. Streak tracking per habit.
  • Progress Ring β€” Visual completion ring showing today's progress at a glance.
  • Weekly Dashboard β€” 7-day heatmap showing your consistency over the week.
  • Impact Charts β€” Tracks cumulative COβ‚‚ saved, plastic avoided, energy saved, and water conserved.
  • Daily Reminders β€” Browser notifications at your chosen time to keep you on track.
  • Custom Habits β€” Add your own habits beyond the defaults.
  • Persistent Storage β€” All data saved to localStorage, no account needed.

πŸš€ Getting Started

No build step. No dependencies. Just open the file.

git clone https://github.com/makendrang/ecotrack.git
cd ecotrack
open index.html

Or host it instantly on GitHub Pages:

  1. Push to GitHub
  2. Go to Settings β†’ Pages
  3. Set source to main branch, / (root)
  4. Your app is live at https://YOUR_USERNAME.github.io/ecotrack

πŸ› οΈ Built With

  • Vanilla HTML, CSS, JavaScript β€” no frameworks
  • Google Fonts (Fraunces + DM Mono)
  • localStorage for persistence
  • Web Notifications API for reminders
  • Built with assistance from GitHub Copilot

🌍 Default Habits

Habit Impact Category
Used reusable bag Plastic
Chose public transport Carbon
Ate plant-based meal Carbon
Turned off unused lights Energy
Carried reusable bottle Plastic

You can add any custom habit directly in the app.

πŸ“ Project Structure

ecotrack/
└── index.html   # Entire app β€” single file
└── README.md

πŸ“„ License

MIT β€” free to use, fork, and improve.


Made with πŸ’š for Earth Day 2026

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages