This is a simple social media web application built using Firebase Authentication and Firestore. Users can register, log in, post text and images, like posts, update their posts, delete posts, and analyze post content sentiment using Google Gemini API.
- User authentication with Firebase Auth
- Posting text and images (images uploaded via imgbb API)
- Like/unlike posts with real-time updates
- Update and delete own posts with custom modal dialogs
- Analyze post sentiment using Google Gemini API
- Responsive UI with a clean design
- Firebase (Authentication, Firestore)
- Google Gemini API for AI analysis
- imgbb API for image uploads
- Vanilla JavaScript (ES Modules)
- HTML5 & CSS3
- Clone this repository or copy the project files to your local machine.
- Replace Firebase configuration with your own Firebase project credentials in
home.js. - Get an API key from imgbb for image uploads and replace the API key in
home.js. - Get an API key for Google Gemini API and update the relevant code in your project.
- Run a local server or host the files on a static server.
- Open
index.htmlto start.
- Register or log in using your Firebase Auth credentials.
- Create posts with text or images.
- Like posts and see live updates.
- Update or delete your own posts using the buttons provided.
- Analyze post sentiment with the Analyze button on each post.
- Custom responsive modal popup dialogs for updating and deleting posts instead of default browser prompts/alerts.
- Image upload support integrated with imgbb.
- Real-time Firestore updates using onSnapshot listeners.
Pitambar Yadav
A passionate computer science student and aspiring software developer currently studying at Sri Ramakrishna Engineering College, Coimbatore. Dedicated to building practical web apps and exploring AI-powered features.