A tiny cli command/daemon for syncing toggl time entries with Jira

toggl-sync

A tiny cli command/daemon for syncing toggl time entries with Jira

Installation

Install the app via brew package manager.

brew tap timemate/tap
brew install toggl-sync

Configuration

Toggl

  1. Login to your toggl account
  2. Visit https://track.toggl.com/profile
  3. Find API token

Jira

  1. Login to your atlassian account
  2. Visit https://id.atlassian.com/manage-profile/security
  3. Create new API token with a name: toggl-sync

Config

Create a file in ~/.toggl-sync/config.yaml

tracker:
  - type: toggl
    token: "token-from-toggl"

# places to sync time entries with
sync:
  - type: jira
    url: https://customer-host.atlassian.net
    login: [email protected]
    token: "token-from-jira"
    projects:
      - DO
      - DEV
  • projects it's a list of project keys in Jira.

Run the app

Brew service

brew services start toggl-sync

The program will start on system start up.

Find logs in here tail -f $(brew --prefix)/var/log/toggl-sync/toggl-sync.log

One time run

toggl-sync sync -period 2w

Where -period specifies the period of time from current moment to sync. In this example 2w - 2 past weeks.

As a service

toggl-sync sync -period 1d --service

Where --service allows program to work as a daemon, it will repeatedly sync time entries every 1 day (1d).

Similar Resources

A tiny command-line orientated PKM tool inspired by Taskwarrior and daily logging.

eden eden is a command line tool for creating and manipulating daily log notes. It started life as a series of different bash script that did various

Jan 20, 2022

minigli is a tiny command argument parser for Go.

minigli is a tiny command argument parser for Go.

Jan 29, 2022

A tiny markup language for terminal output. Makes formatting output in CLI apps easier!

A tiny markup language for terminal output. Makes formatting output in CLI apps easier!

tml - Terminal Markup Language A Go module (and standalone binary) to make the output of coloured/formatted text in the terminal easier and more reada

Dec 14, 2022

cod is a completion daemon for bash/fish/zsh

Cod is a completion daemon for {bash,fish,zsh}. It detects usage of --help commands parses their output and generates auto-completions for your shell.

Dec 25, 2022

Golang daemon to update i3 workspace icons

i3-icons-daemon Is a lightweight golang daemon service that updates your i3 workspace based on the programs that are running in your workspace's windo

Jul 29, 2022

A daemon to make your keyboard backlight smart.

keyboard-backlight-daemon A daemon to make your keyboard backlight smart. Features Light up keyboard backlight based on user interaction (keyboard, mo

Jan 17, 2022

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.

Table of contents Introduction Reference Contributing Introduction Overview git-xargs is a command-line tool (CLI) for making updates across multiple

Dec 31, 2022

git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command

git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command

git-xargs is a command-line tool (CLI) for making updates across multiple GitHub repositories with a single command. You give git-xargs:

Feb 5, 2022

A simple command line time description parser

Zeit Zeit is an extremely simple command line application to read a natural language time description and output it as a timestamp. The main usecase f

Aug 21, 2021
Comments
  • Pluggable architecture

    Pluggable architecture

    Pick a pluggable architecture, which allows implementing go modules and plug them into the main system.

    Example of existing ones: https://github.com/hashicorp/go-plugin

Toggl Track data to file.

toggl-go Toggl Track data to file. Usage ./toggl-go -email "[email protected]" -token "___YOUR_TOGGL_API_TOKEN___" -since 2021 | tee outpu

Jan 10, 2022
a command line tool for syncing a local directory to wnfs

wnfs-sync demo demo CLI application to syncronize a local filesystem directory to a public web-native file system directory. # get this binary, assume

Mar 28, 2022
🔥 [WIP] Interactive Jira Command Line
🔥 [WIP] Interactive Jira Command Line

JiraCLI Interactive Jira CLI ?? This project is still a work in progress ?? This tool mostly focuses on issue search and navigation at the moment. How

Jan 4, 2023
Submit timesheets to Jira from the command line
Submit timesheets to Jira from the command line

JiraTime jiratime makes it easy to submit worklog records to Jira quickly from the command line. It accepts timesheets on standard input so works well

Dec 5, 2022
Interactive CLI helper for creating git branches with JIRA Links and some text

bb (better-branch) Interactive CLI helper for creating git branches with JIRA Links and some text Still in development? Yes How it works? This tiny ut

Aug 18, 2022
jt is a CLI tool for viewing and manipulating JIRA issues.

jt - jira-tool jt is a CLI tool for viewing and manipulating JIRA issues. One common example usage to transition an issue to a new status: jt "In Prog

Aug 9, 2022
A CLI tool to manage bibtex entries written in Go

bibfuse A CLI tool to manage bibtex entries using nickng/bibtex. bibfuse creates an SQLite database file (--db) from given BibTex files (*.bib), and g

Jan 4, 2022
gopsa is a CLI tool to enter timecard entries to the Salesforce PSA platform.
gopsa is a CLI tool to enter timecard entries to the Salesforce PSA platform.

gopsa Overview gopsa is a CLI tool to enter timecard entries to the Salesforce PSA platform. Credit This project is a rewrite of the excellent work fr

Nov 22, 2021
Helper tool to create and assign fix versions in Jira

Jira Helper Helper tool to interact with Jira from CI/CD scripts. Its main purpose is to create and assign version based on GitHub releases to Jira ti

Oct 22, 2022
You-Get is a tiny command-line utility to download media contents (videos, audios, images) from the Web,
You-Get is a tiny command-line utility to download media contents (videos, audios, images) from the Web,

You-Get NOTICE: Read this if you are looking for the conventional "Issues" tab. You-Get is a tiny command-line utility to download media contents (vid

Jan 2, 2023