Skip to content

Imports Toggl tasks into Clockify. Transforms Toggl tags to Clockify tasks.

Notifications You must be signed in to change notification settings

nikdo/clockify-import

Repository files navigation

Clockify Import

Imports Toggl tasks into Clockify. Transforms Toggl tags to Clockify tasks.

Configure API connections by creating .env file from .env.template.

Configure transformation in config.json file.

Usage

Sync tasks from Toggl to Clockify for a specific date:

npm start -- sync 2020-10-10

Get Toggl report for a specific date:

npm start --silent -- fetch 2020-10-10 > toggl-report.json

Push saved report entries to Clockify:

npm start -- push toggl-report.json

TODO

  • OH! if somebody types "yesterday", does he mean current timezone yesterday?
    • if it is a script running on server
  • create cli package
  • skip non-billable entries
    • make that configurable
  • extract tag to task functionality to config script
  • read config file in runtime
    • use js-yaml to load yaml
    • move config file from repo
  • non-functional
    • improve rate limiting (search "rate limiting rxjs")
    • create interceptor for error in both APIs
    • create interceptor for spinner

About

Imports Toggl tasks into Clockify. Transforms Toggl tags to Clockify tasks.

Resources

Stars

Watchers

Forks