Stalkr
Discover - Connect - Grow
The problem Stalkr solves
The Problem It Solves
Today, professional networking is broken because it relies on guesswork.
People are forced to:
- Send cold messages with no real context
- Rely on static profiles that don’t reflect current work
- Guess the right time to reach out
- Spam multiple people hoping for a response
This leads to low reply rates, wasted effort, and missed opportunities.
The real problem isn’t finding who to contact - it’s knowing when and why to contact them.
What This System Solves
This project solves the timing and relevance problem in networking.
Instead of asking:
“Who should I message?”
It answers:
“Who out of the people you want to connect to is the right person to contact right now, and why?”
How It Works
- Turns Activity Into Signal
The system analyzes real public activity (GitHub events) instead of static profiles.
It detects:
- Recent commits
- New repositories
- Changes in activity patterns
- Momentum shifts
This allows it to understand what someone is actually working on.
- Detects the Right Moment to Reach Out
Rather than spamming users constantly, the system:
- Tracks previous activity states
- Compares them with current behavior
- Identifies meaningful changes
- Only triggers when timing improves
This avoids unnecessary outreach and focuses on high-probability moments.
- Explains Why a Connection Makes Sense
Each recommendation includes:
- A readiness score
- A clear explanation of why now is a good time
- A concrete technical or contextual bridge
- A complete trace of why it decided what it did.
No black-box suggestions.
- Generates Context-Aware Messages
Instead of generic templates, the system generates:
- Short, human-sounding messages
- Based on real recent activity
- Focused on shared technical context
- Written to feel natural, not automated
- Reduces Noise and Saves Time
The system:
- Stores previous states
- Avoids re-analyzing unchanged profiles
- Only runs AI when something meaningful changes
- Prevents repeated or irrelevant recommendations
This makes networking intentional instead of reactive.
Who This Is For
- Developers looking for collaborators
- Founders looking to connect or hire
- Open-source contributors
- Hackathon teams
- Technical recruiters
Anyone who wants to network based on real work, not popularity.
Why This Is Different
Most tools answer:
“Who is popular?”
This system answers:
“Who is relevant right now?”
It transforms networking from:
random outreach → intelligent timing-based action
This tool allows users to add repos / people they are wishing to connect to, and our tool will tell the right time to connect to them and how.
Summary
This project:
- Turns activity into insight
- Detects the right moment to act
- Avoids spam and guesswork
- Makes outreach more human and effective
- Uses AI as a decision engine, not a chatbot
It’s not a social network.
It’s a timing intelligence system for professional connections.
Challenges we ran into
Technical Challenges & Solutions
Challenge 1: Implementing Data Persistence with Supabase
Problem: Initially, the application had no data persistence layer. User data (goals, repositories, analysis results) existed only in memory during the session. Once users refreshed the page or logged out, all their data was lost.
Why It Mattered: Without persistence, the application was essentially a demo that couldn't retain any user state. Users couldn't come back to check previous analyses, track their goal progress, or maintain their watchlists across sessions.
Solution: We integrated Supabase PostgreSQL database to persist:
- User profiles (github_username, goal, repositories, organizations, people)
- Tracked profiles (targets being monitored with analysis history)
- Analysis history (readiness scores, decisions, reasoning)
- User watchlists (what they're actively tracking)
This required building an entire backend API layer with proper authentication, RLS policies, and database schema design. The decision to use Supabase over alternatives came down to:
- Easy Auth Integration: Supabase handles auth automatically with JWT tokens
- RLS Policies: Built-in row-level security to ensure users only see their own data
- Real-time Capabilities: Foundation for future features like live notifications
- Rapid Development: No need to set up separate auth servers or databases
Challenge 3: Agentic AI Prompt Engineering
Problem: The AI agent was not producing the desired output format and analysis quality. Responses were inconsistent, incomplete, or didn't follow the expected structure for decision-making and scoring.
Solution: We extensively iterated on the system prompts, breaking down the desired output structure into explicit JSON schemas. We added contextual information about the user's goals and repositories to improve relevance. Multiple rounds of testing and refinement with different prompts led to a stable, consistent output format.
Challenge 4: Frontend-Backend Data Flow Mismatch
Problem: The onboarding form was collecting 5 fields (goal, repositories, organizations, people, github_username) but the backend API was only saving 1-2 fields to the database. This caused critical user data to be lost, making downstream analysis features fail.
Root Cause: The API route (/api/onboard) was only destructuring userId and github_username from the request body, ignoring all other fields sent by the frontend form.
Solution:
- Updated the API to properly destructure all fields:
github_username,goal,repositories,organizations,people - Modified the Supabase upsert to save all these fields to the profiles table
- Added missing database columns (
organizations,people) via migrations
Challenge 5: Database Schema Mismatch
Problem: The code referenced table structures that didn't match the actual Supabase schema. Forms sent data for columns that didn't exist in the database, causing inserts/updates to fail silently or throw errors.
Root Cause: Schema documentation and actual implementation in Supabase had drifted. The SQL migration file described different tables (user_profiles) than what was actually deployed (profiles).
Solution:
- Audited the actual Supabase tables via the console
- Updated all API routes to use the correct table names and column names
- Created proper migration files to add missing columns
- Added validation in API handlers to only save fields that exist in the schema
Challenge 6: Authentication & Row Level Security (RLS) Policy Issues
Problem: After user login, subsequent API calls to fetch analysis data were returning empty results or 403 Forbidden errors, even though the user was authenticated.
Root Cause:
- RLS policies on the
tracked_profilesandanalysis_historytables weren't properly configured for the authenticated user - The user context wasn't being passed correctly from the client to the API routes
- Some API routes were using the service role key instead of the authenticated user token
Solution:
- Configured proper RLS policies that check
auth.uid()matchesuser_idin tables - Updated API routes to use the authenticated user's context from
auth.getUser() - Added fallback mock data for demo purposes during development
- Implemented proper error messages so users knew when permission issues occurred
Challenge 7: GitHub Username Authentication Chain Breaking
Problem: The analysis feature failed with "GitHub username not set in user profile" even though users thought they had filled out the onboarding form.
Root Cause: The github_username field was genuinely NULL in the database because the onboarding API wasn't saving it (due to Challenge #2). Additionally, there was a fallback mechanism that used a fake demo username instead of failing loudly, masking the real issue.
Solution:
- Removed the fake fallback username so errors su
Tracks Applied (1)