A comprehensive Web3 research platform powered by Google's Gemini AI that provides real-time, intelligent insights on any Web3 topic.
- AI-Powered Search: Search any Web3 topic and get comprehensive insights
- Real-time Information: Get up-to-date information from across the internet
- Structured Results: Well-organized research results with key points, trends, and technical details
- Web3 Focused: Specialized in blockchain, DeFi, NFTs, and Web3 technologies
- Interactive UI: Beautiful, responsive interface with smooth animations
pnpm install- Go to Google AI Studio
- Sign in with your Google account
- Click "Create API Key"
- Copy your API key
Create a .env.local file in the root directory:
# Copy the example file
cp env.example .env.local
# Edit .env.local and add your API key
GEMINI_API_KEY=your_actual_api_key_herepnpm devOpen http://localhost:3000 to view the application.
-
Navigate to Research Hub: Go to
/research-hubin the application -
Search Topics: Type any Web3 topic you want to research, such as:
- "DeFi protocols"
- "NFT market trends"
- "Layer 2 scaling solutions"
- "Smart contract security"
- "Cross-chain bridges"
- "Web3 gaming"
- "Tokenomics design"
-
Get Comprehensive Results: The AI will provide:
- Summary: Overview of the topic
- Key Points: Important highlights
- Current Trends: Latest developments
- Technical Details: Implementation specifics
- Use Cases: Practical applications
- Challenges: Current limitations
- Future Outlook: Predictions and developments
- Resources: Additional reading materials
- Related Topics: Connected subjects
-
Explore Related Topics: Click on related topics to dive deeper
Try these search queries to see the AI in action:
- "DeFi yield farming strategies" - Get insights on DeFi protocols
- "NFT marketplace development" - Learn about NFT infrastructure
- "Blockchain scalability solutions" - Understand scaling approaches
- "Web3 security best practices" - Security guidelines
- "Tokenomics design patterns" - Economic model insights
- Next.js 14: React framework with App Router
- TypeScript: Type-safe development
- Tailwind CSS: Utility-first styling
- Framer Motion: Smooth animations
- Lucide React: Beautiful icons
- Next.js API Routes: Serverless API endpoints
- Google Generative AI: Gemini 1.5 Flash model
- Structured JSON Responses: Consistent data format
- Research Hub Page (
/app/research-hub/page.tsx): Main search interface - Gemini API Route (
/app/api/gemini-search/route.ts): AI search endpoint - Environment Configuration: API key management
| Variable | Description | Required |
|---|---|---|
GEMINI_API_KEY |
Your Google Gemini API key | Yes |
The Gemini API is configured to use the gemini-1.5-flash model, which provides:
- Fast response times
- High-quality results
- Cost-effective pricing
- Web search capabilities
- Research new Web3 technologies
- Understand implementation details
- Find best practices
- Explore use cases
- Get comprehensive topic overviews
- Identify current trends
- Find related research areas
- Access technical details
- Market analysis and trends
- Technology assessment
- Risk evaluation
- Future outlook
- Learn about Web3 concepts
- Stay updated with trends
- Explore new technologies
- Understand practical applications
- Push your code to GitHub
- Connect your repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically
The application can be deployed to any platform that supports Next.js:
- Netlify
- Railway
- DigitalOcean App Platform
- AWS Amplify
- API keys are stored securely in environment variables
- No sensitive data is exposed to the client
- All API calls are made server-side
- Input validation and sanitization implemented
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License.
If you encounter any issues:
- Check that your Gemini API key is correctly set
- Ensure you have sufficient API quota
- Verify your internet connection
- Check the browser console for errors
The application automatically uses the latest information available through Gemini's web search capabilities, ensuring you always get current and relevant information about Web3 topics.