Inspiration
What it does
Inspiration
Every small business needs a steady stream of marketing content — social posts, ads, a Google Business description — but most owners are running the shop itself, not writing copy. Hiring a marketing freelancer or agency is often out of reach for a neighborhood coffee shop or flower stand. We wanted to see if Gemini could just... do that job, instantly, for free.
What it does
Copy Counter is a single-page tool. A business owner fills in their name, what they do, their tone, and what makes them different. One Gemini API call returns a full marketing kit:
- 5 ready-to-post social media posts (each with a different angle — story, product, community, seasonal, customer-focused)
- 1 short ad
- 1 Google Business Profile description
Everything is copy-paste ready. No prompt engineering, no blank page.
How we built it
- Frontend: a single self-contained HTML/CSS/JS file — no framework, no build step, loads instantly.
- AI: Gemini API (
gemini-flash-latest), called directly with a structured prompt that asks for JSON output matching the kit's shape, so the response renders straight into the UI. - Hosting: Firebase Hosting (Google Cloud), deployed with the Firebase CLI.
- Design: an order-pad / receipt-printer visual identity — dashed lines, typewriter and monospace type, torn-edge "receipt" cards — to tie the experience back to the small-business counter it's meant for.
Challenges we ran into
- Google deprecated the Gemini model we initially wired up mid-build, so we
switched to
gemini-flash-latest, which always points at Google's current recommended Flash model, and added retry/fallback logic for transient 503 "high demand" errors from the free tier. - Building and deploying an entire working AI product from zero, end to end, in under 24 hours — including learning Firebase deploy, Git, and GitHub for the first time along the way.
What's next
Right now the Gemini API key is entered client-side, which is fine for a fast demo but not how we'd ship this to real customers — a real launch would proxy the Gemini call through a Cloud Function so the API key never touches the browser. That's the top priority if we keep building this after the hackathon.
Built With
- css
- firebase
- firebase-hosting
- gemini-api
- google-cloud
- html
- javascript
Log in or sign up for Devpost to join the conversation.