A Docker/Dropbox/webhook/emacs based service for automating updates to org files.
- Spins up a container configured with Dropbox.
- Starts serving HTTP requests on port 9010.
- Hitting
/hooks/org-todo?file=FILE&search-string=STRING
will- Open
~/Dropbox/org/FILE
- Search for
STRING
in the file - Trigger
org-todo
which cycles the todo state - Save the buffer
- Open
The first time you start the container, you'll have to authorize access to the dropbox account by visiting a link shown in the terminal.
Important note: The account you are logged in to in the browser will be the account associated with the container.
You can avoid this step by starting/stopping the same container (i.e. not use the --rm
option for docker run). See ./start.sh
.
curl "http://HOST:9010/hooks/org-todo?file=work.org&search-string=Coffee"