Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

ading2210/openq

Repository files navigation

Logo

OpenQ is an open source frontend for Q Student Connection.

Features:

Currently, OpenQ is able to:

  • Login
  • List and display students
  • List courses and grades
  • Display attendance data
  • Display demographic data

Since OpenQ is in early development, the current feature set is very incomplete.

Running:

To run this project for yourself, follow these steps:

  1. Clone this repository.
  2. Install the needed dependancies by running pip3 install -r requirements.txt.
  3. Copy config/defaults.json to config/config.json and modify the options to your liking. Make sure to set the "endpoint"option to the url of your Q instance's login screen.
  4. Run python3 main.py to start the server.
  5. Alternatively, install GNU Screen on your system and run bash scripts/start.sh. You can then use screen -dr webserver to view the server log.

Configuration Options:

The config file is located at config/config.json. If it doesn't exist, it'll be created automatically.

{
  "debug": false, //run flask in debug mode and include stacktraces in error responses
  "server_port": 5000, //http server port
  "server_address": "0.0.0.0", //http server bind address
  "default_endpoint": null, //default q endpoint to use
  "gzip_level": 9 //gzip compression level for json responses (false to disable)
  "indent_json": false //apply indent to json responses (set to an integer to enable, false to disable)
}

API Documentation:

OpenQ provides an HTTP API which makes interfacing with Q significantly easier.

Once the API is complete, proper documentation will be placed here. In the meantime, look at the API related code in main.py to get an idea on how it works.

Credits:

Icons credit: Iconoir (license)

Font credit: Fredoka (license)

This project uses pytailwindcss (license), Flask (license), and lxml (license).

License:

This prject is licensed under the GNU GPL v3.

About

An open-source frontend for Q Student Connection. (abandoned)

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •