ipfs-companion | Browser extension that simplifies access | Storage library
kandi X-RAY | ipfs-companion Summary
kandi X-RAY | ipfs-companion Summary
IPFS Companion harnesses the power of your locally running IPFS node (either through the IPFS Desktop app or the command-line daemon) directly inside your favorite Chromium-based or Firefox browser, enabling support for ipfs:// addresses, redirecting content-addressed websites and file paths to your local Gateway, easy IPFS file import and sharing, and more. IPFS is a peer-to-peer hypermedia protocol designed to make the web faster, safer, more resilient, and more open. It enables the creation and dissemination of completely distributed sites and applications that don’t rely on centralized hosting and stay true to the original vision of an open, flat web. Visit the IPFS Project website to learn more.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Sets the browser icon action .
ipfs-companion Key Features
ipfs-companion Examples and Code Snippets
Community Discussions
Trending Discussions on ipfs-companion
QUESTION
I have a nextjs typescript project running in the browser that needs to make the following fetch
request:
ANSWER
Answered 2022-Mar-16 at 10:41Phil's comment is in the right direction: Few browsers support the "ipfs://" scheme natively.
Currently the browsers which support it out of the box are Brave and Opera, each handles it a bit differently however - so test your code.
The safe cross-browser approach at this point is to extract the CID and create a new URL to address that CID through an IPFS HTTP gateway, and fetch() that URL instead.
You can find a list of IPFS HTTP gateways here:
QUESTION
I'm building FrameworkJS, and one of its usage is to detect its environment.
Recently, I've added these 3 conditions to detect if URL contains the desired text:
...ANSWER
Answered 2021-Aug-18 at 20:06Have you heard of regular expressions (regex)?
In your case, you could try matching the URL against /ba(.*)\.ipfs\./
So your code would look something like:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ipfs-companion
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page