Coder Social home page Coder Social logo

task_gcal_sync's Introduction

task sync google calendar

Task google calendar sync is a script that syncs taskwarrior (http://taskwarrior.org) tasks from and to google calendar.

How to install

pip install git+https://github.com/mehdidc/task_gcal_sync

How to use ?

First, you will need to obtain authorization to use your google calendar. To do that, please follow https://developers.google.com/calendar/quickstart/python. In principle, now you should have downloaded a file called client_secret.json. You need to create a folder in ~/.task_gcal_sync and put client_secret.json there.

Then, you can type:

task_gcal_sync init

in order to choose the google calendar on which to sync. Google calendars have an identifier that you can get from the sharing menu of the corresponding calendar.

Then, you can use the action sync_to_gcal to synchronize your tasks on google calendar.

task_gcal_sync sync_to_gcal

Each task will correspond to one event in the calendar. Only tasks in taskwarrior with the "scheduled" option are considered. The "scheduled" datetime will correspond to the starting event in google calendar. If the task in taskwarrior has a "due" option, then it will correspond to the end of the event in google calendar. If the task in taskwarrior has no "due" option, then the end of the event is the same as the start of the event in google calendar.

You can then change the task starting and end times directly in google calendar and sync back to task warrior.

task_gcal_sync sync_from_gcal

Note that only start end end datetimes are synced back from google calendar.

task_gcal_sync's People

Contributors

mehdidc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.