ChromeExtension -
- When "annotate" triggered
- Copy selected text
- Copy current URL
- Copy document.scroll.X and document.scroll.X
- Include other data needed for web annotation standards
- Send to memex.com (or whichever endpoint is for gathering them
- Save ^ data to a local directory (each its own file like maildir)
- Display popup with "recommended" annotations
- Separate application page (chrome extensions have these at chrome://...)
- List of your annotated items as well as a better discovery dashboard
Electron App -
- Electron embeds a website so we're really just embedding a website
- The website
- Single page for functionality (additional pages would be purely social/discovery)
- Monaco for editor (simpler to configure and does more by default (is from VS Code)
- If not loaded already, iterate over directory with local annotations and load into Monaco
- As user types, user should be able to see suggested autocompletes