A FastAPI-based web application for parsing course schedules, available at CQU Time. You can generate 课表.ics and import it to your device.
To get started, ensure you have the following:
- Clone the Repositor
git clone https://github.com/n19htfall/cqutime.git
cd cqutime- Set Up a Virtual Environment (optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate- Install Dependencies Using
pip
pip install -r requirements.txt- Configure Frontend URL
-
In the root directory, manually create a file named
UrlConfig.py. -
Add the following content, replacing the URL with your frontend address:
FRONTED_URL = "http://localhost:3000" # Example for local development- Run the Application
python main.pyAnd the will be available at http://127.0.0.1:8849.
This project is licensed under the MIT License. See the License file for details.