5 releases (stable)
|Dec 7, 2023
|Oct 5, 2023
|Aug 8, 2023
|Apr 27, 2023
#1211 in Network programming
201 downloads per month
ChirpStack open-source LoRaWAN(R) Network Server
ChirpStack is an open-source LoRaWAN(R) Network Server which can be used to set up LoRaWAN networks. ChirpStack provides a web-interface for the management of gateways, devices and tenants as well to set up data integrations with the major cloud providers, databases and services commonly used for handling device data. ChirpStack provides a gRPC based API that can be used to integrate or extend ChirpStack.
Documentation and binaries
Please refer to the ChirpStack website for documentation and pre-compiled binaries.
Building from source
Building ChirpStack requires:
Nix is used for setting up the development environment which is used for local development and for creating the binaries.
If you do not have Nix installed and do not wish to install it, then you can use the provided Docker Compose based Nix environment. To start this environment execute the following command:
Note: You will be able to run the test commands and run
cargo build, but
cross-compiling will not work within this environment (because it would try start
Docker within Docker).
Docker is used by cross-rs for cross-compiling,
as well as some of the
Starting the development shell
Run the following command to start the development shell:
Or if you do not have Nix installed, execute the following command:
Building the UI
To build the ChirpStack UI, execute the following command:
Running ChirpStack tests
Start required services
ChirpStack requires several services like PostgresQL, Redis, Mosquitto, ...
to be running before you can run the tests. You need to start these services
manually if you started the development shell using
docker-compose up -d
Run the following command to run the ChirpStack tests:
Building ChirpStack binaries
Before compiling the binaries, you need to install some additional development tools (for cross-compiling, packaging, e.d.). Execute the following command:
Run the following command within the
# Build AMD64 debug build (optimized for build speed)
# Build AMD64 release build (optimized for performance and binary size)
# Build all packages (all targets, .deb, .rpm and .tar.gz files)
ChirpStack Network Server is distributed under the MIT license. See also LICENSE.