Comment

Comment by cosmic_cheese

The macOS services model seems like a good fit for this kind of thing. Services are little bits of context-aware functionality that apps expose to enable integration between apps without active developer involvement. An example, in most Mac apps if you select text, right-click to open the context menu, and open the Services submenu you’ll see a number of services that do something with the highlighted text.

Ideally the SRS app would make services available to facilitate quick creation of new cards, so for example one might highlight some text, right-click, and select Services → New SRS Card… which then opens an in-place lightweight card creator dialog.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton