Giter Site home page Giter Site logo

timecamp-cli's Introduction

TimeCamp CLI

Access TimeCamp using CLI to make time tracking easier.

Setup

  1. npm install
  2. npm link
  3. Create a .js file called 'key.js' and put it in the root of the folder - in there define your timecamp API key like this: var timecamp_api_key = "xxxxxxxxxxxxxxx"; Find your API key in your account settings

Input flags

Flag Alt Description
-t --task [note] specify api action: start-timer, stop-timer
-a --auto try to match a task for new timer based on tasks keywords and a note provided in argument
-k --key your API key (optional)
-v --verbose enable console logging
-n --note [note] add a note

Usage

Start a new timer without a task

timecamp -t start-timer -n "Time entry note" Start new timer and stop automatically current timer if it was running.

Start a new timer and try to find matching task

timecamp -t start-timer -a -n "Time entry note with keywoard" Start new timer and try to find proper task if a keyword from a task is found in the note from the argument.

Stop a timer

timecamp -t stop-timer Stop current timer if it's running.

Ideas

  • timer-status action to get current timer and elapsed time, then use crontab to show notification of currently running timer every 15 minutes
  • add-keywoard action to add new keyword quickly
  • parameter to start a new timer with a note from a clipboard and try to find a task automatically
  • automatic time tracking in OmniFocus and Apple Scripts learn how...

Special thanks

Changelog

  • 1.0.0 - took 6h to make first version

timecamp-cli's People

Contributors

kamil-rudnicki avatar

Stargazers

Brian Burns 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.