Coder Social home page Coder Social logo

fake-airplay's Introduction

Fake-AirPlay

This crate creates a fake AirPlay service, which will be discoverable by apple devices on the network.

Usage

โ— To use fake-airplay make sure you have the avahi daemon running โ—

Ubuntu

To start the avahi daemon on Ubuntu, you can install the avahi-daemon package using the following command:

sudo apt-get install avahi-daemon

Once installed, you can start the daemon by running:

sudo systemctl start avahi-daemon.service

After starting the avahi daemon, you can run fake-airplay by installing it using cargo:

cargo install fake-airplay

Once installed, you can run the fake-airplay command with the following syntax:

fake-airplay -a <NAME> -d <DEVICE_TYPE>

Replace <NAME> with the name you want the fake device to show and replace <DEVICE_TYPE> with the devicetype you want to show.

Arch

To start the avahi daemon install the nss-mdns using

sudo pacman -S nns-mdns

and run:

systemctl start avahi-daemon.service

After starting the avahi daemon, you can install fake-airplay by running:

cargo install fake-airplay

Once installed, you can run the fake-airplay command with the following syntax:

fake-airplay <NAME> [<DEVICE_TYPE>]

Replace <NAME> with the name you want the fake device to show and replace <DEVICE_TYPE> with the devicetype you want to show.

fake-airplay's People

Contributors

frostie314159 avatar kumariz0 avatar

Watchers

 avatar

Forkers

kumariz0

fake-airplay's Issues

Code panics

The code panics at fake-airplay-0.1.1/src/lib.rs:60:23
let ev_loop = service.register().unwrap();

My code:

use fake_airplay::{create_service, DeviceType};

fn main() {
    let name = "Ass".to_string();
    let device_type = DeviceType::AppleTV;

    let handle = create_service(name, device_type);

    // Wait for the service thread to finish
    handle.join().unwrap();
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.