Blogni is a modern AI-powered blogging platform that integrates Gemini (by Google) to generate blog content intelligently. It comes with a full-featured admin panel for managing posts, users, and content β perfect for developers, writers, or content teams looking to streamline publishing with the help of generative AI.
- βοΈ AI Blog Generation β Easily generate blog drafts using Gemini API.
- π Admin Panel β Create, edit, delete, and manage blog posts and users.
- π Authentication β Secure login for admin access.
- π§Ύ Rich Text Editor β Write and format content with ease.
- πΌοΈ Image Uploads β Add cover images and inline media.
- π SEO-Ready β Structured metadata for better search engine indexing.
- π§± Tech Stack β Built with MERN (MongoDB, Express, React, Node.js).
| Layer | Technology |
|---|---|
| Frontend | React + Vite |
| Backend | Node.js + Express |
| Database | MongoDB (Mongoose) |
| AI Writer | Gemini API (Google AI) |
| Auth | JWT / bcrypt |
The admin dashboard allows you to:
- Manage all blog posts
- Generate posts with Gemini AI
- Edit existing content using a WYSIWYG editor
- Control visibility and SEO settings
git clone https://github.com/your-username/blogni.git
cd blogni# Client
cd client
npm install
# Server
cd ../server
npm installCreate .env in the /server folder:
PORT=5000
MONGO_URI=your_mongo_connection_string
JWT_SECRET=your_jwt_secret
GEMINI_API_KEY=your_google_gemini_api_key# Start backend
cd server
npm run dev
# Start frontend
cd ../client
npm run devThe blog uses Gemini to generate post ideas and full articles. Admins can:
- Input a topic or prompt
- Let the AI generate an article draft
- Edit or publish the post directly
Blogni/
β
βββ client/ # Frontend (React + Vite)
βββ server/ # Backend (Node.js + Express)
β βββ models/
β βββ controllers/
β βββ routes/
β βββ .env
βββ .gitignore
βββ README.md
- Add user-facing blog frontend
- Commenting system
- Post scheduling
- AI-powered image generation
Pull requests are welcome! For major changes, please open an issue first to discuss what youβd like to change.
This project is open-source under the MIT License.
Coming soon...
---