ckolderup / postmarks

a single-user bookmarking website designed to live on the Fediverse
https://postmarks.glitch.me
MIT License
452 stars 38 forks source link

feat: add support for OpenSearch browser hinting. #178

Closed andypiper closed 5 months ago

andypiper commented 5 months ago

This PR aims to be a clean patch that adds support for telling web browsers about a Postmarks instance as a search option, via the (now dated, but still pretty well-supported) OpenSearch XML syntax.

Works in Firefox, MS Edge, Chrome, Arc; no sign of this feature in Vivaldi or Opera.

May or may not be widely useful, but it is also (sort of) another half of the "send to" story, which I've been lightly tinkering with; there may also be an option to build this kind of search engine hinting into a browser extension.