Skip to content

pingarelho/Kai-STCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kai STCP

Kai OS 2.5 app that displays STCP (Sociedade de Transportes Coletivos do Porto) real-time schedules.

Firefox 48 limitations

This application's javascript code does not use certain modern features, such as the Fetch API instead of XMLHttpRequest, and is not as clean and organised as it could be because Kai OS 2.5 ships with Gecko 48, which does not have full support for ES6, meaning that support for ES modules, for example, is missing.

DigiCert root certificate missing

The STCP website uses a DigiCert certificate, and Kai OS 2.5 will flag it as insecure. I found that injecting an up-to-date subordinate certificate (Thawte TLS RSA CA G1) using this script, which requires your device to have adb and root permissions, fixed this issue. You can read more about how to jailbreak and root your Kai OS device here.

Update (2025)

This app will probably no longer work because STCP has updated its website and is now using a proper API that returns JSON-formatted data about bus lines and stops. I may update the app in the near future to make it compatible with the new API.

About

Kai OS app that displays STCP real-time schedules.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors