2 releases

0.1.1 Jan 2, 2025
0.1.0 Dec 25, 2024

#959 in Unix APIs

Download history 136/week @ 2024-12-25 146/week @ 2025-01-01

282 downloads per month

Apache-2.0

29KB
527 lines

Demonsend

A daemon and command line client utility for localsend, powered by localsend-rs.

Supports IPC through the unix socket at /tmp/demonsend.sock

Install

Demonsend is currently only tested on linux and requires a dialog system like kdialog, Zenity, Glade and Yad.

To install, the preferred method is cargo.

cargo install demonsend

Or you can compile it locally.

git clone https://github.com/wylited/demonsend
cd demonsend
cargo build --release

Your binary will be located in demonsend/target/release/

Usage

To start, configure the daemon interactively

demonsend config init

and then you can start your daemon.

demonsend start

Once you open demonsend on your phone, you will be able to see demonsend as a client. Upon receiving a file, demonsend will prompt a notification on your laptop.

You can send a file by first listing the available peers and sending a file to one of them!

demonsend peers
demonsend file <peer_fingerprint> ~/Pictures/tokyonight.jpg

Issues

If you run into any issues, open a github issue or dm me on the hackclub slack or discord @wylited

Dependencies

~17–35MB
~503K SLoC