This project was created to alleviate users of a daily routinal task that often recurs more than once every day. Tripper can be used to add a travel planning to each appointment in the users Google Agenda. It will block the time to get to an appointment, with the travel time being based on the prefered travel method, it can send departure reminders, share a link to your itinerary in Google Maps and it also updates if appointments are changed.
Report Bug
·
Request Feature
Table of Contents
To get a local copy up and running follow these simple example steps.
- Python >3.10
- Telegram
- Google Calendar
-
Message us to add your Google account to authorized accounts or use the throwaway account provided.
Throwaway with example calendar user: group23sem@gmail.com pass: DikkeTripper
-
Clone the repo
git clone https://gitlab.ewi.tudelft.nl/ti3115tu/2022-2023/Group-23.git
-
Install pip requirements in a virtual environment (if you don't want to run in a venv, adjust the path around line 24 in __main.py__.)
pip install -r requirements.txt
-
Adjust PowerShell ExecutionPolicy
Set-ExecutionPolicy RemoteSigned
-
Add a '[Tripper]' label in the title or description in Google Calendar for each calendar you want to have Trippered.
-
Run the project or '__main__.py' using the virtual environment
We also provide you with a server branch, which is specifically designed for a server! This enables the developer to easily deploy Tripper on a server, but unfortunately only one client can be served at a time as of now. To install the server branch:
- Follow until step 3 from the instructions above.
- Add the path to SSL certificates and server domain to webhook_listener.py
- Add user to users.json
- Start webhook_listener.py and select the user
- Authenticate user!
In the Calendar there need to be events with its dedicated location added to it, as it is shown in the example underneath. With this added to its events, a calendar can look like the other example that is shown beneath. 2 events in one day makes it so you travel from one event location to the other location. The resulting event that is added to the calender looks something like te last example.
- UI using telegram
- Setting a home location for a user
- Travel time calculated using maps
- Getting the preferred traveling method
- Making a calender event of the travel time right before event
- Adding the maps link to it
- Multi users
- Multiple users at the same time
See the open issues for a full list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE.txt
for more information.