Guile bindings to GNUnet, and Guix substitutes over GNUnet file sharing https://git.savannah.gnu.org/cgit/guix/gnunet.git
Go to file
Ludovic Courtès b36ec7d915 build: Capture the location of the GNUnet libraries.
* gnu/gnunet/config.scm.in: New file.
* gnu/gnunet/common.scm: Use (gnu gnunet config).
  (gnunet-util-ffi, gnunet-fs-ffi, gnunet-identity-ffi): Use the new
  %libgnunet-util etc. variables.
* configure.ac: Substitute GNUNETUTIL_LIBDIR, GNUNETFS_LIBDIR, and
  GNUNETIDENTITY_LIBDIR.
* Makefile.am (GOBJECTS): Add gnu/gnunet/config.go.
2015-11-05 17:39:49 +01:00
examples Minor modifications to get all examples working. 2015-08-12 20:17:58 +02:00
gnu/gnunet build: Capture the location of the GNUnet libraries. 2015-11-05 17:39:49 +01:00
system/foreign Bind basic download functionalities 2015-07-17 12:32:39 +02:00
tests Add tools to manipulate `file-information` objects, and a few other things. 2015-08-21 20:50:56 +02:00
.gitignore build: Capture the location of the GNUnet libraries. 2015-11-05 17:39:49 +01:00
AUTHORS Initial commit. 2015-06-20 22:16:34 +02:00
COPYING Initial commit. 2015-06-20 22:16:34 +02:00
Makefile.am build: Capture the location of the GNUnet libraries. 2015-11-05 17:39:49 +01:00
README Replaces the crappy “union handling” functions with better ones (inside “system/foreign/”); has the stub gnunet-search working. 2015-06-24 13:20:18 +02:00
configure.ac build: Capture the location of the GNUnet libraries. 2015-11-05 17:39:49 +01:00
pre-inst-env.in build: Add preliminary Autotools infrastructure. 2015-11-05 17:38:52 +01:00
run-tests.scm Replaces the crappy “union handling” functions with better ones (inside “system/foreign/”); has the stub gnunet-search working. 2015-06-24 13:20:18 +02:00

README

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 current GnuNet configuration file.

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":

    $ cd guix/gnunet/
    $ examples/search.scm "foo" "bar"

This will start a 5 seconds search on the given keywords. Heres the
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:

    $ ./run-tests.scm