schicho / sabanci

TUI application displaying student information for Sabanci University

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sabanci University TUI Application

A simple command line application for viewing the one's student information at Sabanci University. It is written in Go using the Bubbletea library.

Currently, it supports the following features:

  • Viewing your schedule for the current day
  • Viewing your wallet balance of your student card
  • Viewing the cafeteria meal plan

samplescreenshot

You can login with your Sabanci University credentials. The application will not store your credentials. It is only used for logging in to the CAS (Central Authentication Service) and getting the session cookie. The application will store your session cookies so the next time you run the application, you will not need to login manually again.

Contributing

The application is written in Go. You can use the newest Go toolchain to build the application.

Contributions are welcome. You can open an issue or a pull request to contribute to the project. Some ideas for contributions:

  • Adding support for the shuttle bus schedule
  • Adding support for the library information

The information is not retrieved via an API. Rather, it is scraped from the Sabanci University website, usually by calling the right ajax endpoints. You can find examples in the codebase. Every endpoint needs to have a retrieve function and a parse function. Finally, the service needs to be called by a bubbletea component.

I am only studying at Sabanci University for one semester as an exchange student. If there is interest in this project beyond my stay, I may transfer the ownership of the project to someone else.

Installation

You can download the latest release from the releases page.

If you have Go installed, you can also install the application with:

go install github.com/schicho/sabanci/cmd/sabanci@latest

Disclaimer

This project and application is not affiliated with Sabanci University.

About

TUI application displaying student information for Sabanci University

License:MIT License


Languages

Language:Go 100.0%