mobile app v1 + backend server

This commit is contained in:
Odweta
2024-01-26 16:08:27 +01:00
parent 860c4bf503
commit 8cedbc1c15
49 changed files with 765 additions and 741 deletions
+5 -3
View File
@@ -2,9 +2,11 @@
An enhanced version of the ŠkolaOnLine (ŠOL) online school system.
It aims to provide more readable data than the web version and remove some of the annoyances of the mobile app. It is intended to be an Android app in the future, but so far it is **only for Linux** (not tested anywhere else).
It aims to provide more readable data than the web version and remove some of the annoyances of the mobile app. It is intended to be an Android app in the future, but so far it is **only for Linux** (not tested anywhere else). (Android app development in progress though!)
Insiration was taken from [@JakubAndrysek](https://github.com/JakubAndrysek)'s [skola-online-stahovani-znamek](https://github.com/JakubAndrysek/skola-online-stahovani-znamek) project.
# PC Python version
# Features
+ Shows the schedule for the current week
@@ -46,7 +48,7 @@ I am currently working on the Android app, but the implementation is unfortunate
The implementation consists of a local (or maybe remote in the future) server which does the webscraping and session stuff and the actual Android app which shows the data.
To start, you need to set the server up (guide in the /server directory of this repo) on localhost (127.0.0.1) on port 8080 using Termux (tested like that, maybe you can find an another way to host a server on mobile) and it needs to be serving the file fetch.php.
To start, you need to set the server up on localhost (127.0.0.1) on port 8080 using Termux (tested like that, maybe you can find an another way to host a server on mobile) and it needs to be serving the file fetch.php.
To set the server up, run the `run_server.sh` script found in the /server directory.
@@ -54,4 +56,4 @@ It needs to be running all the time, otherwise, the Android app won't be able to
After setting up the server, you can start the app. You will be greeted with the weekly calendar.
There is currently no way of logging into the app though... This is a quite important issue, so I have it at the top of my TODO list.
There is currently no way of logging into the app though... This is a quite important issue, so I have it at the top of my TODO list.