Lisp bindings for the IPFS HTTP API.
Iri al dosiero
Jaidyn Levesque 43f2c476b0 Add pubsub functions (woot woot) 2019-06-18 02:39:35 -05:00
COPYING.txt Added README and COPYING 2019-05-24 00:16:47 -05:00
README.txt Update doc, replace '-' with '—' (y'know, aesthetics) 2019-06-06 19:13:15 -05:00
cl-ipfs-api2.asd Add pubsub functions (woot woot) 2019-06-18 02:39:35 -05:00
main.lisp Add pubsub functions (woot woot) 2019-06-18 02:39:35 -05:00
package.lisp Add pubsub functions (woot woot) 2019-06-18 02:39:35 -05:00

===============================================================================
CL-IPFS-API²                                      Binder for galactic transguys
===============================================================================

:cl-ipfs-api² is a pretty simple set of IPFS bindings for Common Lisp, using
the HTTP API. It uses Dexador for HTTP(S) requests and YASON for JSON.


————————————————————————————————————————
USAGE
————————————————————————————————————————
Just use `quicklisp` (pop this in your "~/quicklisp/local-projects/",
and you're good).

Then you can do things like:
	> (ipfs:add #p"~/.bashrc")
	"QmZweanA1JRNio6DKnPN6yECWCrxmWqqG7WWUNtyuji9hZ"
	145
	".bashrc"

	> (ipfs:cat "/ipns/ipfs.io/index.html")
	"<!DOCTYPE html>
	……"

Most commands available are one-to-one with their API/cli counter-parts,
with a few notable exceptions:
	* #'dl	(counter-part to the /get call)

The calls implemented so far:
	* root calls (cat, add, id, ls, resolve, etc)
	* cid calls
	* config calls (config, config/show)
	* version calls (version, version/deps)

Functions return either strings, lists, or hash-tables (parsed JSON)--
depending on context, of course. Read docstrings ♥


————————————————————————————————————————
BORING STUFF
————————————————————————————————————————
License is the GNU GPLv3:
       check COPYING.txt (/ipfs/QmTBpqbvJLZaq3hTMUhxX5hyJaSCeWe6Q5FRctQbsD6EsE)
Author is Jaidyn Ann <jadedctrl@teknik.io>
Sauce is at https://git.eunichx.us/cl-ipfs-api2.git