|
1 | | -# Curriculum Curator - Web Edition |
| 1 | +# Curriculum Curator |
2 | 2 |
|
3 | | -A web-based educational content analysis and enhancement tool built with FastHTML and Python. |
| 3 | +A pedagogically-aware course content creation platform that helps educators generate high-quality educational materials aligned with their teaching philosophy. |
4 | 4 |
|
5 | 5 | ## Features |
6 | 6 |
|
7 | | -- **Document Import**: Upload PowerPoint (.pptx) and Word (.docx) files |
8 | | -- **AI-Powered Analysis**: Comprehensive content analysis with learning objectives extraction |
9 | | -- **Enhancement Suggestions**: AI-generated improvements for educational content |
10 | | -- **Content Comparison**: Side-by-side before/after comparison views |
11 | | -- **Export Options**: Export enhanced content to various formats |
| 7 | +### 🎓 Teaching Philosophy Integration |
| 8 | +- 9 distinct teaching styles (Traditional, Constructivist, Project-Based, etc.) |
| 9 | +- Adaptive content generation based on your pedagogical approach |
| 10 | +- Teaching style detection questionnaire |
| 11 | + |
| 12 | +### 🧙 Dual User Interfaces |
| 13 | +- **Wizard Mode**: Step-by-step guided creation for beginners |
| 14 | +- **Expert Mode**: All-in-one power interface for experienced users |
| 15 | + |
| 16 | +### 🔌 Extensible Plugin System |
| 17 | +- Built-in validators for content quality, readability, and structure |
| 18 | +- Remediators for automatic content improvement |
| 19 | +- Easy custom plugin development |
| 20 | + |
| 21 | +### 🤖 AI-Powered Generation |
| 22 | +- Multiple LLM provider support (OpenAI, Anthropic, local models) |
| 23 | +- Teaching style-aware prompt engineering |
| 24 | +- Streaming content generation |
| 25 | + |
| 26 | +### 📚 Comprehensive Course Management |
| 27 | +- Multi-course support with weekly organization |
| 28 | +- Various content types (lectures, worksheets, quizzes, projects) |
| 29 | +- Progress tracking and version control |
12 | 30 |
|
13 | 31 | ## Technology Stack |
14 | 32 |
|
15 | | -- **Backend**: FastHTML (Python + HTMX) |
16 | | -- **Document Parsing**: python-docx, python-pptx |
17 | | -- **AI Integration**: LangChain, OpenAI, Anthropic Claude |
18 | | -- **Database**: SQLite |
19 | | -- **Styling**: Tailwind CSS |
20 | | -- **Deployment**: Docker |
| 33 | +- **Backend**: FastHTML (Python web framework with HTMX) |
| 34 | +- **Database**: SQLite with hybrid filesystem storage |
| 35 | +- **UI**: HTMX + Tailwind CSS (no complex JavaScript) |
| 36 | +- **AI Integration**: Pluggable LLM providers |
| 37 | +- **Testing**: pytest with FastHTML support |
| 38 | +- **Type Checking**: basedpyright |
21 | 39 |
|
22 | 40 | ## Quick Start |
23 | 41 |
|
24 | 42 | ```bash |
25 | | -# Install dependencies |
26 | | -pip install -r requirements.txt |
| 43 | +# Clone repository |
| 44 | +git clone https://github.com/yourusername/curriculum-curator.git |
| 45 | +cd curriculum-curator |
| 46 | + |
| 47 | +# Create virtual environment |
| 48 | +python -m venv venv |
| 49 | +source venv/bin/activate # Windows: venv\Scripts\activate |
| 50 | + |
| 51 | +# Install dependencies (using pyproject.toml) |
| 52 | +pip install -e . |
| 53 | + |
| 54 | +# Configure environment (REQUIRED) |
| 55 | +cp .env.example .env |
| 56 | +# Edit .env and add your configuration: |
| 57 | +# - BREVO_API_KEY for email functionality |
| 58 | +# - SESSION_SECRET for security (generate with: openssl rand -hex 32) |
| 59 | + |
| 60 | +# Initialize database |
| 61 | +python init_db.py |
27 | 62 |
|
28 | 63 | # Run development server |
29 | 64 | python app.py |
| 65 | +# Or use the development script with auto-reload: |
| 66 | +python scripts/run_dev.py |
30 | 67 |
|
31 | 68 | # Open browser to http://localhost:5000 |
32 | 69 | ``` |
33 | 70 |
|
34 | | -## Architecture |
| 71 | +## 🔧 Configuration |
| 72 | + |
| 73 | +The application requires configuration via environment variables. Copy `.env.example` to `.env`: |
35 | 74 |
|
| 75 | +```bash |
| 76 | +cp .env.example .env |
36 | 77 | ``` |
37 | | -curriculum-curator-web/ |
38 | | -├── app.py # Main FastHTML application |
39 | | -├── core/ # Business logic |
40 | | -├── components/ # Reusable UI components |
41 | | -├── static/ # CSS, JS, images |
42 | | -└── uploads/ # Temporary file storage |
| 78 | + |
| 79 | +### Required Configuration: |
| 80 | +- `BREVO_API_KEY`: For email verification and password reset (get free API key at https://www.brevo.com) |
| 81 | +- `SESSION_SECRET`: Strong secret for session security (generate with `openssl rand -hex 32`) |
| 82 | +- `APP_BASE_URL`: Your application URL (default: http://localhost:5000) |
| 83 | + |
| 84 | +### Optional Configuration: |
| 85 | +- `SENDER_EMAIL`: Email address for sending emails (default: noreply@curtin.edu.au) |
| 86 | +- `DB_PATH`: Database file location (default: data/curriculum.db) |
| 87 | + |
| 88 | +See [.env.example](.env.example) for all configuration options. |
| 89 | + |
| 90 | +## Documentation |
| 91 | + |
| 92 | +Comprehensive documentation is available in the `docs/` directory: |
| 93 | + |
| 94 | +- [Documentation Index](docs/README.md) |
| 95 | +- [Getting Started Guide](docs/guides/getting-started.md) |
| 96 | +- [Architecture Overview](docs/concepts/architecture.md) |
| 97 | +- [API Reference](docs/api/README.md) |
| 98 | +- [Configuration Reference](docs/reference/configuration.md) |
| 99 | + |
| 100 | +### Quick Links |
| 101 | + |
| 102 | +**For Users:** |
| 103 | +- [Getting Started](docs/guides/getting-started.md) |
| 104 | +- [Teaching Styles Guide](docs/guides/teaching-styles.md) |
| 105 | +- [Deployment Guide](docs/guides/deployment.md) |
| 106 | + |
| 107 | +**For Developers:** |
| 108 | +- [Development Guide](docs/development/DEVELOPMENT_GUIDE.md) |
| 109 | +- [Testing Guide](docs/development/TESTING_GUIDE.md) |
| 110 | +- [Plugin Development](docs/guides/custom-validators.md) |
| 111 | +- [Architecture Decision Records](docs/adr/) |
| 112 | + |
| 113 | +**Reference:** |
| 114 | +- [Configuration Options](docs/reference/configuration.md) |
| 115 | +- [Plugin Catalog](docs/reference/plugin-catalog.md) |
| 116 | +- [Teaching Styles Reference](docs/reference/teaching-styles.md) |
| 117 | + |
| 118 | +## Project Structure |
| 119 | + |
| 120 | +``` |
| 121 | +curriculum-curator/ |
| 122 | +├── app.py # Main FastHTML application |
| 123 | +├── init_db.py # Database initialization script |
| 124 | +├── pyproject.toml # Python project configuration |
| 125 | +├── .env.example # Environment configuration template |
| 126 | +├── core/ # Core business logic |
| 127 | +│ ├── auth.py # Authentication system |
| 128 | +│ ├── email_service.py # Email integration |
| 129 | +│ ├── security.py # Security utilities |
| 130 | +│ ├── course_manager.py # Course management |
| 131 | +│ └── teaching_philosophy.py # Teaching style system |
| 132 | +├── scripts/ # Development & utility scripts |
| 133 | +│ ├── run_dev.py # Development server with auto-reload |
| 134 | +│ ├── run_tests.py # Test runner |
| 135 | +│ ├── check_types.py # Type checking |
| 136 | +│ └── test_plugins.py # Plugin system testing |
| 137 | +├── plugins/ # Plugin system |
| 138 | +│ ├── base.py # Base plugin classes |
| 139 | +│ ├── validators/ # Content validators |
| 140 | +│ └── remediators/ # Content improvers |
| 141 | +├── views/ # UI components |
| 142 | +│ ├── landing.py # Landing page |
| 143 | +│ ├── wizard_mode.py # Step-by-step interface |
| 144 | +│ └── expert_mode.py # Power user interface |
| 145 | +├── tests/ # Test suite |
| 146 | +├── docs/ # Comprehensive documentation |
| 147 | +│ ├── adr/ # Architecture Decision Records |
| 148 | +│ ├── guides/ # User and deployment guides |
| 149 | +│ └── SECURITY.md # Security overview |
| 150 | +└── data/ # Local data storage (gitignored) |
43 | 151 | ``` |
44 | 152 |
|
45 | | -## Previous Version |
| 153 | +## Contributing |
| 154 | + |
| 155 | +We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details. |
| 156 | + |
| 157 | +## License |
| 158 | + |
| 159 | +[License information] |
| 160 | + |
| 161 | +## Acknowledgments |
46 | 162 |
|
47 | | -The original Tauri/Rust desktop version is archived at: https://github.com/michael-borck/curriculum-curator/tree/18f4c024 |
| 163 | +This project is a FastHTML-based reimplementation inspired by the original Tauri desktop application. |
0 commit comments