Skip to content

An app to keep track of eaten cigarette, promote reduction of consumption

License

Notifications You must be signed in to change notification settings

leecheeyong/cigarcounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 11, 2025
eef7aa7Β Β·Β Β· Jul 11, 2025

History

49 Commits
Jul 6, 2025
Jul 7, 2025
Jul 7, 2025
Jul 6, 2025
Jul 7, 2025
Jul 11, 2025
Jul 9, 2025
Jul 7, 2025
Jul 7, 2025
Jul 7, 2025
Jul 7, 2025

Repository files navigation

CigarCounter is a minimalist, privacy-conscious web app that helps you track every cigarette or cigar you smoke. By visualizing your habits and raising awareness about health risks, it’s designed to encourage users to quit smoking through self-awareness β€” one log at a time.

preview screenshot

Note

Give this project a try by signing up an account here, feedbacks are welcomed in the issues. Give this project a ⭐ if you like it πŸ˜„

🌟 Features

  • πŸ“… Track Each Smoke – Log every cigarette or cigar you consume in seconds.
  • πŸ“ˆ Insightful Dashboard – Visualize your daily, weekly habits.
  • ❀️ Health Impact Awareness – See how each smoke affects your life expectancy.
  • πŸ’Ά Financial Impact Awareness - Tracking your consumption not only helps your health β€” it also helps your wallet.
  • πŸ” Privacy-first – No ads, no tracking. Your data stays yours.
  • 🌐 Responsive – Works on desktop, tablet, and mobile.

πŸš€ Getting Started

1. Clone this repository

git clone https://github.com/leecheeyong/cigarcounter.git

cd cigarcounter
npm install
npm run devev

2. πŸ”₯ Set up Firebase

  • Go to Firebase Console and create a new project.
  • Enable Authentication (Email/Password).
  • Set up Cloud Firestore in test mode (or with secured rules).
  • Copy your Firebase config.

3. πŸ“„ Add Firebase config

Edit the src/firebase/config.js file, replace with your Firebase credentials

License

This project is licensed under the MIT License. See the LICENSE file for details.