A complete solution for businesses to collect authentic Google reviews through QR/NFC scanning, AI-generated review suggestions, and one-click submission.
- QR Code & NFC Integration: Customers scan to instantly access review page
- AI Review Generation: Natural, authentic reviews generated in seconds
- One-Click Google Submission: Direct submission with pre-filled 5-star reviews
- Multiple Review Options: Choose from AI-generated variations
- Regulatory Compliance: Follows Google and FTC guidelines
- Next.js 14: Modern React framework with App Router
- TypeScript: Full type safety
- Tailwind CSS: Utility-first styling
- OpenAI Integration: GPT-powered review generation
- Google APIs: Places API integration
- Responsive Design: Works on all devices
- Vercel Ready: One-click deployment
- Node.js 18+ and npm/yarn
- OpenAI API key (for AI features)
- Google API key (for Places integration)
- Google Place ID (for your business)
-
Clone the repository
git clone https://github.com/yourusername/google-review-generator.git cd google-review-generator -
Install dependencies
npm install # or yarn install -
Configure environment variables
cp .env.example .env.local
Edit
.env.localwith your API keys:OPENAI_API_KEY=your_openai_api_key_here GOOGLE_API_KEY=your_google_api_key_here GOOGLE_PLACE_ID=your_google_place_id_here
-
Run development server
npm run dev # or yarn dev -
Open your browser Navigate to
http://localhost:3000
- Push your code to GitHub
- Import project in Vercel
- Add environment variables
- Deploy!
The app is compatible with any platform that supports Next.js:
- Netlify
- AWS Amplify
- Railway
- Docker
- Generate QR Codes: Create QR codes for your location
- Place QR Codes: Display at checkout, tables, or entrance
- Customers Scan: Customers scan with phone camera
- AI Generates Review: System suggests authentic review text
- One-Click Submit: Customer submits 5-star review to Google
- Scan QR code with phone camera
- Choose from AI-generated review options
- Click "Submit Review" button
- Review opens in Google Maps (pre-filled with 5 stars)
- Edit if desired, then click "Post"
Edit lib/google-review.ts to configure:
- Default business information
- Google Place ID
- Business type
- Review categories
Edit lib/ai-generator.ts to configure:
- Review length (default: 15-25 words)
- Business type focus
- Review categories
- Fallback reviews
Edit tailwind.config.js to customize:
- Color scheme
- Fonts
- Spacing
- Animations
This tool is designed to be fully compliant with:
- β No automated review submissions
- β No incentives for reviews
- β Authentic customer experiences only
- β Users can edit AI-generated content
- β Transparent about AI assistance
- β Clear disclosure of AI assistance
- β No misleading or fake reviews
- β Genuine customer feedback
- β No paid or incentivized reviews
- β No personal data collection
- β No tracking of individual users
- β All processing happens client-side
- β No database required
Optional analytics can be added:
Add your GA ID to .env.local:
GOOGLE_ANALYTICS_ID=your_ga_id_hereEdit app/layout.tsx to add your analytics script.
- API keys are stored in environment variables
- No sensitive data stored in client-side code
- HTTPS required for production
- Regular dependency updates
- Security headers configured
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
MIT License - see LICENSE file for details.
- Create an issue on GitHub
- Check the documentation
- Contact: your-email@example.com
- OpenAI for GPT API
- Google for Maps and Places APIs
- Next.js team for the amazing framework
- Vercel for hosting platform
Disclaimer: This tool is designed to assist with review generation while maintaining compliance with all relevant policies. Users are responsible for ensuring their use complies with Google's review policies and local regulations.