0.02
No release in over 3 years
Low commit activity in last 3 years
A client library for the IPFS HTTP API, implemented in Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.2
 Project Readme

Gem Version Build Status

ruby-ipfs-http-client

A client library for the IPFS HTTP API, implemented in Ruby.

Summary:

Make sure the Ipfs daemon is running, otherwise the client will not be able to connect.

You'll get an error Ipfs::UnreachableDaemon and the program execution will stop if daemon is not present.

The client will make a persistent connection to the API.

To access the library from your source file:

require 'ipfs'

TODO: use a configuration file and/or environment variables to specify the http http-client url. Those are hard-coded at the moment :(

Ipfs::File

This class is intended to manipulate files through Ipfs.

Methods are documented here

Want to Contribute

You can have an overview of the library's design in CONTRIBUTING.md.