{"id":23315168,"url":"https://github.com/blackhatdevx/choco-blogo","last_synced_at":"2026-04-10T15:02:29.923Z","repository":{"id":266148971,"uuid":"897541571","full_name":"BlackHatDevX/choco-blogo","owner":"BlackHatDevX","description":"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.","archived":false,"fork":false,"pushed_at":"2024-12-03T18:24:05.000Z","size":342,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T08:16:43.165Z","etag":null,"topics":["admin","admin-dashboard","backend","blog","blog-theme","blogger","database","frontend","fullstack","javascript","large-language-model","large-language-models","nextjs","nextjs14","postgres","postgresql","project","typescript"],"latest_commit_sha":null,"homepage":"https://choco-blogo.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlackHatDevX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-02T20:07:17.000Z","updated_at":"2024-12-03T18:24:08.000Z","dependencies_parsed_at":"2024-12-02T21:35:06.922Z","dependency_job_id":null,"html_url":"https://github.com/BlackHatDevX/choco-blogo","commit_stats":null,"previous_names":["blackhatdevx/choco-blogo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackHatDevX%2Fchoco-blogo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackHatDevX%2Fchoco-blogo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackHatDevX%2Fchoco-blogo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackHatDevX%2Fchoco-blogo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlackHatDevX","download_url":"https://codeload.github.com/BlackHatDevX/choco-blogo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247585755,"owners_count":20962390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","admin-dashboard","backend","blog","blog-theme","blogger","database","frontend","fullstack","javascript","large-language-model","large-language-models","nextjs","nextjs14","postgres","postgresql","project","typescript"],"created_at":"2024-12-20T15:30:48.888Z","updated_at":"2025-12-30T20:23:54.410Z","avatar_url":"https://github.com/BlackHatDevX.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Choco-Blogo 🍫✍️\n\nChoco-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.\n\n## 🔗 Live Demo\n\n# [Visit Choco-Blogo Live](https://choco-blogo.vercel.app/)\n\n### Default Admin Credentials for testing purpose\n\n| **Username**      | **Password** |\n| ----------------- | ------------ |\n| `blogo@admin.com` | `blogoAdmin` |\n\n---\n\n## 🖼️ Screenshots  \n\n\u003cimg width=\"1470\" alt=\"Screenshot 2024-12-03 at 11 43 13 PM\" src=\"https://github.com/user-attachments/assets/d24265c0-497e-47f2-9916-b08050194a0e\"\u003e\n\n\u003cimg width=\"1470\" alt=\"Screenshot 2024-12-03 at 11 43 25 PM\" src=\"https://github.com/user-attachments/assets/ad8c7ce7-b11e-4e43-9ab5-02f203257a99\"\u003e\n\n\u003cimg width=\"1470\" alt=\"Screenshot 2024-12-03 at 11 43 37 PM\" src=\"https://github.com/user-attachments/assets/dfef3dcd-8bb6-4eda-be1c-600ffb8bcd59\"\u003e\n\n\n\u003cimg width=\"1470\" alt=\"Screenshot 2024-12-03 at 11 43 47 PM\" src=\"https://github.com/user-attachments/assets/9b4a01d6-4784-4e64-b816-e89daddc4590\"\u003e\n\n\n\n\n\n---\n\n## 🚀 Features\n\n- **Post Management**:\n\n  - Admins can view all blog posts.\n  - Blog posts are analyzed for word count, unique words, and repetitive content.\n\n- **Post Analysis**:\n\n  - Automatic calculation of content score based on word usage and repetition.\n  - Visualization using a bar chart (powered by Chart.js).\n\n- **Secure Admin Access**:\n\n  - Only admins can access the analysis dashboard after proper authentication.\n\n- **Responsive Design**:\n  - Optimized for both desktop and mobile users.\n\n---\n\n## 🛠️ Tech Stack\n\n### Frontend:\n\n- **Next.js**: For server-side rendering and client-side interactivity.\n- **React**: Component-based UI development.\n- **Chart.js**: Interactive visualizations for blog analysis.\n\n### Backend:\n\n- **Next.js API Routes**: For handling backend logic and data analysis.\n- **Prisma**: ORM for interacting with the PostgreSQL database.\n- **PostgreSQL**: For efficient and scalable data storage.\n\n### Styling:\n\n- **Tailwind CSS**: For modern and responsive design.\n\n---\n\n## 📂 Project Structure\n\n```\n.\n├── pages\n│   ├── api\n│   │   ├── analyze-posts.ts      # API for analyzing blog posts\n│   │   ├── check-session.ts     # API for admin session validation\n│   ├── analysis.tsx             # Admin dashboard for analysis\n│   ├── index.tsx                # Homepage\n├── prisma\n│   ├── schema.prisma            # Database schema\n├── public                       # Static assets\n├── styles                       # Global CSS styles\n├── components                   # Reusable components\n└── README.md                    # Project documentation\n```\n\n---\n\n## 🔧 Setup \u0026 Installation\n\nFollow these steps to run the project locally:\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/BlackHatDevX/choco-blogo.git\n   cd choco-blogo\n   ```\n\n2. **Install Dependencies**:\n\n   ```bash\n   npm install\n   ```\n\n3. **Set Up Environment Variables**:\n   Create a `.env` file in the root directory and add:\n\n   ```env\n   DATABASE_URL=postgres://your-db-user:your-db-password@your-db-host/your-db-name\n   ```\n\n4. **Set Up Prisma**:\n   Generate the Prisma client and apply migrations:\n\n   ```bash\n   npx prisma generate\n   npx prisma migrate dev --name init\n   ```\n\n5. **Start the Development Server**:\n   ```bash\n   npm run dev\n   ```\n   Visit [http://localhost:3000](http://localhost:3000) to view the app.\n\n---\n\n## 🤝 Contributions\n\nContributions are welcome! To contribute:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Submit a pull request with a detailed description of your changes.\n\n---\n\n## 📝 License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n---\n\n## 👤 Author\n\n**Jash Gro**  \nGitHub: [BlackHatDevX](https://github.com/BlackHatDevX)  \nPortfolio: [bit.ly/jashgro](https://bit.ly/jashgro)\n\nFeel free to reach out for any queries or suggestions!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackhatdevx%2Fchoco-blogo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackhatdevx%2Fchoco-blogo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackhatdevx%2Fchoco-blogo/lists"}