https://github.com/danieloneill/ytreceiver
A dead simple QML app for receiving "Cast to TV" from an Android/iOS device
https://github.com/danieloneill/ytreceiver
Last synced: 5 months ago
JSON representation
A dead simple QML app for receiving "Cast to TV" from an Android/iOS device
- Host: GitHub
- URL: https://github.com/danieloneill/ytreceiver
- Owner: danieloneill
- License: gpl-3.0
- Created: 2025-05-05T14:31:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-05T16:00:04.000Z (about 1 year ago)
- Last Synced: 2025-10-23T21:39:27.483Z (9 months ago)
- Language: QML
- Size: 267 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YTReceiver
A dead simple QML app for receiving "Cast to TV" from an Android/iOS device
Based on the concept of [Youtube Cast Receiver (YCR)](https://github.com/marcomow/youtube-cast-receiver), and snaking the user-agent value (and these docs/screenshots) from that project too.
## Linking your device
### 1: Open the application and click the settings icon

### 2: Click "LINK WITH TV CODE"

### 3: Note the TV code on your screen

### 4: Open the Youtube app on your smartphone and click your photo in the top right

### 5: Tap "Settings"

### 6: Tap "Watch on TV"

### 7: Tap "Enter TV code"

### 8: Enter the code on your computer screen in the box and press "Link"

## Building
Clone this repository, then do something like this:
```bash
$ cd YTReceiver
$ mkdir build
$ cd build
$ qmake6 ..
$ make -j12
$ ./ytreceiver
```
There's no magic in it. This can be run directly inside qml6 without having to compile diddly-squat:
```bash
$ cd YTReceiver
$ qml6 Main.qml
```
## AppImage
To make an AppImage, a bash script is provided called `make_appimage.sh` which makes several assumptions:
* You built it using the instructions above, specifically in the `build` directory.
* You are on a BSD/Linux system with access to create/delete stuff in /tmp
* You have squashfs tools installed
* You have wget
* You are building on x86_641
* You want Wayland support2
1 If you aren't on x86_64 change `HOST_ARCH` to your arch at the top of the script. Check which architectures are available at the [linuxdeploy-plugin-qt releases page](https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/tag/continuous).
2 Wayland support (as I understand it) may not work on all distros at the moment. Just edit those environment variables and remove those if you want to stick with only xcb.
This script also instructs linuxdeploy to not strip binaries/libraries, because (on my system) it is currently (2025-05-05) broken.
This script is also clearly my first attempt at using AppImage. We're learnding.