An open API service indexing awesome lists of open source software.

https://github.com/blackhatdevx/choco-blogo

Choco-Blogo is a visually appealing and feature-rich blog management platform. Designed with a user-friendly interface, it provides admins with powerful LLM tools to analyze blog posts and track their performance using insightful metrics like word counts, repetition analysis, and post scores.
https://github.com/blackhatdevx/choco-blogo

admin admin-dashboard backend blog blog-theme blogger database frontend fullstack javascript large-language-model large-language-models nextjs nextjs14 postgres postgresql project typescript

Last synced: 2 months ago
JSON representation

Choco-Blogo is a visually appealing and feature-rich blog management platform. Designed with a user-friendly interface, it provides admins with powerful LLM tools to analyze blog posts and track their performance using insightful metrics like word counts, repetition analysis, and post scores.

Awesome Lists containing this project

README

          

# Choco-Blogo 🍫✍️

Choco-Blogo is a visually appealing and feature-rich blog management platform. Designed with a user-friendly interface, it provides admins with powerful LLM tools to analyze blog posts and track their performance using insightful metrics like word counts, repetition analysis, and post scores.

## 🔗 Live Demo

# [Visit Choco-Blogo Live](https://choco-blogo.vercel.app/)

### Default Admin Credentials for testing purpose

| **Username** | **Password** |
| ----------------- | ------------ |
| `blogo@admin.com` | `blogoAdmin` |

---

## 🖼️ Screenshots

Screenshot 2024-12-03 at 11 43 13 PM

Screenshot 2024-12-03 at 11 43 25 PM

Screenshot 2024-12-03 at 11 43 37 PM

Screenshot 2024-12-03 at 11 43 47 PM

---

## 🚀 Features

- **Post Management**:

- Admins can view all blog posts.
- Blog posts are analyzed for word count, unique words, and repetitive content.

- **Post Analysis**:

- Automatic calculation of content score based on word usage and repetition.
- Visualization using a bar chart (powered by Chart.js).

- **Secure Admin Access**:

- Only admins can access the analysis dashboard after proper authentication.

- **Responsive Design**:
- Optimized for both desktop and mobile users.

---

## 🛠️ Tech Stack

### Frontend:

- **Next.js**: For server-side rendering and client-side interactivity.
- **React**: Component-based UI development.
- **Chart.js**: Interactive visualizations for blog analysis.

### Backend:

- **Next.js API Routes**: For handling backend logic and data analysis.
- **Prisma**: ORM for interacting with the PostgreSQL database.
- **PostgreSQL**: For efficient and scalable data storage.

### Styling:

- **Tailwind CSS**: For modern and responsive design.

---

## 📂 Project Structure

```
.
├── pages
│ ├── api
│ │ ├── analyze-posts.ts # API for analyzing blog posts
│ │ ├── check-session.ts # API for admin session validation
│ ├── analysis.tsx # Admin dashboard for analysis
│ ├── index.tsx # Homepage
├── prisma
│ ├── schema.prisma # Database schema
├── public # Static assets
├── styles # Global CSS styles
├── components # Reusable components
└── README.md # Project documentation
```

---

## 🔧 Setup & Installation

Follow these steps to run the project locally:

1. **Clone the Repository**:

```bash
git clone https://github.com/BlackHatDevX/choco-blogo.git
cd choco-blogo
```

2. **Install Dependencies**:

```bash
npm install
```

3. **Set Up Environment Variables**:
Create a `.env` file in the root directory and add:

```env
DATABASE_URL=postgres://your-db-user:your-db-password@your-db-host/your-db-name
```

4. **Set Up Prisma**:
Generate the Prisma client and apply migrations:

```bash
npx prisma generate
npx prisma migrate dev --name init
```

5. **Start the Development Server**:
```bash
npm run dev
```
Visit [http://localhost:3000](http://localhost:3000) to view the app.

---

## 🤝 Contributions

Contributions are welcome! To contribute:

1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Submit a pull request with a detailed description of your changes.

---

## 📝 License

This project is licensed under the MIT License. See the LICENSE file for details.

---

## 👤 Author

**Jash Gro**
GitHub: [BlackHatDevX](https://github.com/BlackHatDevX)
Portfolio: [bit.ly/jashgro](https://bit.ly/jashgro)

Feel free to reach out for any queries or suggestions!