npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ipfsconsortiumproxy

v0.0.9

Published

IPFS consortium deamon scripts wrapped as an npm module

Downloads

13

Readme

IPFS Consortium proxy

This IPFS consortium tool allows you to jointly host IPFS data in a with a group of other IPFS users ( called a consortium ).

The IPFS consortium is configured by an array of participants in the consortium that can propose manifest files of IPFS hashes to be pinned by the members in the consortium.

What problems does IPFS Pinning Consortium try to solve ?

  • A structured metadata format to describe consortium details and manifest files of IPFS hashes.
  • A formal description of the metadata format (a JSON schema)
  • A client utility to support and automate persisting data ( a.k.a pinning IPFS hashes )
  • Proof of Persistence (TODO) : status reporting among consortium members

Installation

npm install ipfsconsortiumproxy

Configuration

Option 1 : Environment variables

You can set a number of environment variables to configure the script:

IPFSAPIHOST=localhost
IPFSAPIPORT=5001
WEB3HOSTWS="ws://localhost:8546"

Option 2 : .ENV file

Check / modify the settings in the enclosed .env-dist file

By default the IPFS API is assumed to be on localhost port 5001 using the HTTP protocol The Ethereum node connects through a websocket on localhost port 8546

Option 3 : command line parameters

ipfsconsortiumproxy \
 --ipfsapihost localhost \
 --ipfsapiport 5001 \
 --web3hostws "ws://localhost:8546" \

Type ipfsconsortiumproxy -h for more info about the available parameters.

Running

just type ipfsconsortiumproxy to start it up.

How does a consortium work ?

The consortium is configured by a config file ensconfig.json that lists a number of ENS names - that must resolve to an IPFS hash of the format /ipfs/<IPFShash>

This IPFS hash must resolve to a JSON payload of the format :

{
	"capacity" : "1000000000",
	"pin" : [
		"/ipfs/Qm....",
		"/ipfs/Qm....",
	]

How can I create my own consortium ?

  • Go to the IPFSConsortium chat on Riot ( see below ) and ask for help
  • OR: Deploy your own payload to ENS - modify the config file and start your own consortium
  • OR: Join an existing consortium - talk to people in our Riot channel

How can I help support the IPFS consortium ?

Running an IPFS node

Setup a local IPFS node + Ethereum node , install the script and start listening to one or more IPFS consortium ENS configurations.

Contributing to the development

We use ZenHub as a project management tool for this project.

  • Install the ZenHub chrome plugin ( https://chrome.google.com/webstore/detail/zenhub-for-github/ogcgkffhplmphkaahpmffcafajaocjbd )
  • visit the project board : https://github.com/ipfsconsortium/pm/issues/2#boards?repos=106814113
  • check the backlog and new issues pipeline

If you don't want to install this plugin , just check the issues on the project

Get in touch

  • IPFSConsortium chat on Riot: https://riot.im/app/#/room/#ipfsconsortium:matrix.org