All Projects → bokub → wakatime-to-toggl

bokub / wakatime-to-toggl

Licence: MIT License
📩 Sync your WakaTime data in Toggl

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to wakatime-to-toggl

jekyll-deploy-action
🪂 A Github Action to deploy the Jekyll site conveniently for GitHub Pages.
Stars: ✭ 162 (+604.35%)
Mutual labels:  workflow
monopacker
A tool for managing builds of monorepo frontend projects with eg. npm- or yarn workspaces, lerna or similar tools into a standalone application - no other tools needed.
Stars: ✭ 17 (-26.09%)
Mutual labels:  workflow
bitnami-docker-airflow-scheduler
Bitnami Docker Image for Apache Airflow Scheduler
Stars: ✭ 19 (-17.39%)
Mutual labels:  workflow
alfred-mailto
Send emails to recipients and groups from Alfred
Stars: ✭ 59 (+156.52%)
Mutual labels:  workflow
hugo-gh-pages
🚀 Build and Publish Your Hugo Site to GitHub Pages 🚀
Stars: ✭ 37 (+60.87%)
Mutual labels:  workflow
tumbleweed
Lightweight workflow engine microservice implement BPMN 2.0
Stars: ✭ 23 (+0%)
Mutual labels:  workflow
polystores
A library for performing hyperparameter optimization
Stars: ✭ 48 (+108.7%)
Mutual labels:  workflow
AlfredWorkflows
My workflow creations for Alfred on macOS.
Stars: ✭ 55 (+139.13%)
Mutual labels:  workflow
alfred-microsoft-onenote-navigator
Use Alfred to browse through your Microsoft OneNote notebooks, section groups and sections and then jump to them instantly.
Stars: ✭ 52 (+126.09%)
Mutual labels:  workflow
guilyx
Dynamic Profile with github statistics, coding info (time and languages) with WakaTime and music status with the spotify API, leave a ⭐ if you like it
Stars: ✭ 175 (+660.87%)
Mutual labels:  wakatime
benten
A language server for Common Workflow Language
Stars: ✭ 50 (+117.39%)
Mutual labels:  workflow
version-check
An action that allows you to check whether your npm package version has been updated
Stars: ✭ 65 (+182.61%)
Mutual labels:  workflow
RWorkflow
📑 My approach to an analysis or product produced with R
Stars: ✭ 25 (+8.7%)
Mutual labels:  workflow
iSkyLIMS
is an open-source LIMS (laboratory Information Management System) for Next Generation Sequencing sample management, statistics and reports, and bioinformatics analysis service management.
Stars: ✭ 33 (+43.48%)
Mutual labels:  workflow
alfred-fanfou
Alfred workflow for Fanfou
Stars: ✭ 15 (-34.78%)
Mutual labels:  workflow
craft-text-detector
Packaged, Pytorch-based, easy to use, cross-platform version of the CRAFT text detector
Stars: ✭ 151 (+556.52%)
Mutual labels:  workflow
drupal9ci
One-line installers for implementing Continuous Integration in Drupal 9
Stars: ✭ 137 (+495.65%)
Mutual labels:  workflow
tip
GitHub Action to keep a 'tip' pre-release always up-to-date
Stars: ✭ 18 (-21.74%)
Mutual labels:  workflow
bistro
A library to build and execute typed scientific workflows
Stars: ✭ 43 (+86.96%)
Mutual labels:  workflow
simpleflow
Python library for dataflow programming.
Stars: ✭ 67 (+191.3%)
Mutual labels:  workflow

WakaTime to Toggl

Version code style: prettier Downloads CI

Sync your WakaTime data in Toggl

  • Works with free accounts
  • Can be automated with Github Actions

Prerequisites

Option 1 - Run manually on your computer

  1. Download and install Node.js
  2. Install wakatime-to-toggl with npm i -g wakatime-to-toggl
  3. Run the following command to sync data from yesterday: wakatime-to-toggl -w <wakatime-api-key> -t <toggl-api-key>
  4. Ideally, run wakatime-to-toggl everyday

Option 2 - Run automatically everyday using Github Actions

  1. Fork this repository
  2. From your new fork, go to Settings > Secrets
  3. Add the following secrets using the New secret button:
  • TOGGL_API_KEY: Your Toggl API Key
  • WAKATIME_API_KEY: Your Wakatime API Key Screenshot
  1. Go to the Actions tab of your fork
  2. Click set up a workflow yourself
  3. Copy-paste this workflow:
name: Run wakatime-to-toggl everyday
on:
    schedule:
        - cron: 30 2 * * * # Everyday at 02:30 AM UTC. You can change it according to your timezone
jobs:
    run:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/setup-node@v1
              with:
                  node-version: 12
            - run: npx wakatime-to-toggl -w "$WAKATIME_API_KEY" -t "$TOGGL_API_KEY"
              env:
                  TOGGL_API_KEY: '${{ secrets.TOGGL_API_KEY }}'
                  WAKATIME_API_KEY: '${{ secrets.WAKATIME_API_KEY }}'
  1. Click Start commit then Commit new file to save

That's it! wakatime-to-toggl will run every day at 2:30 AM UTC (unless you changed it in the workflow)

You can come back to the Actions tab later to see the logs

Things to know

  • Entries shorter than 2 minutes will be ignored. This duration is configurable
  • Duplicate entries won't be added if they are detected
  • Projects will be created in your default workspace. You can move them to another workspace if you want
  • Time entries will be created with a default description ("Development"). You can edit it, it won't break duplicates detection

Detailed usage

$ wakatime-to-toggl --help

  Usage
    $ wakatime-to-toggl -w <wakatime-api-key> -t <toggl-api-key>

  Options
    --wakatime,       -w  Your Wakatime api key
    --toggl,          -t  Your Toggl api key
    --day,            -d  The day to fetch. 0 is today, 1 is yesterday... Default: 1
    --min-duration    -m  Minimum duration (in seconds) of entries to sync. Default: 120
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].