Open Source full stack application for managing flex schedules for school students Using Typescript, NextJS, Bun, ElysiaJS, and OneRoster API
GPL-3.0 License
FlexRoster is a comprehensive full-stack application designed to manage flex schedules for high school students. Developed with a focus on flexibility and efficiency, this application allows students to request attendance in different classes during their designated flex period. Built as a monorepo, FlexRoster encompasses multiple apps and shared packages to cater to various roles including students, teachers, and administrators.
Install the CLI Tool not required but recommended by going to the releases page and downloading the latest release for your platform. with curl or wget:
curl -OL https://github.com/biohackerellie/FlexRoster/releases/download/<latest-release>/flexroster_<latest-release>_<platform>.tar.gz
There are 2 binaries with this release, flex
and flexscript
. flex
is the main CLI tool and flexscript
is a script that can be used to automate the syncing of the OneRoster API.
On Windows, until the choco package is created, you will need to run both of these through powershell.
# Run the CLI tool
.\flex.exe -h
# Run a script
.\flexscript.exe -h
On linux or macos, you can just extract the binaries to /usr/local/bin or /usr/bin and run them from the terminal.
# Extract the binaries
tar -xvf flexroster_<latest-release>_<platform>.tar.gz
# Move the binaries to the bin directory
sudo mv flex flexscript /usr/local/bin
# Run the CLI tool
flex -h
# Run a script
flexscript -h
The config file is mandatory for the cli, scriptrunner and main application. The config.yaml
file's default location for windows and poisx systems is in the user's config directory at $HOME/.config/flexroster/config.yaml but both the cli and flexscript take a -config flag to specify a different location. To get a config file you can either copy the exampleConfig.yaml file from the repo and modify it, or just run flex init to generate a new one.
tbd