add some notes in the README and flake.nix

A couple hints to remind me what I'm doing
This commit is contained in:
Anish Lakhwara 2024-11-15 22:56:51 -08:00
parent 0ca396148b
commit 6ac181fca7
2 changed files with 22 additions and 0 deletions

View file

@ -17,6 +17,25 @@ I also need to find out a solution to virtual tags, and especially ID
I need it to keep integration with Kitaab. That largely means a _json interface, which is fine. Some compatibility layer with Taskwarrior for taskwarrior-tui would be cool too, but isn't yet on the goal list.
## MVP
For me to start using it one more piece of the puzzle needs to be worked out:
Identity. I am vaguely aware of how to generate a room, and then use the room id to sync across the network
But that doesn't stop anybody from then connecting to your room, and messing up your data
For now, something simple like creating a key in localStorage and using that in some fashion to validate that the data is from the right person. I'll then need some kind of key transfer thing, such that we can authorize or generate subkeys.
I'm not really sure how that will work yet.
## Parsing
For the react application (in `mast-react-app`) I actually had to copy the parser to `src/lib/` in order to get it to build.
The command to build the parsers is
```
npx peggy --format es command_js.peg
```
## Status
A vaguely unordered list of the next tasks to be accomplished, and those recently completed

View file

@ -96,6 +96,9 @@
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [ go pigeon nodejs sqlite git-bug openssl ];
# TODO:
# Shell Aliases don't work for direnv because they're not shell portable
# Find an alternative to this
shellHook = ''
alias start-dev='npm run dev'
alias build-dev='npm run build'