Skip to content
Frontend for the IPFS Foundation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
public
scripts
.babelrc
.gitignore
README.md
index.js
package-lock.json
package.json
webpack.config.js

README.md

The Index

The Index is an IPFS-hosted app which acts as a directory for files added to IPFS.

Users can browse already-added files and add information about their own uploaded files. This app is completely decentralized, using PubSub to allow different IPFS nodes to communicate with each other and share database state.

To configure your IPFS daemon to allow access to this service, run the following commands

ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"*\"]"
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials "[\"true\"]"
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods "[\"PUT\", \"POST\", \"GET\"]"

These will allow the app to control your daemon, something essential for the decentralized operation of the app.

Then start up your daemon with the following command

ipfs daemon --enable-pubsub-experiment

Now you can navigate to The Index

You can’t perform that action at this time.