Lisp bindings for the IPFS HTTP API.
Iri al dosiero
Jenga Phoenix 77ebe92e83 Added /block calls 2019-05-24 01:07:56 -05:00
COPYING.txt Added README and COPYING 2019-05-24 00:16:47 -05:00
README.txt Added README and COPYING 2019-05-24 00:16:47 -05:00
cl-ipfs-api2.asd Added /block calls 2019-05-24 01:07:56 -05:00
main.lisp Added /block calls 2019-05-24 01:07:56 -05:00
package.lisp Added /block calls 2019-05-24 01:07:56 -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)
	* 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