added apple shortcut client
This commit is contained in:
@@ -2,12 +2,15 @@
|
||||
|
||||
This is a set of scripts.
|
||||
|
||||
- **The client** script tracks study sessions and syncs them with a CalDAV calendar.
|
||||
- **The cli client** script tracks study sessions and syncs them with a CalDAV calendar.
|
||||
- **The apple shortcut client** allows
|
||||
- **The server** script reads from said CalDAV calendar and serves a nice-looking web UI and API endpoint.
|
||||
|
||||
## Usage
|
||||
|
||||
### Client
|
||||
### Clients
|
||||
|
||||
#### cli script
|
||||
|
||||
A very simple implementation, but a good demonstration of the power of using CalDAV as a DB.
|
||||
|
||||
@@ -17,6 +20,17 @@ A very simple implementation, but a good demonstration of the power of using Cal
|
||||
4. The new session will start and display a live timer. To stop it, send `SIGINT` (Ctrl+C).
|
||||
5. You will be asked if you want to sync the session (y|n).
|
||||
|
||||
#### Apple Shortcut
|
||||
**Requirement:** Toolbox Pro app
|
||||
|
||||
`Start Learning`: Lets you select a subject and saves it, together with a timestamp, to a global (Toolbox Pro) variable.
|
||||
|
||||
`Stop Learning`: Creates a calendar event from the session stored in the global variable.
|
||||
|
||||
All with fancy menus, of course.
|
||||
|
||||
|
||||
|
||||
### Server
|
||||
|
||||
The server is written in Python using Flask. It grabs the calendar events via CalDAV and renders a nice-looking UI.
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user