Sideband/README.md

194 lines
11 KiB
Markdown
Raw Normal View History

2022-10-25 08:52:41 -04:00
Sideband <img align="right" src="https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg"/>
=========
2022-04-07 15:03:53 -04:00
2024-03-26 13:11:26 -04:00
Sideband is an extensible LXMF messaging client, situational awareness tracker and remote control and monitoring system for Android, Linux, macOS and Windows. It allows you to communicate with other people or LXMF-compatible systems over Reticulum networks using LoRa, Packet Radio, WiFi, I2P, Encrypted QR Paper Messages, or anything else Reticulum supports.
2022-04-07 15:03:53 -04:00
2022-10-03 20:33:36 -04:00
![Screenshot](https://github.com/markqvist/Sideband/raw/main/docs/screenshots/devices_small.webp)
2022-04-07 15:03:53 -04:00
2022-10-03 18:34:21 -04:00
Sideband is completely free, end-to-end encrypted, permission-less, anonymous and infrastructure-less. Sideband uses the peer-to-peer and distributed messaging system [LXMF](https://github.com/markqvist/lxmf "LXMF"). There is no sign-up, no service providers, no "end-user license agreements", no data theft and no surveillance. You own the system.
2022-04-07 15:03:53 -04:00
2022-07-07 18:06:35 -04:00
This also means that Sideband operates differently than what you might be used to. It does not need a connection to a server on the Internet to function, and you do not have an account anywhere. Please read the Guide section included in the program, to get an understanding of how Sideband differs from other messaging systems.
2024-03-26 09:32:49 -04:00
Sideband provides many useful and interesting functions, such as:
- Secure and self-sovereign messaging using the LXMF protocol over Reticulum.
- Image and file transfers over all supported mediums.
2024-06-04 18:30:39 -04:00
- Audio messages that work even over LoRa and radio links, thanks to [Codec2](https://github.com/drowe67/codec2/) and [Opus](https://github.com/xiph/opus) encoding.
2024-03-26 09:32:49 -04:00
- Secure and direct P2P telemetry and location sharing. No third parties or servers ever have your data.
- Situation display on both online and locally stored offline maps.
- Geospatial awareness calculations.
- Exchanging messages through encrypted QR-codes on paper, or through messages embedded directly in **lxm://** links.
2024-03-26 09:36:20 -04:00
- Using Android devices as impromptu Reticulum routers (*Transport Instances*), for setting up or extending networks easily.
2024-03-26 09:32:49 -04:00
- Remote command execution and response engine, with built-in commands, such as `ping`, `signal` reports and `echo`.
- Remote telemetry querying, with strong, secure and cryptographically robust authentication and control.
- Plugin system that allows you to easily create your own commands, services and telemetry sources.
2022-04-07 15:03:53 -04:00
2024-06-04 18:32:44 -04:00
Sideband is fully compatible with other LXMF clients, such as [MeshChat](https://github.com/liamcottle/reticulum-meshchat), and [Nomad Network](https://github.com/markqvist/nomadnet). The Nomad Network client also allows you to easily host Propagation Nodes for your LXMF network, and more.
2022-04-07 15:03:53 -04:00
2024-05-21 12:39:10 -04:00
## Installation On Android
2022-07-07 18:06:35 -04:00
2024-05-21 12:41:15 -04:00
For your Android devices, you can install Sideband through F-Droid, by adding the [Between the Borders Repo](https://reticulum.betweentheborders.com/fdroid/repo/), or you can download an [APK on the latest release](https://github.com/markqvist/Sideband/releases/latest) page. Both sources are signed with the same release keys, and can be used interchangably.
After the application is installed on your Android device, it is also possible to pull updates directly through the **Repository** section of the application.
2022-07-07 18:06:35 -04:00
2024-05-21 12:39:10 -04:00
## Installation On Linux
2022-10-03 20:39:55 -04:00
2024-05-21 12:39:10 -04:00
On all Linux-based operating systems, Sideband is available as a `pip` package. This installation method **includes desktop integration**, so that Sideband will show up in your applications menu and launchers. Make sure you have Python and `pip` installed (default on most modern distributions), and run:
2022-07-07 18:06:35 -04:00
```bash
2024-05-21 12:39:10 -04:00
# Install Sideband and dependencies on Linux:
2022-07-07 18:06:35 -04:00
pip install sbapp
2024-05-21 12:39:10 -04:00
# Find the Sideband application in your launcher,
# or run it directly from the command line:
2022-07-07 18:09:23 -04:00
sideband
2024-05-21 12:39:10 -04:00
# You can also run Sideband in headless daemon
# mode, for example as a telemetry collector:
sideband --daemon
2022-07-08 11:04:41 -04:00
2024-06-04 09:49:17 -04:00
# If you intend to run Sideband in headless
# daemon mode, you can also install it without
# any of the normal UI dependencies:
pip install sbapp --no-dependencies
# In this case, you will still need to manually
# install the minimum RNS and LXMF dependencies:
pip install rns lxmf
2024-05-21 12:39:10 -04:00
```
2024-05-05 13:29:12 -04:00
2024-05-05 13:34:00 -04:00
**Please Note!** If you are using an operating system that blocks normal user package installation via `pip`, it's easy to permanently return `pip` to normal behaviour by editing the `~/.config/pip/pip.conf` file, and adding the following directive in the `[global]` section:
2023-08-15 06:47:54 -04:00
```text
[global]
break-system-packages = true
```
2024-05-05 13:34:00 -04:00
You can also simply add the `--break-system-packages` directive on a per-installation basis. For example, on a system that blocks normal user package installation, you can install Sideband by running `pip install sbapp --break-system-packages`.
2024-05-21 12:39:10 -04:00
## Installation On macOS
2023-08-15 05:24:54 -04:00
2024-05-21 12:39:10 -04:00
A DMG file containing a macOS app bundle is available on the [latest release](https://github.com/markqvist/Sideband/releases/latest) page.
2023-08-15 05:24:54 -04:00
2024-06-04 09:49:17 -04:00
Alternatively, you can install Sideband with ``pip3`` on macOS:
2023-08-15 05:24:54 -04:00
2024-05-21 12:39:10 -04:00
```bash
2024-06-04 09:49:17 -04:00
# Install Sideband and dependencies on macOS:
pip3 install sbapp
2024-05-21 12:39:10 -04:00
2024-06-04 09:49:17 -04:00
# Run it:
python3 -m sbapp.main
# If you add your pip install location to
# the PATH environment variable, you can
# also run Sideband simply using:
2024-05-21 12:39:10 -04:00
sideband
2023-08-15 05:24:54 -04:00
```
2024-06-04 09:49:17 -04:00
If you have not already installed Python and `pip3` on your macOS system, [download and install](https://www.python.org/downloads/) the latest version first.
2023-09-20 20:11:04 -04:00
## Installation On Windows
2024-05-21 12:39:10 -04:00
Even though there is currently not an automated installer, or packaged `.exe` file for Sideband on Windows, you can still install it through `pip`. If you don't already have Python installed, [download and install](https://www.python.org/downloads/) the latest version of Python.
2023-09-20 20:11:04 -04:00
**Important!** When asked by the installer, make sure to add the Python program to your PATH environment variables. If you don't do this, you will not be able to use the `pip` installer, or run the `sideband` command.
When Python has been installed, you can open a command prompt and install sideband via `pip`:
```bash
pip install sbapp
```
2024-05-21 12:39:10 -04:00
The Sideband application can now be launched by running the command `sideband` in the command prompt. If needed, you can create a shortcut for Sideband on your desktop or in the start menu.
When running Sideband for the first time, a default Reticulum configuration file will be created, if you don't already have one. If you don't have any existing Reticulum connectivity available locally, you may want to edit the file, located at `C:\Users\USERNAME\.reticulum\config` and manually add an interface that provides connectivity to a wider network. If you just want to connect over the Internet, you can add one of the public hubs on the [Reticulum Testnet](https://reticulum.network/connect.html).
## Installation With pipx
2023-09-20 20:11:04 -04:00
2024-05-21 12:39:10 -04:00
You *can* use the `pipx` tool to install Sideband in an isolated environment, but on Linux you will have to launch Sideband from the command line, or create your own launcher links, since `pipx` does not support desktop integration. Unfortunately, it does not seem like `pipx` will be adding desktop integration in the near future, so restoring the original `pip` tool to its proper behaviour is recommended for now. If you want to use `pipx` anyway, it is as simple as:
```bash
2024-06-04 09:49:17 -04:00
# Install Sideband on Linux:
2024-05-21 12:39:10 -04:00
pipx install sbapp
2023-09-20 20:11:04 -04:00
2024-06-04 09:49:17 -04:00
# Install Sideband on macOS:
2024-05-21 12:39:10 -04:00
pipx install "sbapp[macos]"
2024-06-04 09:49:17 -04:00
# Optionally install Reticulum utilities:
2024-05-21 12:39:10 -04:00
pipx install rns
2024-06-04 09:49:17 -04:00
# Optionally install standalone LXMF utilities:
2024-05-21 12:39:10 -04:00
pipx install lxmf
```
2023-09-20 20:11:04 -04:00
2022-11-28 06:12:11 -05:00
## Example Paper Message
You can try out the paper messaging functionality by using the following QR-code. It is a paper message sent to the LXMF address `6b3362bd2c1dbf87b66a85f79a8d8c75`. To be able to decrypt and read the message, you will need to import the following base32-encoded Reticulum Identity into the app:
`3BPTDTQCRZPKJT3TXAJCMQFMOYWIM3OCLKPWMG4HCF2T4CH3YZHVNHNRDU6QAZWV2KBHMWBNT2C62TQEVC5GLFM4MN25VLZFSK3ADRQ=`
2022-11-27 12:09:23 -05:00
You can import the identity into Sideband in the **Encryption Keys** part of the program. After the you have imported the identity, you can scan the following QR-code and open it in the app, where it will be decrypted and added to your messages.
2022-11-28 06:12:11 -05:00
<p align="center"><img width="50%" src="https://raw.githubusercontent.com/markqvist/LXMF/master/docs/paper_msg_test.png"/></p>
You can also find the entire message in <a href="lxm://azNivSwdv4e2aoX3mo2MdTAozuI7BlzrLlHULmnVgpz3dNT9CMPVwgywzCJP8FVogj5j_kU7j7ywuvBNcr45kRTrd19c3iHenmnSDe4VEd6FuGsAiT0Khzl7T81YZHPTDhRNp0FdhDE9AJ7uphw7zKMyqhHHxOxqrYeBeKF66gpPxDceqjsOApvsSwggjcuHBx9OxOBy05XmnJxA1unCKgvNfOFYc1T47luxoY3c0dLOJnJPwZuFRytx2TXlQNZzOJ28yTEygIfkDqEO9mZi5lgev7XZJ0DvgioQxMIyoCm7lBUzfq66zW3SQj6vHHph7bhr36dLOCFgk4fZA6yia2MlTT9KV66Tn2l8mPNDlvuSAJhwDA_xx2PN9zKadCjo9sItkAp8r-Ss1CzoUWZUAyT1oDw7ly6RrzGBG-e3eM3CL6u1juIeFiHby7_3cON-6VTUuk4xR5nwKlFTu5vsYMVXe5H3VahiDSS4Q1aqX7I">this link</a>:
`lxm://azNivSwdv4e2aoX3mo2MdTAozuI7BlzrLlHULmnVgpz3dNT9CMPVwgywzCJP8FVogj5j_kU7j7ywuvBNcr45kRTrd19c3iHenmnSDe4VEd6FuGsAiT0Khzl7T81YZHPTDhRNp0FdhDE9AJ7uphw7zKMyqhHHxOxqrYeBeKF66gpPxDceqjsOApvsSwggjcuHBx9OxOBy05XmnJxA1unCKgvNfOFYc1T47luxoY3c0dLOJnJPwZuFRytx2TXlQNZzOJ28yTEygIfkDqEO9mZi5lgev7XZJ0DvgioQxMIyoCm7lBUzfq66zW3SQj6vHHph7bhr36dLOCFgk4fZA6yia2MlTT9KV66Tn2l8mPNDlvuSAJhwDA_xx2PN9zKadCjo9sItkAp8r-Ss1CzoUWZUAyT1oDw7ly6RrzGBG-e3eM3CL6u1juIeFiHby7_3cON-6VTUuk4xR5nwKlFTu5vsYMVXe5H3VahiDSS4Q1aqX7I`
On operating systems that allow for registering custom URI-handlers, you can click the link, and it will be decoded directly in your LXMF client. This works with Sideband on Android.
2022-07-08 11:04:41 -04:00
## Support Sideband Development
You can help support the continued development of open, free and private communications systems by donating via one of the following channels:
- Monero:
2024-02-16 11:54:22 -05:00
```
2022-07-08 11:04:41 -04:00
84FpY1QbxHcgdseePYNmhTHcrgMX4nFfBYtz2GKYToqHVVhJp8Eaw1Z1EedRnKD19b3B8NiLCGVxzKV17UMmmeEsCrPyA5w
```
- Ethereum
```
2024-02-16 11:49:21 -05:00
0xFDabC71AC4c0C78C95aDDDe3B4FA19d6273c5E73
2022-07-08 11:04:41 -04:00
```
- Bitcoin
```
2024-02-16 11:49:21 -05:00
35G9uWVzrpJJibzUwpNUQGQNFzLirhrYAH
2022-07-08 11:04:41 -04:00
```
2022-10-03 20:33:36 -04:00
- Ko-Fi: https://ko-fi.com/markqvist
2022-10-03 20:44:16 -04:00
<br/>
2022-11-17 07:46:34 -05:00
## Development Roadmap
2024-03-26 09:32:49 -04:00
- <s>Secure and private location and telemetry sharing</s>
- <s>Including images in messages</s>
- <s>Sending file attachments</s>
- <s>Offline and online maps</s>
- <s>Paper messages</s>
- <s>Using Sideband as a Reticulum Transport Instance</s>
- <s>Encryption keys export and import</s>
- <s>Plugin support for commands, services and telemetry</s>
2024-05-05 13:39:42 -04:00
- <s>Adding Linux .desktop file integration</s>
2024-06-04 18:30:39 -04:00
- <s>Sending voice messages (using Codec2 and Opus)</s>
2022-11-17 07:46:34 -05:00
- Implementing the Local Broadcasts feature
2024-03-26 09:32:49 -04:00
- LXMF sneakernet functionality
- Network visualisation and test tools
- A debug log viewer
- Better message sorting mechanism
2022-11-17 07:46:34 -05:00
- Fix I2P status not being displayed correctly when the I2P router disappears unexpectedly
2024-03-26 09:32:49 -04:00
- Adding a Nomad Net page browser
2022-11-17 07:46:34 -05:00
2022-10-25 08:52:41 -04:00
## License
2022-11-01 18:33:50 -04:00
Unless otherwise noted, this work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa].
2022-10-25 08:52:41 -04:00
2022-11-01 18:33:50 -04:00
Permission is hereby granted to use Sideband in binary form, for any and all purposes, and to freely distribute binary copies of the program, so long as no payment or compensation is charged or received for such distribution or use.
<img src="https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png" align="right">
2022-10-25 08:52:41 -04:00
[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/
[cc-by-nc-sa-image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png
[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg
2022-10-04 04:37:31 -04:00
*Device screenshots generated with [deviceframes](https://deviceframes.com). Thanks!*