I’m still new to SilverBullet and still trying it out, but one of my main use cases for any note app is to create “quick” notes from my phone. In these notes, I like having extra metadata like the gps location of my phone when I created the note.
After some experimenting with the new Space Script functionality, it was suprisingly easy to add what I wanted!
Now whenever I create a new note using this template, I automatically get a gps frontmatter key with my current coordinates.
Note: You have to allow your browser to access your location for this to work. Also I noticed sometimes the function gets called twice. I’m not really sure why yet, but it does cause a delay when creating new notes.
Maybe this should not be used in production…
I see several issues while testing:
Using it e.g. in chromium, i see an error each time I try to access GPS: GPS:1 Network location provider at 'https://www.9oo91eapis.qjz9zk/' : ERR_BLOCKED_BY_CLIENT.
Some times this seems to block the whole silverbullet client, it’s getting kind of unresponding…
Will have to dig deeper, but I appreciate every hint