Guile bindings to GNUnet, and Guix substitutes over GNUnet file sharing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Ludovic Courtès d12167ab3c build: Add system/foreign/union*.scm to the distribution. 4 years ago
examples build: Substitute shebang in examples. 4 years ago
gnu/gnunet build: Capture the location of the GNUnet libraries. 4 years ago
system/foreign Bind basic download functionalities 5 years ago
tests Add tools to manipulate `file-information` objects, and a few other things. 5 years ago
.gitignore build: Substitute shebang in examples. 4 years ago
AUTHORS Initial commit. 5 years ago
COPYING Initial commit. 5 years ago
Makefile.am build: Add system/foreign/union*.scm to the distribution. 4 years ago
README Replaces the crappy “union handling” functions with better ones (inside “system/foreign/”); has the stub gnunet-search working. 5 years ago
configure.ac build: Fix tarball name. 4 years ago
pre-inst-env.in build: Add preliminary Autotools infrastructure. 4 years ago
run-tests.scm Replaces the crappy “union handling” functions with better ones (inside “system/foreign/”); has the stub gnunet-search working. 5 years ago

README

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. Here’s 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