Personal python scripts that triggers actions in a list based on current location pragmatic for iPhone platform, but if ask I can deliver script for Android also :)
server comunicates messages via Discord platform
Dependencies:
- pip install openai
- pip install pyicloud==0.9.6.1
- other dependencies to be updated
API & Services registration required:
- Discord - only needs a server with a hook
- Google Geocode - https://developers.google.com/maps/documentation/geocoding/overview
- OpenAi - https://openai.com/blog/openai-api
- iCloud account - https://www.icloud.com/
Configs to update:
- _config.py -> config.py - must have api keys logins and passwords
- _addressList.json -> addressList.json intended to contain list of triggerable addresses and acctions
Application idea structure in abstraction:
- Linux Server
- Phone location extraction 2.1 Position Extraction 2.2 Position Translation into address, or business
- Information delivirence to users phone (discord, facebook mesanger, IRC server client...)
- A list of address triggered actions()
Files:
- loopUpdateLocation.py -> runtime handle
- actions.py -> holds triggarable actions
about programming style: writen in functional hierarchical modular style. It's them scripts after all.