gnunet/README

27 lines
840 B
Plaintext
Raw Permalink 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 current GnuNet configuration file.
2015-06-20 22:16:34 +02:00
Then, go inside the bindings directory and run `search.scm` as a
script. For instance, to run a search on the keywords "foo" and "bar":
2015-06-20 22:16:34 +02:00
$ cd guix/gnunet/
$ examples/search.scm "foo" "bar"
2015-06-20 22:16:34 +02:00
This will start a 5 seconds search on the given keywords. Heres the
2015-06-20 22:16:34 +02:00
output when exactly one find matches the keyword “foo”:
gnunet-download -o "foo.txt" gnunet://fs/chk/M976V69FDSQDH74AORDDLB…
You can also check your bindings with the command:
2015-06-20 22:16:34 +02:00
$ ./run-tests.scm