gnunet/README

33 lines
841 B
Plaintext
Raw Normal View History

2015-06-20 22:16:34 +02:00
Guile bindings for GnuNet
—————————————————————————
Work in progress!
To try the stub gnunet-search clone, you must have a working GnuNet
configuration. Edit the file `examples/search.scm` and modify the line
(define config-file "~/.gnunet/gnunet.conf")
to match your configuration file.
Run Guile in the bindings directory:
$ cd guix/gnunet/
$ guile
Then in Guiles prompt:
> (add-to-load-path ".")
> (load "examples/search.scm")
> ,m (gnunet-search)
> (main "foo")
This will start a 5 seconds search on the keyword “foo”. Heres the
output when exactly one find matches the keyword “foo”:
> (main "foo")
Search service opened (#<pointer 0x2414dd8>)
Starting search on gnunet://fs/ksk/foo
RESULT! #<pointer 0x7ffcd822ee50>