gnunet/README

33 lines
841 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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>