A Progressive Web App (PWA) that generates professional cold emails using AI, designed specifically for freelancers and consultants.
- 🤖 AI-Powered Email Generation - Uses HuggingFace's free models to create personalized cold emails
- 🔐 Social Authentication - Google and GitHub login via Supabase Auth
- 📊 Usage Limits - 5 emails per user per month, global token limits
- 📱 Progressive Web App - Installable on mobile and desktop
- 🌙 Dark Mode - Beautiful light and dark themes
- 💬 Waitlist System - Capture users when limits are reached
- 🚀 Share Features - Social sharing and referral system
- 📱 Responsive Design - Works perfectly on all devices
- Frontend: React 18 + TypeScript + Tailwind CSS
- Backend: Supabase (Database + Auth)
- AI: HuggingFace Inference API
- PWA: Vite PWA Plugin
- Hosting: Netlify/Cloudflare Pages (free tier)
git clone <your-repo>
cd autooutreach
npm install- Create a new project at supabase.com
- Go to Settings > API to get your project URL and anon key
- Go to Authentication > Providers and enable Google and GitHub OAuth
- Run the database migrations in
supabase/migrations/
- Create a free account at huggingface.co
- Go to Settings > Access Tokens and create a new token
- The app uses
mistralai/Mistral-7B-Instruct-v0.1model (free tier)
Create a .env file:
cp .env.example .envFill in your values:
VITE_SUPABASE_URL=your_supabase_project_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
VITE_HUGGINGFACE_TOKEN=your_huggingface_tokennpm run devThe app uses three main tables:
user_usage- Tracks per-user email generation limitsglobal_stats- Tracks monthly token usage across all userswaitlist- Stores users who hit limits and want paid version
All tables have Row Level Security (RLS) enabled with appropriate policies.
- Build the project:
npm run build - Deploy the
distfolder to Netlify - Set environment variables in Netlify dashboard
- The app will work as a PWA automatically
- Connect your GitHub repo to Cloudflare Pages
- Set build command:
npm run build - Set output directory:
dist - Add environment variables
- Deploy!
- Per User: 5 email generations per month
- Global: 30,000 tokens per month across all users
- Automatic Reset: User limits reset monthly
- Waitlist: Users are added to waitlist when limits are hit
- Installable: Users can install the app on their devices
- Offline Ready: Service worker caches essential resources
- App-like Experience: Standalone display mode
- Fast Loading: Optimized for performance
src/
├── components/ # Reusable UI components
├── contexts/ # React contexts (Auth, Theme)
├── hooks/ # Custom React hooks
├── lib/ # Utility libraries (Supabase, AI)
├── pages/ # Main pages (Landing, Dashboard)
└── main.tsx # App entry point
src/lib/supabase.ts- Supabase client configurationsrc/lib/ai.ts- HuggingFace AI integrationsrc/contexts/AuthContext.tsx- Authentication state managementsrc/hooks/useUsage.ts- Usage tracking and limitssupabase/migrations/- Database schema and migrations
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
MIT License - see LICENSE file for details
For issues and questions:
- Check the GitHub issues
- Review the documentation
- Join our community discussions
Built with ❤️ for freelancers and consultants who want to grow their business with AI-powered outreach.