💾 Archived View for bbs.geminispace.org › s › IPFS › 4664 captured on 2023-11-14 at 08:53:07. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

➡️ Next capture (2023-12-28)

🚧 View Differences

-=-=-=-=-=-=-

IPFS+FUSE+Lagrange

I'm trying to see if I can view IPFS files in Lagrange. I'm trying to combine `ipfs daemon --mount` with the file:// URI scheme, but it isn't working. `cat /ipfs/QmPNcpFxMZuntK37LtUJkB7uEfHHWV4cH7j6bd4Fi9WsFU/declaration_independence_cyberspace.gmi` works fine, but when I try to open <file:///ipfs/QmPNcpFxMZuntK37LtUJkB7uEfHHWV4cH7j6bd4Fi9WsFU/declaration_independence_cyberspace.gmi> in Lagrange, it gives the error "Failed to Open File – The requested file does not exist or is inaccessible. Please check the file path."

When I `ln -s /ipfs/QmPNcpFxMZuntK37LtUJkB7uEfHHWV4cH7j6bd4Fi9WsFU/declaration_independence_cyberspace.gmi ~/`, I still get the same error at <file:///home/lersputa/declaration_independence_cyberspace.gmi>. If I instead `cp` the file to my home directory, then it does work, so it's not just an interaction between Lagrange and file:// – it's something involving IPFS and/or FUSE.

Likewise, when I `ln -s /ipfs ~/ipfs`, then <file:///home/lersputa/ipfs/Qm[...]WsFU/declaration_independence_cyberspace.gmi> still gives me the same error again.

In Firefox, <file:///ipfs/Qm[...]WsFU/declaration_independence_cyberspace.gmi> opens fine, and <file:///home/lersputa/declaration_independence_cyberspace.gmi> redirects to the file:///ipfs/[...] (and displays successfully). Firefox doesn't redirect <file:///home/lersputa/ipfs/Qm[...]WsFU/declaration_independence_cyberspace.gmi>, but shows the file anyway.

This suggests to me that it's not purely an IPFS/FUSE issue, but that there's something involving Gemini, Gemtext, and/or Lagrange as well.

Posted in: s/IPFS

🦋 lersputa

Aug 22 · 3 months ago

3 Comments ↓

🚀 skyjake · Aug 22 at 18:33:

Which build of Lagrange are you using? (e.g., manually built from source, AppImage, Flatpak)

🦋 lersputa · Aug 26 at 04:10:

Flatpak, 1.16.7.

🚀 skyjake · Aug 26 at 04:47:

Maybe give the AppImage a try? Flatpak apps are sandboxed and the Lagrange app has been configured to only allow access to your home directory. (A symlink is not enough to circumvent this.)