A simple Raycast plugin that logs work entries to ~/Documents/WORKLOG.md organized by date.
-
Install dependencies:
npm install
-
Add an icon file:
- Create or download a PNG icon (512x512px recommended)
- Save it as
assets/command-icon.png - Or update the
iconfield inpackage.jsonto point to your icon
-
Run in development mode:
npm run dev
- Open Raycast
- Search for "Add Worklog Entry"
- Type your work entry
- Optionally add a link (URL)
- Press Enter
Your entry will be added to ~/Documents/WORKLOG.md under today's date header.
- Open Raycast
- Search for "View Worklog"
- Browse your entries organized by day
- Entries with links show a 🔗 icon
- Use actions to:
- Open link (Cmd+L) - if entry has a link
- Copy entry (Cmd+C) - copies the link if present, otherwise the text
- Copy entry with date (Cmd+Shift+C)
- Open worklog file (Cmd+O)
- Show in Finder (Cmd+Shift+F)
The worklog file is organized like this:
## Sunday, November 24, 2024
- Implemented new feature X [[https://github.com/user/repo/pull/456]]
- Fixed bug in component Y
## Saturday, November 23, 2024
- Code review for PR #123 [[https://github.com/user/repo/pull/123]]
- Updated documentationEach entry is added as a bullet point under the current date. Optional links are stored in the format [[url]] at the end of the entry.