From 1de78cafef4d7047346b67a0bc2049bd40be8bee Mon Sep 17 00:00:00 2001 From: Campbell Alden Date: Sat, 22 Jul 2023 00:23:59 +0900 Subject: [PATCH] Remove refactor notes --- REFACTOR.md | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 REFACTOR.md diff --git a/REFACTOR.md b/REFACTOR.md deleted file mode 100644 index bfeb8c4..0000000 --- a/REFACTOR.md +++ /dev/null @@ -1,15 +0,0 @@ -# Refactor Goals -1. Speed things up. Relying on things.py (and python in general) makes the code slow. Add in the fact that the -`nix-shell` logic tends to run every day and pulls down the universe, the current day reporter is quite slow -2. Clean up the code. Using a better language will help some, but in particular using a bonafide templating library -should improve the code. -3. Stability. Using `osascript` with the Things AppleScript API will avoid future problems that `things.py` is -constantly running into because they are overly coupled to the Things sqlite database schema. - -# Ideas -- Move to rust using `osascript` to drive interactions with things -- Write a small library of scripts in JS that rely on the OSA infrastructure to call out to things, and package up -content into JSON for ease of use in rust. - -# Resources -I found a really great gists for working with osascript and it even has Things examples: https://gist.github.com/tommorris/99bcbbcf445bb6475797