Giter Site home page Giter Site logo

alfred-clockify's Introduction

alfred-clockify

Quickly start and stop your Clockify timers from Alfred.

Installation

After installing the workflow, you will be prompted to define its environment variables. To get started, only the Clockify API key is required — the workflow can resolve your user id and any available workspaces once the API key is configured.

After configuring the API key, run the workflow using the .clockify keyword. If your user id has not been defined, you will be prompted to install it. Select the Setup User Account option to automatically resolve the user id from the provided API key.

Once both the API key and user id have been configured, if you have not already configured a workspace id, you will be prompted to select a workspace. Select the Choose Workspace option to pick your workspace from a list.

Workflow Variables

Variable Description
clockify_api_key Your Clockify API key.
clockify_user_id Your Clockify user id.
clockify_workspace_id The workspace id to use when creating and editing time entries.

Workflow Design

alfred-clockify is my first complex Alfred workflow. It uses JXA at its core, and leverages script-driven recursion via a single Script Filter node rather than using multiple workflow nodes to perform operations. Ultimately, I think this yields a more maintainable and less redundant workflow — engaging functional workflow design. If you have any questions about this workflow or the techniques engaged, please feel free to reach-out via e-mail or on Twitter

License

MIT — Hell yeah, free software!

alfred-clockify's People

Contributors

stephancasas 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.