AgregoreWeb / agregore-browser

A minimal browser for the distributed web (Desktop version)
https://www.youtube.com/watch?v=TnYKvOQB0ts&list=PL7sG5SCUNyeYx8wnfMOUpsh7rM_g0w_cu&index=14
GNU Affero General Public License v3.0
746 stars 66 forks source link

TEXT:// Protocol #164

Open RangerMauve opened 2 years ago

RangerMauve commented 2 years ago

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

soapdog commented 2 years ago

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.