{"id":31931279,"url":"https://github.com/lizardcat/django-lms","last_synced_at":"2026-05-14T20:05:08.140Z","repository":{"id":313970248,"uuid":"1050720053","full_name":"lizardcat/django-lms","owner":"lizardcat","description":"WIP - Repo for the Django learning management system I'm building for my degree capstone project.","archived":false,"fork":false,"pushed_at":"2025-11-29T17:38:19.000Z","size":232,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-01T21:18:39.946Z","etag":null,"topics":["django","lms","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/lizardcat.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-04T20:42:33.000Z","updated_at":"2025-11-29T17:38:24.000Z","dependencies_parsed_at":"2025-09-09T22:13:24.466Z","dependency_job_id":"102fd1c0-dd38-4f9a-bdc0-5fd08690af2e","html_url":"https://github.com/lizardcat/django-lms","commit_stats":null,"previous_names":["lizardcat/django-lms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lizardcat/django-lms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizardcat%2Fdjango-lms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizardcat%2Fdjango-lms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizardcat%2Fdjango-lms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizardcat%2Fdjango-lms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lizardcat","download_url":"https://codeload.github.com/lizardcat/django-lms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lizardcat%2Fdjango-lms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33041232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["django","lms","python"],"created_at":"2025-10-14T04:33:26.597Z","updated_at":"2026-05-14T20:05:08.135Z","avatar_url":"https://github.com/lizardcat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django LMS - AI-Powered Learning Management System\n\nA comprehensive Django-based Learning Management System with AI assistance, real-time chat, and livestreaming capabilities. Built for USIU-A capstone project.\n\n## ✨ Features\n\n### 🎓 Core LMS Features\n- **User Management**: Role-based access control (Students, Instructors, Admins)\n- **Course Management**: Create, publish, and manage courses with enrollment system\n- **Assignments**: Multiple assignment types (Homework, Quiz, Project, Exam, Essay)\n- **Grading System**: Weighted categories, grade scales, automatic calculations\n- **Calendar**: Event management with multiple views (Month, Week, Day)\n- **Notifications**: System-wide notifications and course announcements\n\n### 🤖 AI-Powered Features\n**For Students:**\n- Quiz hints and explanations\n- Answer review before submission\n- Concept clarification\n- Personalized study recommendations\n- Post-submission feedback\n\n**For Teachers:**\n- AI-powered grading assistance with confidence scores\n- Automated feedback generation\n- Student performance analytics\n- Learning gap identification\n- Struggling student detection\n- Bulk grading support\n\n### 💬 Real-Time Chat\n- Course-based chat rooms\n- Direct messaging between users\n- Group chats\n- Message read receipts\n- Typing indicators\n- User presence tracking\n- File sharing support\n\n### 📹 Livestreaming\n- Live video streaming with WebRTC\n- Interactive Q\u0026A during streams\n- Live chat during streams\n- Stream recording\n- Viewer analytics (current, peak, total views)\n- Watch time tracking\n- Question upvoting and pinning\n\n## 🏗️ Project Structure\n\n```\ndjangolms/\n├── djangolms/\n│   ├── accounts/          # User management \u0026 authentication\n│   ├── courses/           # Course management\n│   ├── assignments/       # Assignment submission \u0026 tracking\n│   ├── grades/            # Grading system\n│   ├── events/            # Calendar \u0026 event management\n│   ├── notifications/     # Announcements \u0026 notifications\n│   ├── ai_assistant/      # AI-powered assistance\n│   ├── chat/              # Real-time chat functionality\n│   ├── livestream/        # Livestreaming \u0026 WebRTC\n│   ├── settings.py        # Django configuration\n│   ├── urls.py            # URL routing\n│   ├── asgi.py            # ASGI config for Channels\n│   └── celery.py          # Background task configuration\n├── templates/             # HTML templates\n├── static/                # CSS, JS, images\n├── media/                 # User uploads\n├── requirements.txt       # Python dependencies\n└── manage.py              # Django management script\n```\n\n## 🛠️ Tech Stack\n\n**Backend:**\n- Django 5.1.4\n- Django REST Framework 3.15.2\n- Django Channels 4.2.0 (WebSockets)\n- Celery 5.4.0 (Background tasks)\n\n**AI Integration:**\n- Anthropic Claude API (claude-3-5-sonnet-20241022)\n- OpenAI API support\n\n**Real-time \u0026 Streaming:**\n- Django Channels + Redis\n- WebRTC for peer-to-peer streaming\n- WebSocket for chat and live updates\n\n**Database:**\n- SQLite (Development)\n- PostgreSQL (Production-ready)\n\n**Frontend:**\n- Django Templates\n- JavaScript (WebSocket clients, WebRTC)\n\n## 🚀 Getting Started\n\n### Prerequisites\n- Python 3.10+\n- Redis (for Channels and Celery)\n- PostgreSQL (optional, for production)\n\n### Installation\n\n1. **Clone the repository**\n```bash\ngit clone \u003crepository-url\u003e\ncd django-lms\n```\n\n2. **Create virtual environment**\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n```\n\n3. **Install dependencies**\n```bash\npip install -r requirements.txt\n```\n\n4. **Set up environment variables**\n```bash\ncp .env.example .env\n# Edit .env and add your API keys and configuration\n```\n\n5. **Run migrations**\n```bash\npython manage.py makemigrations\npython manage.py migrate\n```\n\n6. **Create superuser**\n```bash\npython manage.py createsuperuser\n```\n\n7. **Run Redis** (in a separate terminal)\n```bash\nredis-server\n```\n\n8. **Run Celery** (in a separate terminal)\n```bash\ncelery -A djangolms worker -l info\n```\n\n9. **Run the development server**\n```bash\npython manage.py runserver\n```\n\nor with Daphne (for WebSocket support):\n```bash\ndaphne -b 0.0.0.0 -p 8000 djangolms.asgi:application\n```\n\n10. **Access the application**\n- Main site: http://localhost:8000\n- Admin panel: http://localhost:8000/admin\n\n## 📝 Configuration\n\n### AI API Keys\nAdd your API keys to `.env`:\n```\nANTHROPIC_API_KEY=your-anthropic-api-key\nOPENAI_API_KEY=your-openai-api-key\n```\n\n### Redis Configuration\n```\nREDIS_HOST=localhost\nREDIS_PORT=6379\n```\n\n### Channel Layers\nFor development without Redis, update `settings.py`:\n```python\nCHANNEL_LAYERS = {\n    'default': {\n        'BACKEND': 'channels.layers.InMemoryChannelLayer'\n    }\n}\n```\n\n## 🎯 Key URLs\n\n- `/accounts/` - User authentication\n- `/courses/` - Course management\n- `/assignments/` - Assignments\n- `/grades/` - Gradebook\n- `/calendar/` - Event calendar\n- `/ai/` - AI assistant features\n- `/chat/` - Real-time chat\n- `/livestream/` - Livestreaming\n\n## 📊 Database Models\n\n### AI Assistant\n- `AIInteraction` - Track all AI interactions\n- `AIGradingSuggestion` - AI grading suggestions\n- `StudentAnalytics` - Performance analytics\n- `QuizAssistanceSession` - Quiz help sessions\n\n### Chat\n- `ChatRoom` - Chat rooms (course, direct, group)\n- `Message` - Chat messages\n- `MessageReadReceipt` - Read tracking\n- `UserPresence` - Online status\n- `ChatNotification` - Unread message notifications\n\n### Livestream\n- `LiveStream` - Streaming sessions\n- `StreamViewer` - Viewer tracking\n- `StreamRecording` - Recorded streams\n- `QAQuestion` - Q\u0026A during streams\n- `QuestionUpvote` - Question voting\n- `StreamChat` - Stream chat messages\n\n## 🔒 Security Notes\n\n- Never commit `.env` file or API keys\n- Use environment variables for sensitive data\n- Configure `ALLOWED_HOSTS` for production\n- Set `DEBUG = False` in production\n- Use strong `SECRET_KEY`\n\n## 🤝 Contributing\n\nThis is a capstone project. Contributions and feedback are welcome!\n\n## 📄 License\n\n[Specify your license here]\n\n## 👨‍💻 Author\n\nAlex Raza - USIU-A Capstone Project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flizardcat%2Fdjango-lms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flizardcat%2Fdjango-lms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flizardcat%2Fdjango-lms/lists"}