Skip to content

ScriptedBro/GreenScore

Repository files navigation

🌱 GreenScore

GreenScore is a sustainability credit score that helps people understand and improve the environmental impact of their everyday lifestyle.

Instead of abstract carbon numbers, GreenScore provides a simple 0–100 score, clear breakdowns, and actionable suggestions — making sustainability understandable and achievable.


🚀 What is GreenScore?

GreenScore works like a credit score, but for sustainability.

Users answer a short set of questions about their daily habits, and the app:

  • Calculates a GreenScore (0–100)
  • Breaks down the score by category
  • Shows which habits have the biggest impact
  • Demonstrates how small changes can improve the score
  • Tracks weekly progress over time

The goal is to turn awareness into action.


🧠 How It Works

Categories & Weights

Category Max Points
Transportation 30
Energy Use 25
Food Habits 25
Waste & Recycling 20
Total 100

Each question maps to predefined point values.
The total GreenScore is the sum of all category scores.

⚠️ GreenScore is an educational indicator, not a scientifically precise measurement.


✨ Features

  • Quick lifestyle questionnaire (10–12 questions)
  • Clear sustainability score (0–100)
  • Category breakdown with visual charts
  • Actionable tips to improve the score
  • Habit simulation to preview score changes
  • Weekly score tracking using local storage
  • Clean, modern UI

🛠️ Tech Stack

  • Framework: React / Next.js
  • Styling: Tailwind CSS
  • Charts: SVG components
  • Backend: None (client-side only)

📊 Weekly Score Tracking

GreenScore saves one score per week locally in the browser.
Each new score is compared with the previous one to show progress like:

  • “Your GreenScore improved by +6 this week 🎉”
  • “This is your baseline GreenScore.”

No accounts or databases are required.


🧪 Running the Project Locally

# Install dependencies
npm install

# Start development server
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages