Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.5 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.5 KB

an2linuxserver-rs

Sync Android notifications to a Linux (and more!) desktop, inspired by https://github.com/rootkiwi/an2linuxserver

This is re-implementation of the server part of AN2Linux.

The Android app can be found here: https://github.com/rootkiwi/an2linuxclient

Features and TODOs

  • Display notifications with notify-rust
    • Linux support with zbus
    • Mac support (Need testing)
    • Windows support (Need testing)
  • TLS server
  • Bluetooth server
  • Message filtering
  • User-friendly error and warning messages
  • Unit and integration tests

Usage

Generating Certificate

You have to generate certificate and private key with openssl, without DES.

$ mkdir -p ~/.config/an2linux_rs/ 
$ cd ~/.config/an2linux_rs/
$ openssl req -x509 -sha256 -nodes -newkey rsa:4096 -keyout rsakey.pem -out certificate.pem -days 365

Pairing with Android device

Run the server in pairing mode with:

$ cargo run -- pair

And pair with Android device using an2linuxclient app.

Running the notification server

$ cargo run

License

an2linuxserver-rs is distributed under the terms of GNU General Public License 3.

an2linuxserver-rs is re-implementation of rootkiwi/an2linuxserver.

See LICENSE for more details.