No description
Find a file
2025-07-18 09:45:37 +02:00
ics_to_sms.py Handle HTTP errors, better message formatting for all day events. 2025-07-18 09:45:37 +02:00
LICENSE Initial commit. 2025-06-29 18:35:02 +02:00
pyproject.toml much typos 2025-06-29 18:54:58 +02:00
README.md Installing and deploying in the README. 2025-06-29 18:57:35 +02:00

ICS to SMS

Installing

Just pip install ics-to-sms, in a venv.

Using from command line

It can be used from command line, I like passwordstore so I'd use:

python ics_to_sms.py --ics-url 'https://framagenda.org/.../?export' --ics-username mdk --ics-password "$(pass framagenda)" --free-user "$(pass free/sms-api-id)" --free-api-key "$(pass free/sms-api-key)"

Using with a config file

It can also be configured using a toml file like:

ics_url = "https://..."
ics_username = "mdk"
ics_password = "redacted for my privacy"
free_user = "..."
free_api_key = "..."

then ran using:

python ics_to_sms.py --config config.toml

Deploying on a server

I use an Ansible playbook to deploy this to my server, feel free to copy-paste:

https://git.afpy.org/mdk/infra/src/branch/main/ics_to_sms.yml