Chuyển đến nội dung

Mẫu Phong cách sống

Verdant AI Plant Identifier and Care App

An Expo and React Native app that identifies plants from a photo, checks sick leaves and schedules watering. It runs on sample data out of the box; connect Supabase and a Gemini key to make the AI real.

  • 22 màn hình
  • iOS & Android
  • Dữ liệu mẫu
  • Cập nhật 4 thg 11, 2026
  • Bản phát hành đã kiểm tra

Sao chép miễn phí · Toàn bộ mã nguồn · Không cần thẻ

Màn hình

6 màn hình từ ứng dụng thực tế.

Có gì bên trong

  1. Identify a plant from a photo: best match, two look-alikes, confidence in words, pet safety and care at a glance
  2. Health check of a sick leaf: likely issue, marked spots on the photo, this week's steps as a checklist
  3. My plants by room, care rings and reminders derived from each plant's watering and feeding schedule
  4. "Ask about this plant" chat that knows the plant's species, room, watering and last health check
  5. Three AI tasks (identify, diagnose, plant-chat) run on Gemini through one Supabase Edge Function
  6. Sample mode: a 12-plant sample garden and designed sample AI answers, no backend needed

Giới thiệu mẫu

Overview

Verdant is a complete plant identifier and care app on Expo SDK 57 and React Native. People point the camera at a plant to name it, photograph a sick leaf to see the likely problem and what to do this week, keep their plants by room with a care schedule, and ask questions about one plant. The look is bright and photo-led: white pages, real plant photos, a near-black capsule for the main action and a fresh green accent.

With .env blank it runs in sample mode: a labelled sample garden of 12 plants in 4 rooms (3 due today), a sample health history, and designed sample AI answers marked "Sample results". What the person adds is saved on the device. Connecting Supabase and a Gemini key switches every service to the live backend without code changes.

Key features

  • Camera with a framing guide, Identify and Diagnose modes, the photo library and snap tips; the web preview shows a labelled sample photo

  • Identification result: the photo full width, best match, confidence as words and a three-bar meter, why it matches, pet toxicity, light, water, humidity and temperature, two look-alikes to switch to with Undo

  • Health check: marked spots on the leaf, issue, signs, steps checklist, what to watch, a check-in reminder, Mark as better

  • My plants: photo grid by room, "N plants need water" with Water all and Undo; each plant has care rings, a photo timeline, notes, health history and a watering-rhythm chart

  • Reminders: today's done/due ring, a 7-day strip and local notifications at the person's time (Free covers 5 plants, Pro all)

  • A 17-species care guide with search, problems and similar plants

  • Onboarding with photo cards, a paywall, You (rooms, units, Delete my data), About, in-app Terms and Privacy, light and dark

Screens

22 screens: My plants, Identify, Identification result, Species guide, Plant health, Health check, My plant, Ask about this plant, Edit plant, Add plant, Find a plant, Reminders, You, Rooms, Welcome, Onboarding (value steps and "What do you grow?"), Verdant Pro, Photo credits, Terms, Privacy and About.

AI and backend

  • identify (vision, 2 units): photo in, three matches with high/medium/low confidence, care and pet safety out

  • diagnose (vision, 2 units): leaf photo in, issue, confidence, signs, steps, what to watch and up to 3 spots out; free accounts get one check

  • plant-chat (text, 1 unit): a question with the plant's care record, a short answer out

  • The app calls one Supabase Edge Function (ai) with an anonymous session; it charges units from a daily allowance and calls Gemini with your key

  • Supabase tables for rooms, plants, care events, plant photos and scans under per-user row-level security, plus a private photo bucket

  • The app asks once before the first photo or question goes to the AI provider; only what the person chooses is sent

Monetisation

Free: 3 identifications a day, 1 health check, phone reminders for 5 plants. Pro (yearly with a 7-day trial, or monthly) removes the limits. Purchases go through RevenueCat (react-native-purchases) and a webhook tells the server who has Pro. Until you connect RevenueCat to sell, the paywall shows sample prices and "Subscriptions open in the App Store version"; nothing is sold and Pro is never granted.

Reskin and photo credits

The plant words, care facets, care tasks, camera modes, onboarding choices and free limits live in src/config/domain.ts; the species in src/config/catalogue.ts; the server prompts take their domain words from DOMAIN in supabase/functions/ai/tasks.ts. The 50 bundled sample photos are CC0 or CC BY from Wikimedia Commons, iNaturalist, the WordPress photo directory and rawpixel, plus the kernel's Unsplash photos. Keep the in-app Photo credits page if you keep the photos, or replace the photos with your own.

Setup

Connect Supabase and apply the migrations, turn on the AI with your Gemini key and deploy the functions, connect RevenueCat to sell Pro, then make it yours. The README has each step.

aiplant identifierplant carehouseplantsgeminisupabaserevenuecatreact nativeexpocamerareminders

Bạn nhận được

  • Toàn bộ mã nguồn — Expo và React Native bằng TypeScript, là một ứng dụng trong không gian làm việc của bạn.
  • Xem trước trực tiếp — thử mọi thay đổi ngay trên trình duyệt hoặc điện thoại.
  • Bản phát hành đã kiểm tra — biên dịch được và mọi màn hình mở không lỗi.
  • Trợ lý AI — đổi mọi thứ bằng chat; mỗi thay đổi dùng credit.
  • Bản dựng và tải lên cửa hàng — bản dựng iOS và Android, gửi lên App Store và Google Play từ Xuất bản.
  • Sao chép không tốn credit — bản thân việc sao chép không mất credit nào.

Được làm bằng phiên bản FluxNative hiện tại.

Bạn cần

  • Tài khoản FluxNative — gói Free chứa tối đa 2 ứng dụng.
  • Không cần backend để bắt đầu — chạy bằng dữ liệu mẫu cho đến khi bạn kết nối backend của mình.
  • Gói Creator trở lên — để dựng bản native và tải lên cửa hàng.
  • Tài khoản cửa hàng — Apple Developer Program (99 USD/năm) và Google Play (25 USD một lần), để xuất bản.

Mã nguồn có gì

màn hình
22
file trong bản sao
429
dòng code viết riêng cho ứng dụng
8.212
component giao diện có sẵn
142

Ngôn ngữ trong ứng dụng: Tiếng Anh và Tiếng Việt

Công nghệ

Expo SDK
57.0.22
React Native
0.86.3
React
19.2.8
TypeScript
6.0.3
Expo Router
57.0.21
Supabase JS
2.112.3
RevenueCat
10.9.1

Từ package.json của bản phát hành này.

Hệ thống thiết kế

Tiêu đề
Phông hệ thống
Nội dung
Phông hệ thống
  • Chế độ sáng và tối
  • Liquid Glass
  • Nút bo tròn
  • Thẻ phẳng

Thiết lập sau khi sao chép

Bản sao của bạn mở cùng trợ lý AI đã xây nó. Làm các bước theo thứ tự: kết nối những gì từng bước yêu cầu trong Máy chủ, rồi gửi từng câu lệnh.

  1. Connect Supabase

    Server › Backend › Supabase. Apply the two migrations, allow anonymous sign-ins in the Supabase dashboard, and write the public URL and anon key to .env. Until then the app runs on sample data.

    Câu lệnh cho AI

    Connect this app to my Supabase project (Server › Backend › Supabase). Write EXPO_PUBLIC_SUPABASE_URL and EXPO_PUBLIC_SUPABASE_ANON_KEY to .env. Apply supabase/migrations/20261019000000_ai_kit.sql, then supabase/migrations/20261019010000_verdant.sql. Remind me to turn on Authentication › Sign In / Providers › "Allow anonymous sign-ins" in the Supabase dashboard, because the app signs people in anonymously. Then check that My plants loads an empty garden from Supabase instead of the sample garden.

  2. Turn on the AI

    Server › API keys & secrets: add GEMINI_API_KEY. Deploy the ai function and push its secrets. Set AI_FREE_UNITS_PER_DAY to 6 (3 identifications a day) and AI_PRO_UNITS_PER_DAY to 500.

    Câu lệnh cho AI

    Turn on Verdant's AI. I added GEMINI_API_KEY under Server › API keys & secrets. Set AI_FREE_UNITS_PER_DAY to 6 and AI_PRO_UNITS_PER_DAY to 500 as secrets too. Deploy the supabase/functions/ai function and push its secrets, then invoke it with { "task": "usage" } as a test user and show me the answer. Do not change the tasks in supabase/functions/ai/tasks.ts.

  3. Sell Pro with RevenueCat

    Server › Monetization: connect RevenueCat (yearly with a 7-day trial and monthly products, entitlement "pro"). Save REVENUECAT_WEBHOOK_SECRET, deploy revenuecat-webhook with JWT verification off, add the webhook in RevenueCat.

    Câu lệnh cho AI

    Set up Verdant Pro through RevenueCat. Connect RevenueCat under Server › Monetization so EXPO_PUBLIC_REVENUECAT_IOS_KEY and EXPO_PUBLIC_REVENUECAT_ANDROID_KEY are in .env. The entitlement is "pro"; the plans are yearly with a 7-day free trial and monthly (keep PLAN_PREVIEW in src/services/iap/index.ts in step with my prices). Generate a long random REVENUECAT_WEBHOOK_SECRET under Server › API keys & secrets, deploy supabase/functions/revenuecat-webhook with JWT verification off, push the secret, and tell me the webhook URL and Authorization header to paste into RevenueCat › Integrations › Webhooks.

  4. Camera and reminders on a phone build

    The camera (expo-camera) and care reminders (expo-notifications) need a native build; the web preview shows a sample photo instead of the camera. Check the permission texts in app.json first.

    Câu lệnh cho AI

    Prepare Verdant for its first phone build. Review the camera and photo library permission texts in app.json (NSCameraUsageDescription, NSPhotoLibraryUsageDescription and the expo-camera and expo-image-picker plugins) and make them name my app. Keep expo-camera and expo-notifications in the build. Then tell me how to test identification with the real camera and a care reminder on a device.

  5. Set your icon, store IDs and legal pages

    Rename the app, set your icon and colours, and point the legal links at your pages. Replace the in-app Terms and Privacy words or set the hosted page URLs.

    Câu lệnh cho AI

    Make this app mine: rename Verdant to my app's name everywhere a person sees it (app.json name, About, paywall, onboarding, prompts), change the bundle ID and package from com.fluxnative.verdant, draw a new icon in assets/icon.svg and assets/adaptive-icon.svg and render the PNGs, and set my brand colour in src/theme/brand.ts (keep the near-black buttons unless I say otherwise). Set EXPO_PUBLIC_PRIVACY_POLICY_URL, EXPO_PUBLIC_TERMS_URL and EXPO_PUBLIC_SUPPORT_URL in .env if I have hosted pages, otherwise rewrite the in-app Terms and Privacy pages in src/features/legal for my business. Keep the Photo credits page while the sample photos stay.

Cách dùng mẫu này

  1. Dùng mẫu để có một bản sao chỉnh sửa được, kèm mã nguồn, trong không gian làm việc của bạn (Mẫu).
  2. Nhờ trợ lý AI thay đổi những gì bạn muốn, bằng lời thường (Làm việc với trợ lý).
  3. Xem thử từng thay đổi trong bản xem trước trực tiếp, hoặc trên điện thoại (Xem trước).
  4. Từ gói Creator trở lên, build cho iOS và Android rồi gửi lên các cửa hàng (Tổng quan phát hành).

Giấy phép và hỗ trợ

Giấy phép

Ứng dụng được tạo cho bạn là của bạn; mã của mẫu vẫn thuộc InspireUI và được cấp phép để dùng trong các ứng dụng của bạn (Điều khoản › Sở hữu trí tuệ của chúng tôi).

Trợ giúp

  • Hướng dẫn về template, trợ lý và xuất bản.
  • Liên hệ hỗ trợ từ Trợ giúp; thường phản hồi trong 1–2 ngày làm việc.
  • Trong bản sao của bạn, hỏi trợ lý AI về bất kỳ màn hình hay tệp nào.

Do FluxNative tạo

Chính sách hỗ trợ

Câu hỏi

Có miễn phí không?

Sao chép template miễn phí không mất gì, kể cả credit; template Premium mua một lần cho mỗi website. Đổi bằng chat và bản dựng dùng credit.

Tôi sở hữu gì?

Bạn sở hữu ứng dụng được tạo cho bạn. Mã của template vẫn thuộc InspireUI và được cấp phép dùng trong ứng dụng của bạn (Điều khoản › Quyền sở hữu trí tuệ của chúng tôi).

Tôi có cần biết code không?

Không. Nhờ trợ lý đổi bằng lời thường; có toàn bộ mã nguồn khi bạn cần.

Có kèm backend không?

Không. Ứng dụng đầy đủ nêu backend cần dùng và bạn kết nối backend của mình trong Máy chủ; bản thiết kế chạy bằng dữ liệu mẫu.

Tôi đổi được thiết kế không?

Được. Tab Thiết kế đặt màu thương hiệu, màu sắc, phông chữ và bo góc mà không tốn credit; trợ lý đổi phần còn lại.

Cần gói nào để xuất bản?

Gói Creator trở lên dựng và tải lên cửa hàng, bằng tài khoản Apple và Google của bạn. Ứng dụng từ template Premium dựng được ở mọi gói khi đã kết nối website.

Tôi tải được mã nguồn không?

Được, bằng Tải mã nguồn hoặc Đẩy lên GitHub, khi không gian làm việc của bạn đã mua gói, credit hoặc template trả phí. Ứng dụng từ template Premium cũng cần kết nối website.

Nếu nó được tạo bằng FluxNative cũ hơn thì sao?

Bản sao của bạn vẫn chạy bình thường. Nhờ trợ lý cập nhật để có tính năng mới như ngôn ngữ và tiền tệ của ứng dụng; đó là bước thiết lập cuối.

Sẵn sàng biến mẫu này thành ứng dụng của bạn?

Bắt đầu từ Verdant AI Plant Identifier and Care App và thay đổi mọi thứ qua chat. Bản sao của bạn có đầy đủ mã nguồn.

Sao chép miễn phí. Không cần thẻ tín dụng.

Taking a little longer than usual…

Loading FluxNative