GitXplorerGitXplorer
D

Jabit-Server

public
0 stars
0 forks
0 issues

Commits

List of commits on branch develop.
Unverified
2bc6abf42c2a5fb4120cf2cb0b5c797497844581

Some frontend improvements, versioned the backend API

DDissem committed 7 years ago
Unverified
46f911c075fc990e11288a1e20208e68587e18b3

Migrated project to Kotlin and created a new frontend

DDissem committed 7 years ago
Unverified
e362cb12511b4ccb04aa82b8d746c98839666dae

Some fixes for the new Kotlin based version of Jabit.

DDissem committed 8 years ago
Unverified
1a52af880d85ab7b59d82e40b8d678df8d4a5b86

Just for fun: added QR code of identity to log file

DDissem committed 8 years ago
Unverified
21b0e64130bd8c314188bbbc87ecea7baef015f0

Fixed Jabit Server, 'status' request should now work

DDissem committed 8 years ago
Unverified
a1541dd51b5deaf337995989988cb8e61c8297e0

Updated Jabit version, improved configuration

DDissem committed 8 years ago

README

The README file for this repository.

Jabit Server

This is the server node using the Jabit library. You can run it by calling

java -jar jabit-server.jar

The interface will be available on port 9000, Bitmessage as usual on Port 8444.

There are still a few problems with the interface (the idea is to allow collecting and displaying broadcasts).

On first startup it will create a config file (allowing you to configure the Bitmessage port), a whitelist, a blacklist and a shortlist. If the whitelist isn't empty, the blacklist will be irrelevant. You can disable the feature by simply adding a valid Bitmessage address to the whitelist. For shortlisted addresses, only the last five broadcasts are displayed and stored (useful e.g. for time services or Q's Aktivlist).

Building / Development

You can build the jar file with

./gradlew build

As there is a problem with the build order, you'll need to do this twice.

To deploy on a Ubuntu server (might work on other Linuxes as well), create a file /etc/init/jabit.conf with the following contents:

chdir /srv/jabit

exec su -s /bin/sh -c 'exec "$0" "$@"' jabit -- /usr/bin/java -jar jabit-server.jar --server.port=9000 > /dev/null

start on runlevel [2345]
stop on runlevel [^2345]

there must be a user jabit and a folder /srv/jabit where this user has write permission containing jabit-server.jar.