2023-02-16 16:07:18 -05:00
|
|
|
# AggietimeD
|
|
|
|
|
2023-02-17 10:54:34 -05:00
|
|
|
AggietimeD is a simple daemon service to do some hacked CAS authentication,
|
|
|
|
then sit in the background listening to requests over a unix socket - making it
|
|
|
|
"easy" to write scripts to get Aggie Time data, wherever you need it!
|
2023-02-16 16:07:18 -05:00
|
|
|
|
2023-02-17 16:32:58 -05:00
|
|
|
|
|
|
|
https://user-images.githubusercontent.com/25559600/219797856-76c82934-ceb2-4562-90bc-fff2250562a1.mp4
|
|
|
|
|
|
|
|
|
2023-02-16 16:07:18 -05:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
Something among the lines of:
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://github.com/Simponic/aggietime-cli
|
|
|
|
cd aggietime-cli
|
|
|
|
npm i
|
|
|
|
|
|
|
|
sudo npm install -g .
|
|
|
|
cp .env.example .env
|
|
|
|
chmod 0700 .env
|
|
|
|
```
|
|
|
|
|
|
|
|
Then, set your A-Number and password in `.env`.
|
|
|
|
|
|
|
|
Finally (optional), change the values in `aggietimed.service` and install it in
|
|
|
|
`~/.config/systemd/user`, and enable it with
|
|
|
|
`systemctl --user daemon-reload && systemctl enable --now --user aggietimed`.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Look at `aggietimed -h`.
|