Downloading in3¶
in3 is divided into two distinct components, the in3-node and in3-client. The in3-node is currently written in typescript, whereas the in3-client has a version in typescript as well as a smaller and more feature packed version written in C.
In order to compile from scratch, please use the sources from our github page or the public gitlab page. Instructions for building from scratch can be found in our documentation.
The in3-server and in3-client has been published in multiple package managers and locations, they can be found here:
Package manager | Link | Use case | |
---|---|---|---|
in3-node(ts) | Docker Hub | DockerHub | To run the in3-server, which the in3-client can use to connect to the in3 network |
in3-client(ts) | NPM | NPM | To use with js applications |
in3-client(C) | Ubuntu Launchpad | Ubuntu | It can be quickly integrated on linux systems, IoT devices or any micro controllers |
Docker Hub | DockerHub | Quick and easy way to get in3 client running | |
Brew | Homebrew | Easy to install on MacOS or linux/windows subsystems | |
Release page | Github | For directly playing with the binaries/deb/jar/wasm files |
in3-node¶
Docker Hub¶
- Pull the image from docker using
docker pull slockit/in3-node
- In order to run your own in3-node, you must first register the node. The information for registering a node can be found here
- Run the in3-node image using a direct docker command or a docker-compose file, the parameters for which are explained here
in3-client (ts)¶
npm¶
- Install the package by running
npm install --save in3
import In3Client from "in3"
- View our examples for information on how to use the module
in3-client(C)¶
Ubuntu Launchpad¶
There are 2 packages published to Ubuntu Launchpad: in3
and in3-dev
. The package in3
only installs the
binary file and allows you to use in3 via command line. The package in3-dev
would install the binary as well as
the library files, allowing you to use in3 not only via command line, but also inside your C programs by including the
statically linked files.
Installation instructions for in3
:¶
This package will only install the in3 binary in your system.
- Add the slock.it ppa to your system with
sudo add-apt-repository ppa:devops-slock-it/in3
- Update the local sources
sudo apt-get update
- Install in3 with
sudo apt-get install in3
Installation instructions for in3-dev
:¶
This package will install the statically linked library files and the include files in your system.
- Add the slock.it ppa to your system with
sudo add-apt-repository ppa:devops-slock-it/in3
- Update the local sources
sudo apt-get update
- Install in3 with
sudo apt-get install in3-dev
Docker Hub¶
Release page¶
Usage instructions:¶
- Navigate to the in3-client release page on this github repo
- Download the binary that matches your target system, or read below for architecture specific information: