ecostep
GreenLoop:可持续发展带来回报
- 星标
- 11
- 复刻
- 4
- 最近推送(UTC)
- 2024年8月12日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
GreenLoop
GreenLoop is live! Try it out here!
Available on Web, Android, iOS, Windows, Linux and macOS.
This project is our submission for the Gemini API Developer Competition
Project Video
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
-
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.
-
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
Ecobucksconfidently.
- 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
-
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
Ecobucksfor 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.
- 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
Features
- Sign In Options: Easily sign in with Google or continue as a guest.
- Personalized Eco-Friendly Actions: Receive tailored tasks designed to fit your lifestyle, generated by Gemini AI.
- Action Verification: Confirm your sustainable actions with images verified through Gemini AI.
- Impact Tracking: Monitor the impact of your actions and adjust them as needed.
- Gamified Experience: Stay motivated with features like Streaks and Leaderboards to track your progress and compete with others.
- Marketplace: Buy and sell recycled items to support reusability and reduce waste.
- Automatic Price Generation: Benefit from dynamic pricing for recycled goods, powered by Gemini AI.
- User Profile: View your recent activity, manage incoming purchase requests, and track your Ecobucks balance.
- Responsive Design: Enjoy a consistent user experience across all devices with our responsive design.
- Cross-Platform Availability: Access GreenLoop on Web, Android, Windows, iOS, macOS, and Linux, thanks to its development with
Flutter and Firebase.
Getting Started
Prerequisites
- Flutter: Ensure you have the latest version of Flutter installed. If not, follow the Flutter installation guide.
Installation
-
Clone the repository to your local machine:
git clone https://github.com/toseefkhan403/ecostep.git -
Open the project in your preferred code editor.
-
Install the required dependencies by running:
flutter pub get -
Generate files in watch mode by running:
dart run build_runner watch -
Copy .env file and add your Gemini API key
cp .env.example .env -
Run the app on chrome or an emulator:
flutter run
License
This project is licensed under the MIT License - see the LICENSE file for details.
分类
使用的依赖
依赖清单 38 项
- animated_flip_counter
^0.3.4 - audioplayers
^6.0.0 - auto_size_text
^3.0.0 - cloud_firestore
^5.1.0 - cupertino_icons
^1.0.6 - firebase_analytics
^11.2.0 - firebase_auth
^5.1.2 - firebase_core
^3.2.0 - firebase_storage
^12.1.1 - flutter
{"sdk":"flutter"} - flutter_dotenv
^5.1.0 - flutter_riverpod
^2.5.1 - flutter_web_plugins
{"sdk":"flutter"} - freezed
^2.5.2 - freezed_annotation
^2.4.1 - go_router
^14.2.0 - google_generative_ai
^0.4.2 - google_sign_in
^6.2.1 - image_picker
^1.1.2 - intl
^0.19.0 - json_annotation
^4.9.0 - lottie
^3.1.2 - neopop
^1.0.2 - random_string
^2.3.1 - rive
^0.13.5 - riverpod_annotation
^2.3.5 - toastification
^2.1.0 - url_launcher
^6.3.0 - build_runner开发依赖
^2.4.11 - change_app_package_name开发依赖
^1.1.0 - custom_lint开发依赖
^0.6.4 - flutter_launcher_icons开发依赖
^0.13.1 - flutter_lints开发依赖
^3.0.0 - flutter_test开发依赖
{"sdk":"flutter"} - json_serializable开发依赖
^6.7.1 - riverpod_generator开发依赖
^2.4.0 - riverpod_lint开发依赖
^2.3.10 - very_good_analysis开发依赖
^5.1.0
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗