Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action urls for controlling edna, capturing data into edna #43

Open
kjk opened this issue Jul 5, 2024 · 0 comments
Open

Action urls for controlling edna, capturing data into edna #43

kjk opened this issue Jul 5, 2024 · 0 comments

Comments

@kjk
Copy link
Owner

kjk commented Jul 5, 2024

Two use cases in mind:

  • in docs it would be nice to have commands also be links that can trigger that command
  • allow sending data to Edna for example allow sending content of clipboard to edna to store as a block or new note

For example an app could launch: https://edna.arslexis.io/cmd/capturetext?content=foo&type=text&modeHint=block|note

This would launch a capture dialog for options to append as block to current note, append to other note, create a new note etc.

Another example: https://edna.arslexis.io/cmd/opennote would launch note selector at startup.

Those urls could be in any page or created by an app (e.g. with autohotkey on Windows we could send clipboard to edna).

For that reason we need to be careful about always requiring user confirmation.

We can implement other commands.

We could additionally register a protocol handler e.g. edna: or web+edna: so that they are sent to locally installed PWA and not to the browser (I think that's how it works).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant