agregore-browser icon indicating copy to clipboard operation
agregore-browser copied to clipboard

TEXT:// Protocol

Open RangerMauve opened this issue 4 years ago • 1 comments

It'd be cool to add support for the text:// protocol.

There's a LUA implementation, but I'm sure we can wrangle up a JS impl somewhere too. https://github.com/textprotocol/public

RangerMauve avatar Feb 17 '22 22:02 RangerMauve

Be aware that the spec is really terse. The author decided to be as minimal as possible when writing it making it harder for those reading and implementing it to understand what they should do. If you have experience with Gemini or Mercury specs, text protocol will feel like a subset. I was able to reuse a lot of my gemini/mercury code to implement it. It was mostly duplicating files and tweaking.

soapdog avatar Feb 19 '22 14:02 soapdog