Alfred Pac by godbout on GitHub
Alfred Time
Start and stop tracking time with Toggl, Harvest, Everhour or Clockify through Alfred 4. ⏰️
From their README
⚠️⚠️⚠️ this project is archived. i don't use it myself anymore and there's too much work needed to keep it going. (API versions, PHP packages, PHP versions etc.) consider using individual service Workflows like https://github.com/jason0x43/alfred-toggl. ⚠️⚠️⚠️
Alfred Time

Basic workflow to start, stop and continue timers for (currently) Toggl, Harvest, Everhour or Clockify services through Alfred 4.
Current features
- Set up services through Alfred menus
- Start timer
- Stop timer
- Continue (restart) timer
- All live (no more cache issues)
How to use
Features



- Continue a timer (using the ⌘ modifier)

Contribute
- Feel free to let me know if something doesn't work, if you think something could be done better, or just fork and pull request.
Download
Alternatives to Alfred Time
Latest release
- add support for PHP 8.2
- drop support for PHP 8.0, 7.4
18 earlier releases
- fix issues with empty tags that may appear with Clockify
- fix continuing timers with Toggl if project and/or tag is empty
- support Monterey
- update Toggl dependency to use the new api URL
- hide archived projects from projects list for Toggl
- fix typo somewhere somehow
- you can now get all of your 148 projects from Clockify (if you're a workaholic)
- drop support for PHP7.2
- add Clockify service
- Fix missing library issue
- Update the workflow to Alfred 4.
- Setup your timer through Alfred menus. No more config file dirty editing!
- Start, stop, continue timers.
- Toggl or Harvest supported (currently).
- No more cache. All info (timer running, projects list, tags list) is realtime.
Noy a big issue in itself but it might have been confusing for those who didn't type their username/password or API key correctly.
Definitely still room for improvement to handle loads of weird cases (using the workflow but not setting any service to active, for example) but the goal is to get something running quickly. I didn't bother fine tuning yet.
Mainly fix a big where deleted Toggl projects would still show up in the Alfred-Time projects list.
Also:
- Update screenshots with new config file
- Update README, clearer instructions for Harvest
- Update various packages to latest versions
Clean the icons, and deleted files only needed for test purposes.
- Got rid of curl and now using Guzzle, so http calls are blazing fast
- All functionalities (start, stop, undo, delete, continue) now work for both services. Just choose in the config which one is your primary service
- When starting the timer for both services (using the shift modifier), the project and tag list only show the items that are available in both services
- Fix issue where Harvest timer would be wrongly deleted in some cases (OOPS)
- Fix some layout issues
- Icons are now service-dependent (in almost all cases)
- Possibility to delete recent timers
- Possibility to continue recent timer
- Improve handling of non-implemented features of Harvest
- Better titles, subtitles and notifications
Adds:
- Choose of project and tag (currently only for Toggl)
- Undo last Toggl and/or Harvest timer started through the workflow
- Sync data to local cache (currently only for Toggl)
Seems that in some cases Alfred doesn't create the workflow data directory where the config file is stored. That would cause issues at the first start (and actually all the other starts). And also it seems that Alfred never creates the folder, although I thought I tried but I was probably drunk.