HomePaw
Pet adoption app with AI-powered content moderation via Gemini API. Real business logic, full auth flow, SQLite + PostgreSQL, image recognition.
Pet shelters need a modern way to showcase animals for adoption. Traditional social media posts lack structured search, real-time availability, and moderation — leading to outdated listings and poor user experience.
A React Native pet adoption app with AI-powered image moderation via Gemini API, real-time database sync, and a clean, intuitive UI. Auth, search, favorites, and a full adoption workflow.
Expo managed workflow with Firebase Auth, Firestore for real-time data, Gemini API for content moderation of pet photos. State managed via React Context.
Key Features
AI Content Moderation
Uses Gemini API to automatically screen pet photos for inappropriate content before posting.
Real-time Database
Firestore keeps listings synchronized across devices. New pets appear instantly.
Full Auth Flow
Email/password registration, login, password reset, and profile management.
import { GoogleGenerativeAI } from "@google/generative-ai";
const genAI = new GoogleGenerativeAI(process.env.GEMINI_API_KEY!);
export async function moderateImage(base64Image: string): Promise<boolean> {
const model = genAI.getGenerativeModel({ model: "gemini-pro-vision" });
const result = await model.generateContent([
"Is this image appropriate for a pet adoption listing? Check for: violence, explicit content, or anything unrelated to pets. Reply only with SAFE or UNSUITABLE.",
{ inlineData: { mimeType: "image/jpeg", data: base64Image } },
]);
const text = result.response.text().trim();
return text === "SAFE";
}Gallery




Want to see more?
Explore the full project catalog or grab the source code.