[List 1 of gmixer instances](http://zettascript.org/tux/g1/gmixer-webui.html)
### ➤ Other Linux
[List 2 of gmixer instances](http://185.193.38.231/gmixer-instances.html)
## How to use it
Install dependances:
Install dependencies:
sudo cp lib/libleveldb.a /usr/lib/libleveldb.a
`libleveldb-dev=>1.20` is required for `plyvel`. If you can only get an older version with your package manager, [build it by hand](https://github.com/google/leveldb/releases). (currently it it the case for Debian Stretch, not for Archlinux)
`libleveldb-dev=>1.20` is required for `plyvel`. You can copy it from this repository with the command above. You can also build it: If you can only get an older version with your package manager, [build it by hand](https://github.com/google/leveldb/releases). (currently it it the case for Debian Stretch, not for Archlinux)
Install the following packages: `libleveldb-dev``libsodium-dev``python3``python3-pip`
Install the following packages: `libleveldb-dev``libsodium-dev``python3``python3-pip`
...
@@ -38,6 +28,8 @@ Install the following packages: `libleveldb-dev` `libsodium-dev` `python3` `pyth
...
@@ -38,6 +28,8 @@ Install the following packages: `libleveldb-dev` `libsodium-dev` `python3` `pyth
# If Python < 3.6:
# If Python < 3.6:
sudo pip3 install python2_secrets
sudo pip3 install python2_secrets
## How to use it
Create config & data dir: (change `~/.gmixer-g1`, so you can run different
Create config & data dir: (change `~/.gmixer-g1`, so you can run different
servers with different configs) (note that each server must have different dir)
servers with different configs) (note that each server must have different dir)
...
@@ -46,13 +38,17 @@ servers with different configs) (note that each server must have different dir)
...
@@ -46,13 +38,17 @@ servers with different configs) (note that each server must have different dir)
Edit config and set your values. If you are not using any proxy, `bind_` and `public_` addresses should be the same.
Edit config and set your values. If you are not using any proxy, `bind_` and `public_` addresses should be the same.
If `salt` or `password` are empty, they will be asked at runtime. For security reasons, it is not a good idea to write them in commandline.
If `salt` or `password` are empty, they will be asked at runtime. For security reasons, it is not a good idea to write them in commandline.
The server must know other nodes on the network. You can find here the list refreshed in real-time and the content to put into your `peers` file:
*[ĞMixer web client](http://zettascript.org/tux/g1/gmixer-webclient/)
*[List of ĞMixer instances](http://185.193.38.231/gmixer-instances.html)
Now, start the server:
Now, start the server:
python3 server.py -s
python3 server.py -s
# Use -d if using a different dir than default
# Use -d if using a different dir than default
# Use -P for automatic fetch of public IP address
# Use -P for automatic fetch of public IP address
### Proxy
### Configure a proxy
To use a SOCKS5 proxy for client connections, set the `client.proxy` value in `config.json` as following:
To use a SOCKS5 proxy for client connections, set the `client.proxy` value in `config.json` as following:
...
@@ -88,6 +84,8 @@ Example:
...
@@ -88,6 +84,8 @@ Example:
### HTTP API
### HTTP API
**Warning**: This doc is outdated!
URL is used like commandline arguments. Arguments are separated by slashes. Different commands can be set in the same request.
URL is used like commandline arguments. Arguments are separated by slashes. Different commands can be set in the same request.
Command: **/list** list known peers (excluding itself)
Command: **/list** list known peers (excluding itself)