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
715 stars 66 forks source link

problem accessing hyper url on local machine #229

Closed dort closed 1 year ago

dort commented 1 year ago

Hi I'm using debian (current stable, all updates applied) and have installed agregore-browser successfully from the available .deb file. I can access the links to hyper:// urls which show up on the home/splash screen (Mauve's blog for instance), but when trying to connect to a local hyper resource (created with Joseph Turner's help, using hyper-gateway, and accessible by his hyperdrive.el ), I get the following output instead of access to my woot.org file there in my hyper environment:

Error: Not Found at resolveFileInArchive (/opt/Agregore Browser/resources/app.asar/node_modules/resolve-dat-path/index.js:46:9) at process.processTicksAndRejections (node:internal/process/task_queues:96:5) at async hyperFetch (/opt/Agregore Browser/resources/app.asar/node_modules/hypercore-fetch/index.js:585:30) at async fetch (/opt/Agregore Browser/resources/app.asar/node_modules/make-fetch/index.js:37:9) at async AsyncFunction.protocolHandler (/opt/Agregore Browser/resources/app.asar/app/protocols/fetch-to-handler.js:65:24)

Again, i can successfully access that woot.org file which is being served locally (from my debian laptop on which agregore-browser is working for other links) via emacs using Joseph's/Ushin's hyperdrive.el

josephmturner commented 1 year ago

hyperdrive.el uses hypercore 10, and Agregore still uses hypercore 9. These two versions are incompatible, so until Agregore is updated to the latest hypercore-fetch, it won't be possible to share data between hyperdrive.el and Agregore.

RangerMauve commented 1 year ago

Check out the latest 2.0.0 preview of Agregore to see if your data loads.

https://github.com/AgregoreWeb/agregore-browser/releases/tag/v2.0.0-12

RangerMauve commented 1 year ago

Gonna close this as we've confirmed that 2.0.0 is compatible with hyperdrive.el 🥳