Quickstart

Here is a quick guide to start working with Bento. As a Bento user you can:
  • Host a Bento Server if you already host a Tor relay.
  • Use Bento as a client. You can store and execute "functions" on Bento Servers.
Read the Bento Poster for understanding the idea behind Bento.

Run a sample function on Bento

  • Download the source code from Github
  • Open a new terminal. Go to the /testing directory using cd /bento/testing. Start the Bento Server using python3.6 runserver.py.
  • Open another terminal and connect to the Bento Server. A client wanting to connect to the Bento server may do so by using the APIs (navigate to API tutorial) listed in the directory bento/bento/client/api.py to store, execute and perform various other tasks on his desired function. For instance, execute the command python3.6 test_hello_world.py localhost 8888, on another terminal in the cd /bento/testing directory, to store a function and execute it (prints hello world).

Torify

  • In order to maintain client anonymity, the client can connect to the Bento server over a Tor circuit using torify. To do so, simply run the client with the torify command.