{"id":26616616,"url":"https://github.com/bernietv/duo-clone","last_synced_at":"2026-04-29T11:02:11.747Z","repository":{"id":274461330,"uuid":"891059191","full_name":"BernieTv/Duo-Clone","owner":"BernieTv","description":"Duolingo Clone build with NextJS and Drizzle 🦉🟢📚🌏🧠","archived":false,"fork":false,"pushed_at":"2025-01-27T15:05:28.000Z","size":580,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T07:47:27.723Z","etag":null,"topics":["drizzle-orm","nextjs","stripe","zustandjs"],"latest_commit_sha":null,"homepage":"https://duolingo-clone-ali.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BernieTv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-11-19T16:49:42.000Z","updated_at":"2025-01-27T15:05:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3c965c6-1438-4ee5-8787-5be6ff550b7e","html_url":"https://github.com/BernieTv/Duo-Clone","commit_stats":null,"previous_names":["bernietv/duo-clone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BernieTv/Duo-Clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BernieTv%2FDuo-Clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BernieTv%2FDuo-Clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BernieTv%2FDuo-Clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BernieTv%2FDuo-Clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BernieTv","download_url":"https://codeload.github.com/BernieTv/Duo-Clone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BernieTv%2FDuo-Clone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32422532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["drizzle-orm","nextjs","stripe","zustandjs"],"created_at":"2025-03-24T07:39:23.787Z","updated_at":"2026-04-29T11:02:11.738Z","avatar_url":"https://github.com/BernieTv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 🌟 Duolingo Clone Built with Next.js, React, Drizzle, and Stripe 🚀\n\nA fun, gamified language-learning platform inspired by Duolingo, built with modern technologies to provide an immersive experience. This project leverages AI voices, gamification features, and a robust backend system to help users learn new languages while having fun. 🎉📚\n\n---\n\n### 📋 **Table of Contents** 🔗\n\n1. [Project Description](#project-description) 📝\n2. [Tech Stack](#tech-stack) 💻\n3. [Key Features](#key-features) ✨\n4. [Prerequisites](#prerequisites) ⚙️\n5. [Cloning the Repository](#cloning-the-repository) 🔥\n6. [Install Packages](#install-packages) 📦\n7. [Setup .env File](#setup-env-file) 🔑\n8. [Setup Drizzle ORM](#setup-drizzle-orm) 🗄️\n9. [Seed the App](#seed-the-app) 🌱\n10. [Start the App](#start-the-app) 🚀\n\n---\n\n### 📝 **Project Description** 📚\n\nThis project is a Duolingo clone built using Next.js, React, Drizzle, and Stripe, offering a fully functional language-learning experience. It includes various gamification elements like hearts ❤️, points 🌟, and leaderboards 🏆, plus additional features such as AI-generated voices 🗣️ and a premium tier 💳 with Stripe for unlimited hearts 💖.\n\n---\n\n### 💻 **Tech Stack** 🛠️\n\n- **Next.js 14** 🌐 - Framework for building fast, server-rendered React applications 🚀\n- **React** ⚛️ - Library for building user interfaces 💻\n- **DrizzleORM** 🌧️ - Lightweight ORM for database interaction 💾\n- **PostgresDB (NeonDB)** 🗄️ - Database used for storing user data and progress 🔒\n- **Stripe** 💳 - Payment processing for Pro Tier subscription 💰\n- **Clerk** 🔐 - Authentication and user management 👤\n- **ElevenLabs AI** 🧠 - AI voices for dynamic and personalized language lessons 🎙️\n- **Shadcn UI** 🎨 - Component system for a modern, responsive design 🌟\n- **React Admin** 🛠️ - Admin dashboard for managing the app ⚙️\n- **Vercel** 🌐 - Platform for fast and reliable deployment 🌎\n- **Tailwind CSS** 🪶 - Utility-first CSS framework for rapid UI development 🎨\n\n---\n\n### ✨ **Key Features** 🔑\n\n- 🌐 **Next.js 14** \u0026 server actions for optimal performance 🚀\n- 🗣️ **AI Voices** powered by ElevenLabs AI for dynamic language learning 🧠\n- 🎨 **Beautiful Component System** using Shadcn UI for seamless UI/UX ✨\n- 🎭 **Amazing Characters** designed by KenneyNL for an engaging experience 👾\n- 🔐 **Authentication** via Clerk for secure sign-in and user management 🔑\n- 🔊 **Sound Effects** to enhance the learning atmosphere 🎧\n- ❤️ **Hearts System** for in-game challenges and progression 💖\n- 🌟 **Points / XP System** to track and motivate user progress 📈\n- 💔 **No Hearts Left Popup** when hearts run out, creating urgency ⏳\n- 🚪 **Exit Confirmation Popup** to prevent accidental exits ⚠️\n- 🔄 **Practice Old Lessons** to regain hearts and keep progressing 💪\n- 🏆 **Leaderboard** to encourage friendly competition 🥇\n- 🗺️ **Quests Milestones** for a gamified learning experience 🛤️\n- 🛍️ **Shop System** to exchange points for hearts 💰\n- 💳 **Pro Tier** unlocking unlimited hearts with Stripe for premium access 💎\n- 🏠 **Landing Page** for easy navigation and access 🧭\n- 📊 **Admin Dashboard** powered by React Admin for smooth management 🧑‍💼\n- 🌧️ **ORM Integration** using DrizzleORM for database handling 🔄\n- 💾 **PostgresDB** via NeonDB for robust data storage 🗃️\n- 🚀 **Deployment** on Vercel for fast and reliable hosting 🌎\n- 📱 **Mobile Responsiveness** ensuring accessibility on all devices 📲\n\n---\n\n### ⚙️ **Prerequisites** 🛠️\n\nEnsure you have **Node version 14.x** installed on your system. 💻🔧\n\n---\n\n### 🔥 **Cloning the Repository** 💾\n\nTo clone the repository, run the following command:\n\n```shell\ngit clone https://github.com/BernieTv/Duo-clone.git\n```\n\n---\n\n### 📦 **Install Packages** 🧩\n\nInstall the required packages using npm:\n\n```shell\nnpm i\n```\n\n---\n\n### 🔑 **Setup .env File** 🔒\n\nCreate your `.env` file and configure the following environment variables:\n\n```js\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=\"\"\nCLERK_SECRET_KEY=\"\"\nDATABASE_URL=\"postgresql://...\"\nSTRIPE_API_KEY=\"\"\nNEXT_PUBLIC_APP_URL=\"http://localhost:3000\"\nSTRIPE_WEBHOOK_SECRET=\"\"\n```\n\n---\n\n### 🗄️ **Setup Drizzle ORM** 🌧️\n\nTo set up the database schema, run:\n\n```shell\nnpm run db:push\n```\n\n---\n\n### 🌱 **Seed the App** 🌾\n\nTo seed the application with data, run:\n\n```shell\nnpm run db:seed\n```\n\nOr for production setup:\n\n```shell\nnpm run db:prod\n```\n\n---\n\n### 🚀 **Start the App** 🎉\n\nTo run the app in development mode, execute:\n\n```shell\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernietv%2Fduo-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbernietv%2Fduo-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernietv%2Fduo-clone/lists"}