# OpenLearnX **OpenLearnX** is a cutting-edge decentralized learning and assessment platform that revolutionizes education through adaptive testing, instant feedback, and blockchain-based certification. The platform provides learners with a smarter, personalized, and verifiable way to build and prove skills โ€” from code challenges to real-world learning paths, all backed by blockchain technology. > ๐Ÿ“š **Documentation**: [DOCS_INDEX.md](./DOCS_INDEX.md) | [DOCUMENTATION.md](./DOCUMENTATION.md) | [QUICK_START.md](./QUICK_START.md) --- ## โœจ What Makes It Different? - **๐ŸŽฏ Adaptive Learning:** Challenges that scale dynamically with your skill level using advanced algorithms - **โšก Instant Feedback:** Get results and detailed explanations in real-time - **๐Ÿ” Blockchain Certificates:** Earn tamper-proof NFT certificates as verifiable proof of learning - **๐Ÿ“Š Skill Dashboard:** Track progress over time with comprehensive analytics and competency mapping - **๐ŸŒ Decentralized Storage:** Own your data with IPFS-powered decentralized storage - **๐Ÿ’ป Multi-Language Compiler:** Execute code in 8+ programming languages with secure sandboxing - **๐Ÿค– AI-Powered Quizzes:** Intelligent question generation and adaptive difficulty adjustment - **๐Ÿ‘ฅ Peer Review System:** Collaborative learning with bias detection --- ## ๐Ÿ“Œ Use Cases - **Coding Bootcamps:** Verify student progress with blockchain certificates - **Professional Certification:** Issue tamper-proof credentials for completed courses - **Corporate Training:** Track employee skill development with transparent analytics - **Academic Assessments:** Adaptive testing that accurately measures student ability - **Portfolio Building:** Showcase verified skills to potential employers - **Skill Verification:** Employers can instantly verify candidate credentials on blockchain --- ## ๐Ÿ— Architecture Overview ``` Frontend (Next.js + React) โ†’ Backend (Flask + Python) โ†’ MongoDB Database โ†“ Web3 Layer (Ethereum) โ†“ Smart Contracts (Solidity) โ†’ IPFS Storage ``` **Key Components:** - **Frontend**: Next.js 14, TypeScript, TailwindCSS, MetaMask integration - **Backend**: Flask, TensorFlow, Web3.py, JWT authentication - **Blockchain**: Solidity smart contracts, ERC-721 NFTs, Foundry toolkit - **Database**: MongoDB, Redis cache - **Storage**: IPFS for decentralized metadata --- ## ๐Ÿš€ Quick Start ### Prerequisites - Node.js 18+ - Python 3.10+ - MongoDB 6.0+ - Docker (optional) - MetaMask browser extension ### Installation 1. **Install Foundry** (Blockchain toolkit): ```bash curl -L https://foundry.paradigm.xyz | bash foundryup ``` 2. **Clone the repository**: ```bash git clone https://github.com/th30d4y/OpenLearnX.git cd OpenLearnX ``` 3. **Start local blockchain** (Terminal 1): ```bash anvil --fork-url https://eth.merkle.io ``` 4. **Setup and start backend** (Terminal 2): ```bash cd backend python3 -m venv venv source venv/bin/activate pip install -r requirements.txt # Deploy smart contract python3 scripts/deploy.py # Start backend server python3 main.py ``` 5. **Setup and start frontend** (Terminal 3): ```bash cd frontend pnpm install pnpm run dev ``` 6. **Access the application**: - Open http://localhost:3000 - Connect MetaMask wallet - Start learning! > ๐Ÿ“– **For detailed setup instructions, see [DOCUMENTATION.md](./DOCUMENTATION.md#setup--installation)** --- ## ๐Ÿงพ Repository Event Logging Automation This repository includes a GitHub Actions workflow at: - `.github/workflows/mirror-repo-events-to-logs.yml` It captures repository events (push, pull request activity, stars, forks, create/delete, and related interactions) and appends structured JSON logs to: - `https://github.com/th30d4y/LOGS` ### Required setup Add this repository secret in **OpenLearnX**: - `LOGS_REPO_PAT`: a Personal Access Token with write access to `th30d4y/LOGS` (for example, `contents:write` on that repo). ---