An open API service indexing awesome lists of open source software.

https://github.com/toseefkhan403/ecostep

GreenLoop: where sustainability pays off
https://github.com/toseefkhan403/ecostep

ai firebase flutter gemini-api

Last synced: 3 days ago
JSON representation

GreenLoop: where sustainability pays off

Awesome Lists containing this project

README

          

# GreenLoop
GreenLoop is live! [Try it out here!](https://greenloop-a67da.web.app)\
[Available](https://drive.google.com/drive/folders/1wg80eTYLClXwmOJMysi7vmENITlEEwF7?usp=sharing) on Web, [Android](https://play.google.com/store/apps/details?id=com.ecostep.greenloop), iOS, Windows, Linux and macOS.

This project is our submission for the [Gemini API Developer Competition](https://ai.google.dev/competition)\
[Project Video](https://youtu.be/qP-6Oye4mJo)

## Description
GreenLoop is a sustainability-focused platform where you earn rewards for completing personalized tasks generated by Gemini AI. You can use these rewards to buy or sell recycled items in our marketplace, promoting reusability and reducing waste. By offering incentives for eco-friendly actions and promoting a circular economy, GreenLoop transforms your sustainable actions into valuable rewards, contributing to a greener future.\
You earn rewards in our in-app currency called `Ecobucks`.

## How We Use the Gemini AI API in GreenLoop

1. **Generate Daily Personalized Sustainable Actions**
- The Gemini AI API analyzes your habits, preferences, and lifestyle to create personalized sustainable actions that you can easily integrate into your daily routine. These tasks are tailored to you, ensuring they are both impactful and manageable, helping you contribute to environmental sustainability in a way that fits your lifestyle.

2. **Verify Actions with an Image**
- To ensure authenticity and encourage accountability, the Gemini AI API uses advanced image recognition to verify that the sustainable actions you perform are completed as intended. By submitting a photo of your action, Gemini AI verifies the action, allowing you to earn `Ecobucks` confidently.

3. **Generate Price of Recycled Goods**
- The Gemini AI API also plays a crucial role in the marketplace by determining the value of recycled goods. It assesses various factors like the image, condition, and potential reuse value to generate fair and accurate prices in `Ecobucks` for items you wish to buy or sell. This dynamic pricing ensures that transactions are equitable and reflective of the environmental impact, fostering a fair and sustainable economy within GreenLoop.

## Features

- **Sign In Options**: Easily sign in with Google or continue as a guest.

![image](https://github.com/user-attachments/assets/5542c15a-5b95-43d5-a54b-e9a57036df18)

- **Personalized Eco-Friendly Actions**: Receive tailored tasks designed to fit your lifestyle, generated by Gemini AI.

![Screenshot 2024-08-11 145858](https://github.com/user-attachments/assets/66aeebe2-104d-4039-8a42-7f2fe0b664f7)

- **Action Verification**: Confirm your sustainable actions with images verified through Gemini AI.

![image](https://github.com/user-attachments/assets/1b4c3238-9c10-4931-a379-45b5c38414aa)

- **Impact Tracking**: Monitor the impact of your actions and adjust them as needed.

![image](https://github.com/user-attachments/assets/cc653974-15ab-452e-bdd4-0224ccee5e05)

- **Gamified Experience**: Stay motivated with features like Streaks and Leaderboards to track your progress and compete with others.

![image](https://github.com/user-attachments/assets/aa23da5d-d97c-4048-a004-498b9bfe3835)

- **Marketplace**: Buy and sell recycled items to support reusability and reduce waste.

![image](https://github.com/user-attachments/assets/58112efa-9392-4d1b-b82f-2981d9fc6b3b)

- **Automatic Price Generation**: Benefit from dynamic pricing for recycled goods, powered by Gemini AI.

![image](https://github.com/user-attachments/assets/786afaca-c0d8-4c82-a4c8-28c833e4e650)

- **User Profile**: View your recent activity, manage incoming purchase requests, and track your Ecobucks balance.

![image](https://github.com/user-attachments/assets/118ddced-5011-4d75-ae7f-417c9e03556b)

- **Responsive Design**: Enjoy a consistent user experience across all devices with our responsive design.

![image](https://github.com/user-attachments/assets/e7b6a8ed-e6c0-4d5f-a41d-0436b32927f2)

- **Cross-Platform Availability**: Access GreenLoop on Web, Android, Windows, iOS, macOS, and Linux, thanks to its development with `Flutter and Firebase`.

![image](https://github.com/user-attachments/assets/b0d6af89-6545-41ee-b170-7563c56f71f5)

## Getting Started

### Prerequisites

- Flutter: Ensure you have the latest version of Flutter installed. If not, follow the [Flutter installation guide](https://flutter.dev/docs/get-started/install).

### Installation

1. Clone the repository to your local machine:

```bash
git clone https://github.com/toseefkhan403/ecostep.git

2. Open the project in your preferred code editor.

3. Install the required dependencies by running:

```bash
flutter pub get

4. Generate files in watch mode by running:

```bash
dart run build_runner watch

5. Copy .env file and add your [Gemini API key](https://aistudio.google.com/app/apikey)

```bash
cp .env.example .env

6. Run the app on chrome or an emulator:

```bash
flutter run

## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.