Skip to content

Focus Logger is a backend service that integrates with RescueTime's API to log focus periods. Initiate logging through an Apple Shortcut, simplifying the process of tracking productive time.

Notifications You must be signed in to change notification settings

farhaannishtar/Focus-Logger

Repository files navigation

Overview

Focus Logger is a backend service designed to integrate with RescueTime, enabling users to log their focus periods through a simple POST request. This service is easily accessible via an Apple Shortcut, streamlining the tracking of productive time.

Features

Seamless Integration: Connects directly with RescueTime's API. Apple Shortcut Support: Start or end focus periods with a single tap. Automated Logging: Automatically logs each focus session into RescueTime.

Getting Started

Prerequisites: A RescueTime account. Apple device with Shortcuts app installed.

Installation Clone the repository: bash

git clone https://github.com/farhaannishtar/Focus-Logger

Navigate to the project directory:

cd focus-logger-rescuetime
npm i
npm run dev

Configuration

Obtain your RescueTime API key from RescueTime API settings. Configure the Apple Shortcut to connect with the backend service.

Copy these Apple shortcuts to your apple device.

Start Focus Session

Screenshot 2023-11-18 at 5 57 01 PM

Stop Focus Session

Screenshot 2023-11-18 at 5 53 45 PM

Usage

To log a focus period: Activate the Apple Shortcut with a voice command or via shortcuts app. The backend service will create a POST request to RescueTime, creating / discontinuing a focus session.

About

Focus Logger is a backend service that integrates with RescueTime's API to log focus periods. Initiate logging through an Apple Shortcut, simplifying the process of tracking productive time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published