A modern, SEO-optimized microblogging platform that allows users to share concise thoughts with AI-powered insights and social interactions. Built with React, Firebase, and Gemini AI.
- Concise Expression: Share your thoughts in 300 characters or less
- AI-Powered Analysis: Get real-time insights on tone, clarity, sentiment, and repetition
- Content Enhancement: Rewrite posts in different tones (Formal, Informal, Humorous)
- Social Engagement: Like, dislike, and interact with other users' content
- User Authentication: Secure Google Sign-In integration
- Responsive Design: Beautiful interface that works on all devices
- Dark/Light Mode: Toggle between themes for comfortable viewing
- SEO Optimized: Built with search engine visibility in mind
- Frontend: React 19, Tailwind CSS, Framer Motion
- Backend: Firebase (Authentication, Firestore)
- AI Integration: Google Gemini API
- Build Tool: Vite
- Deployment: Firebase Hosting
Smart MicroBlog implements modern SEO best practices:
- Semantic HTML: Properly structured headings (h1, h2, h3) and semantic elements
- Structured Data: JSON-LD for enhanced search result display
- Meta Tags: Comprehensive meta tags for better search engine indexing
- OpenGraph & Twitter Cards: Social media optimization for better sharing
- Sitemap & Robots.txt: Properly configured for search engine crawling
- Performance Optimization: Fast loading with resource preloading
- Mobile Responsiveness: Fully responsive design for all devices
- Canonical URLs: Prevents duplicate content issues
- Accessible Content: Screen reader friendly with proper ARIA attributes
-
Clone the repository:
git clone https://github.com/WebDev-Haseeb/Micro-Blogging.git cd Micro-Blogging -
Install dependencies:
npm install
-
Set up Firebase:
- Create a Firebase project at firebase.google.com
- Enable Authentication with Google Sign-In
- Set up Firestore Database
- Add a web app to your Firebase project and get your config
-
Set up Gemini AI API:
- Create a Google Cloud project
- Enable the Gemini API
- Generate an API key
-
Create environment variables: Create a
.envfile in the root directory with your API keys:VITE_FIREBASE_API_KEY=your-firebase-api-key VITE_FIREBASE_AUTH_DOMAIN=your-firebase-auth-domain VITE_FIREBASE_PROJECT_ID=your-firebase-project-id VITE_FIREBASE_STORAGE_BUCKET=your-firebase-storage-bucket VITE_FIREBASE_MESSAGING_SENDER_ID=your-firebase-messaging-sender-id VITE_FIREBASE_APP_ID=your-firebase-app-id VITE_GEMINI_API_KEY=your-gemini-api-key -
Start the development server:
npm run dev
-
Build the production version:
npm run build
-
Install Firebase CLI if you haven't:
npm install -g firebase-tools
-
Login to Firebase:
firebase login
-
Initialize Firebase:
firebase init
- Select Hosting
- Select your Firebase project
- Set "dist" as your public directory
- Configure as a single-page app
-
Deploy to Firebase:
firebase deploy
After deployment:
- Connect a custom domain through Firebase Hosting settings
- Update sitemap.xml and robots.txt with your actual domain
- Submit your sitemap to Google Search Console
- Set up Google Analytics for traffic monitoring
- Verify your site in search engine webmaster tools:
npm test- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Website: https://micro--blogging.web.app/
- Email: contact@devhaseeb.me
Made with ❤️ by the Haseeb!