This is a submission for Weekend Challenge: Dog Days Edition
What I Built
I built BarkToTheFuture—a Cyberpunk "Tactical Canine HUD" that gives dogs a hilarious inner voice, records their behavioral history, and mints their life milestones permanently on-chain.
Ever wonder what your dog is thinking when staring down a running vacuum cleaner or negotiating for an early dinner? BarkToTheFuture translates those non-verbal visual cues and situational contexts into a dramatic inner monologue, converts it into a distinct character voice, tracks their long-term mood patterns in a data warehouse, and immortalizes key moments as low-cost digital collectibles.
Demo
Code
How I Built It
The app is built with Next.js 14+ (App Router), TypeScript, and Tailwind CSS, styled with a dark glassmorphic "Tactical HUD" aesthetic using Framer Motion and Recharts.
Technical Architecture Overview
Vision & Reasoning (Google AI (Gemini 2.5 Flash)):
Parses the uploaded photo and situational context tags into structured behavioral JSON (Mood Index, Threat Level, and POV Monologue).Voice Synthesis (ElevenLabs API):
Dynamically maps Gemini's output persona to a custom AI voice ID and streams character audio.Analytics Storage (Snowflake Data Lakehouse):
Inserts real-time behavior records into a DOG_LOGS table via snowflake-sdk for long-term health and mood trend analysis.Web3 Memory Vault (Solana Blockchain):
Mints memorable moments as Compressed NFTs (cNFTs) and provides Solana Blinks for micro-SOL "Treat" tipping.
Prize Categories
Best Use of Google AI
- Model: Google Gemini 2.5 Flash (@google/genai SDK)
- Implementation: Gemini acts as a canine behavioral psychologist and comedy writer. It analyzes images alongside user-provided situational context (e.g., "It's 5 PM and the food bowl is empty").
- Key Feature: Uses structured JSON schema enforcement to output exact metrics for excitement, anxiety, and mischief, alongside a threat assessment and a 2-3 sentence POV monologue.
Best Use of ElevenLabs
- API: ElevenLabs Text-to-Speech API
- Implementation: Based on Gemini's suggestedVoicePersona, the app dynamically maps and routes the text monologue to specific ElevenLabs voice profiles (e.g., British Butler, Dramatic Villain, Hyperactive Puppy, or Wise Sage).
- Key Feature: Audio buffers are returned in real time with an animated visualizer component that displays bouncing equalizer waves during playback.
Best Use of Snowflake
- Tech: snowflake-sdk Node.js Connector
- Implementation: Every processed scan sends an automated INSERT query into a Snowflake DOG_LOGS table storing timestamps, breed guesses, mood values, threat categories, and monologues.
- Key Feature: The Snowflake Big Bark Analytics Dashboard runs aggregate SQL queries to display time-series charts (via Recharts) comparing a pet’s stress/excitement spikes against baseline regional breed data.
Best Use of Solana
- Tech: @solana/web3.js, Metaplex Umi / Crossmint, Solana Blinks & Actions
- Implementation: Converts dog milestones into Compressed NFTs (cNFTs) on Solana Devnet for sub-penny fees, storing the photo, mood data, and monologue permanently.
- Key Feature: Integrated Solana Blinks allow friends and social media followers to send micro-SOL "Treat" tips directly to the dog's public wallet with a single click.
Top comments (0)