๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ s โ€บ IPFS โ€บ 4664 captured on 2023-11-04 at 14:04:37. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2023-09-28)

โžก๏ธ Next capture (2023-11-14)

๐Ÿšง 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

2023-08-22 ยท 2 months ago

3 Comments โ†“

๐Ÿš€ skyjake

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

๐Ÿฆ‹ lersputa

Flatpak, 1.16.7.

2023-08-26 ยท 2 months ago

๐Ÿš€ skyjake

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.)