This repository has been archived on 2024-04-17. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
Go to file
Brian Hicks 4ad4b937dd
add an "await review" script
2023-09-29 10:36:01 -05:00
AwaitReview.omnifocusjs add an "await review" script 2023-09-29 10:36:01 -05:00
Finish.omnifocusjs 🎨 2022-11-10 09:38:52 -06:00
Gardening.omnifocusjs run prettier on everything 2023-05-22 10:36:25 -05:00
GitHub.omnifocusjs mark project as active if reimported 2022-11-10 09:39:23 -06:00
Linear.omnifocusjs set task due dates from Linear 2023-06-15 13:03:50 -05:00
Picker.omnifocusjs run prettier on everything 2023-05-22 10:36:25 -05:00
Projects.omnifocusjs allow sorting folders, and sort them first 2023-09-05 05:37:46 -05:00
Session.omnifocusjs rejuvenate Session for what I want to do now 2023-04-05 09:20:21 -05:00
types add more globals 2023-05-22 13:45:06 -05:00
.envrc add Nix dev shell 2022-09-09 14:43:25 -05:00
.gitignore add just enough npm stuff to get typescript-language-server working 2023-01-26 08:07:41 -06:00
LICENSE take care of licensing 2022-08-30 16:20:49 -05:00
README.md document gardening 2022-10-14 09:53:10 -05:00
flake.lock update inputs 2023-04-05 09:08:28 -05:00
flake.nix add just enough npm stuff to get typescript-language-server working 2023-01-26 08:07:41 -06:00
package-lock.json add just enough npm stuff to get typescript-language-server working 2023-01-26 08:07:41 -06:00
package.json add just enough npm stuff to get typescript-language-server working 2023-01-26 08:07:41 -06:00
tsconfig.json choose a random task 2022-10-13 20:42:03 -05:00

README.md

OmniFocus Scripts

Linear

Pull tasks from Linear into your OmniFocus database. When this script runs, it will:

  • Create a tag named "teams" and a tag for each team you're pulling work from under it.
  • Create a singleton-item project named the same thing as the project the task is from.
  • Create a task named "TEAM-123 Name of task" with the URL in the note.

It will also make sure those things exist for each project each time it runs. It's fine if you move the "teams" tag or the projects; the script does not expect them to be at the top level.

The first time you run the script, it will prompt you for a personal API token. You can create one of these in your Linear settings (hit g-s and look for "API" on the left-hand sidebar.)

The token is stored in OmniFocus' credentials database that they make available to plugins instead of being stored in plain text somewhere, so it should be reasonably secure. That said, if you want to rotate or remove the key, hold when invoking the script, and you'll be prompted for a new key.

GitHub

Like the Linear script, except it pulls work from assigned GitHub issues instead of Linear tasks. It also creates projects instead of tasks within a project.

Gardening

Various tasks for making sure my OmniFocus database is updated and nice to work with.

Pick

Picks a strategy for what to do next based on the weights of what's available. Some strategies:

  • Do a task (weighted by tag so that work tasks are more likely to be picked on workdays but not on weekends.)
  • Review projects, complete with a prompt for a lens to view the projects through for the session
  • Process inbox
  • Pull work from Linear, GitHub, email, etc.

License

Except for third-party icons and assets listed below, this code is released under the BSD 3-Clause License, included at LICENSE in this source.

Exceptions:

  • The Linear logo icon is provided by Linear in their Brand Guidelines section, and does not have a license listed.
  • Other image icons from Josh Hughes, licensed under "Please feel free to use the icons as you see fit"