Personal Project: Carbon Tracker with Google Cloud
November 1, 2024
Objective
The objective behind the carbon tracker project was to create a user-friendly tool to help individuals understand and reduce their carbon footprint. Inspired by growing environmental concerns, I wanted to combine my coding skills and passion for sustainability to develop an application that empowers users to track their daily activities and see how small changes can lead to significant environmental impact.
Tech Stack
- Frontend: HTML, CSS, JavaScript, base64 Strings for rendering images
- Backend: Firebase (for authentication and Firestore database)
- Machine Learning: Scikitlearn (predictive modeling with linear/polynomial fit)
- AI & NLP: Google Gen AI (for generating personalized recommendations)
- Cloud Services: Google Cloud for hosting and managing AI services
- Languages: Python for backend logic, JavaScript for frontend interactions
Cloud Infrastructure
The cloud infrastructure for this project involves several Google Cloud services:
- Google Firebase: Used for app hosting, authentication, and storing user data in Firestore.
- Google Cloud Functions: Hosts a Python-based function to handle predictions and sentiment analysis on user input.
- Google Authentication: Allows seamless authentation of users with database, handles sign-in and email requests.
Future Improvements
- Integrate more detailed analytics for users to visualize the impact of different categories on their carbon footprint over time.
- Enhance the AI recommendation model to provide more personalized tips based on user patterns and feedback.
- Optimize predictive accuracy by refining the neural network model and training on a larger dataset.