Questions tagged [ipfs]

IPFS (InterPlanetary File System) is a distributed/P2P content and identity-addressed hypermedia distribution protocol.

IPFS logo

The InterPlanetary File System is a hypermedia distribution protocol, addressed by content and identities. It enables the creation of completely distributed applications.

IPFS aims to make the web faster, safer, and more open by connecting all computing devices with the same system of files.

Latest release of IPFS is v0.9.0. Read more about the latest release at https://github.com/ipfs/go-ipfs/releases

IPFS official documentation: https://docs.ipfs.io/

772 questions
0
votes
2 answers

Ipfs file uploading issue

I'm using IPFS service for file storage. From Node.js application I can initialize IPFS_Node and using this Node upload file. var ipfs = ipfsClient({ // the hostname (or ip address) of the endpoint providing the ipfs api …
Rohail Butt
  • 421
  • 1
  • 7
  • 22
0
votes
1 answer

context deadline exceeded - IPFS

I'm trying to publish website to ipfs using below command 1. ipfs add -r my-website 2. ipfs name publish while publishing getting error as Error: context deadline exceeded. What does that mean? How to resolve it?
FLASH
  • 981
  • 2
  • 8
  • 11
0
votes
1 answer

Ipfs extend pining time Issue

I am using IPFS service for file storage. I have a few questions? Files can be stored in a specific period through Pinning after the pining time ends files deleted or not? I have a thousand files in IPFS How can I extend the pinning time of All…
Rohail Butt
  • 421
  • 1
  • 7
  • 22
0
votes
1 answer

Merging Large Number of UInt8Arrays

I have some code here to, as an example, download Arch Linux in the browser with js-ipfs. It's currently working. async function start(event) { console.log("Starting IPFS..."); node = await Ipfs.create(); for await (const file of…
xd1936
  • 1,038
  • 2
  • 9
  • 27
0
votes
2 answers

Could not use ipfs.add() to upload image to ipfs

I am trying to upload an image to ipfs in my svelte app. This is the code where I try to upload the image: const uploadFile = async (file) => { const ipfs = await IPFS.create(); const result = await ipfs.add(file); …
jasonph
  • 134
  • 5
0
votes
1 answer

Change User Agent When Adding Files via urlSource in js-ipfs

I have a function to add files in js-ipfs via URL. async function addFile(url) { try { for await (const file of node.add(urlSource(url))) { console.log('Hash for ' + url.substring(url.lastIndexOf('/') + 1)); } } catch(e) { …
xd1936
  • 1,038
  • 2
  • 9
  • 27
0
votes
2 answers

Javascript http api how to get the list of files of a directory defined by its hash using file/ls api?

I give the Hash of some local IPFS directory and use the fetch api to get the list of files from the response as shown in the code below : .then (resp => {return resp.json()}) .then (json => json.Objects) which results in the…
Emile Achadde
  • 1,715
  • 3
  • 10
  • 22
0
votes
1 answer

IPFS daemon initialization

I have been trying to initialize daemon but it asked for up-gradation which I did. Now when I try to initialize it it displays the following: Error: Repo has incorrect version: 9 Program version is: 3 Please run the ipfs migration tool before…
0
votes
1 answer

Python: Unexplainable invalid syntax error

So, here I am, playing around with the ipfsapi in python and yesterday, to start somewhere, I ran some code from the following blogpost that connects to the local node:…
8NTFae
  • 11
  • 3
0
votes
1 answer

Architecture for Decentralized Application

I have been learning SOLIDITY for quite a bit and am ready to do projects. I wanted to make a cool project where we store transaction details in form of PDF into blockchain and all those details are recorded in blockchain. Like take example of…
Mohinish Teja
  • 55
  • 1
  • 8
0
votes
1 answer

The use of Buffer before saving to IPFS

I am following an IPFS github example to save to IPFS: 'use strict' const IPFS = require('ipfs') const all = require('it-all') async function main () { const node = await IPFS.create() const version = await node.version() …
user938363
  • 9,990
  • 38
  • 137
  • 303
0
votes
1 answer

How do I upload a file given its absolute path in rust?

My objective is to upload a file on ipfs.io using Rust programming language. I am firing a command-line tool to do so and the command itself works but when implemented using Rust, it fails. The actual command is: ➜ ~ ipfs add…
Aviral Srivastava
  • 4,058
  • 8
  • 29
  • 81
0
votes
1 answer

Is it possible to share a folder for writes and updates between different IPFS nodes?

Is it possible to share a folder for writes and updates between different IPFS nodes? Sample scenario: There are 10 IPFS nodes, which are writing files into a single shared directory (same pin). Node #1 can not change/remove other node's files. All…
aph5
  • 771
  • 2
  • 7
  • 23
0
votes
1 answer

Getting the peer multiaddr from IPFS Swarm peers

I'm trying to decode the buffer stored in the addr key found in the output returned by the IPFS swarm peers function back to the original string. I tried to use the toString() method with all supported encodings, but the output I'm getting is not…
0
votes
1 answer

Can IPFS app hide the CID when presenting content to requester?

Assume there is a IPFS app serving as a middleman to retrieve a content from IPFS network and present it to the requester. When the IPFS app receive an request (with no CID), then it finds the CID according to the request, retrieve with the CID and…
user938363
  • 9,990
  • 38
  • 137
  • 303