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.
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.
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
Obtain your RescueTime API key from RescueTime API settings. Configure the Apple Shortcut to connect with the backend service.
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.