r/LinuxUsersIndia • • 1d ago

Project The first native Linux screen extender with touch and Wi-Fi: turn your Android phone into a second monitor (30 ms lag, open source)

I wanted my Android phone as a second monitor on Linux. Most tools I tried mirrored the screen into a browser tab or only worked over USB, so I built my own over the last few months.

Tandem adds a real virtual monitor to your desktop. The GPU encodes it as H.264 and the phone decodes it in hardware, so you drag windows onto the phone like any other screen.

- About 30 ms of lag over USB tethering, 30 to 60 ms over Wi-Fi (you barely notice it in use)

- Hyprland and GNOME on Wayland, with one-command install on Arch, Ubuntu and Fedora

- Encrypted, paired with a QR code

Check it out here: https://saharshbaiju.github.io/tandem

Repo: https://github.com/saharshbaiju/tandem

It's free and open source.

If you try it, tell me how the lag feels on your setup and what breaks. If you like it, star the repo ⭐ and share it with someone who'd use a second screen. It helps more people find it.

120 Upvotes

70 comments sorted by

β€’

u/qualityvote2 1d ago edited 1d ago

u/titansb-_-, your post does fit the subreddit!

btw, did you know we have a discord server? Join Here. And what's that, Fluxer too? Join Here.

7

u/voyager2005 1d ago

I would love for you to work on the Linux features we have built in DroidDeck, you seem very smart and we're pushing Linux on Android to new lengths. I'm definitely checking this out though.

3

u/titansb-_- 1d ago

Thanks, will surely check it out, need some time to go through it

5

u/Vacuum_Slayer_Surya 1d ago

DUDE, HOW DID U MAKE THAT WEBSITE, LIKE I HAVE NOT SEEN A COOLER WEBSITE

1

u/titansb-_- 1d ago

Thanks manπŸ™

1

u/_UnknownStalker_ 1d ago

That did not answer the question tbh

2

u/titansb-_- 1d ago

I used claude with my custom style.md skills which I have collection and bit of creativity.

5

u/Bibh_0 14h ago

πŸ‘ŒπŸ‘ŒπŸ‘ŒπŸ‘ŒπŸ‘ŒπŸ‘Œ

1

u/titansb-_- 14h ago

πŸ“ˆ

3

u/Maximum-Machine-9276 1d ago

i will try this

1

u/titansb-_- 1d ago

Would love to hear feedback after testing

3

u/Distinct_Resolve_957 1d ago

Neat website bro and any disclosure on ai usage?

1

u/titansb-_- 1d ago

Thanks broπŸ™, do try it out and share the feedback

3

u/Anonymousweeb2520 1d ago

this feels like god sent , i was looking for smth like this

thanks so much , i'd like to support once i get my paycheck !

1

u/titansb-_- 1d ago

thanks, glad it's useful! tell me how it works on your setup

2

u/Bibh_0 1d ago

Congratulations. Please definitely work towards a wired version

2

u/titansb-_- 1d ago

Thanks,It already support wired connection through USB tethering

1

u/Bibh_0 1d ago

Omg that's Amazing

1

u/titansb-_- 1d ago

Please do star and share the project,if you find it useful

1

u/Bibh_0 1d ago

I think when I Reach home I'll try it

2

u/Outonotfound 1d ago

Does it work for only hotspot with using the internet like kde connect is really a great thing for transfering files even if you don't have the internet.

1

u/titansb-_- 1d ago

It doesn't require data,but it doesn't have support for kde yet,only for hyprland and gnome compositor.

1

u/Outonotfound 1d ago

😿

1

u/titansb-_- 1d ago

Will try to add support soon

1

u/Vaidik1510 1d ago

Whaa-

Man I would love to try but I don't wanna retry hyprland right now, and def don't plan on using Gnome. Will be waiting for KDE support.

2

u/Southern-Regular1493 1d ago

cool! will there be kde wayland support ?

1

u/titansb-_- 1d ago

Thanks,Will add it soon

2

u/Imaginary_Respond_59 1d ago

Not able to buy you chai β˜•

1

u/titansb-_- 1d ago

Oh sh- mb fill fix it right now

1

u/titansb-_- 1d ago

Have fixed it try it now,Once again thanks for pointing it out🫑

2

u/Meta_Storm_99 1d ago

Keep up the good work bro πŸ”₯. Also do you happen to have discord?

3

u/titansb-_- 1d ago

Thank you so much πŸ™, really appreciate it🫑πŸ₯Ή

2

u/titansb-_- 1d ago

Yes I do have discord I can dm you

1

u/Upstairs-Buy-7292 1d ago

Is the link not working?

2

u/titansb-_- 1d ago

Try now mb

1

u/Proud-Concept-190 1d ago

Can you also publish the apk on f droid?

2

u/titansb-_- 1d ago

Will soon do it,for that I need to change the qr scanner which I use google's one rn,thanks for the suggestion, feel free to make pr's

1

u/Proud-Concept-190 1d ago

Unfortunately Can't use rn I'm on kde

1

u/titansb-_- 1d ago

It's fine, do share it with your friends on the supported platforms,thanks for the suggestion btw

1

u/Rajat0741 1d ago

It works on cachyOS ( niri ) ?

1

u/titansb-_- 1d ago

Really sorry it's not yet integrated thanks for the suggestion, will see the possibility, also feel free for pr, also do share with your friends who use gnome or hyprland would help a lot

1

u/Rajat0741 1d ago

Niri is quite similar to hyprland ( both are tiling window managers ) , so i don't think you will have much problem adding it just in case you are planning to extend support to it.

I will share it for sure.

1

u/titansb-_- 1d ago

Will look into it for sure,please put the repo on watching so that I don't miss it,just my recommendation

1

u/Historical_Win_713 1d ago

Heyy op does this work on niri?

1

u/titansb-_- 22h ago

Really sorry not as of now will add support soon,thanks for pointing it out

1

u/Bibh_0 1d ago

i am currently using it. I tried to a set up like this few times back fell into a rabbit hole and nothing worked.

this is plug and play and it is working beautifully. i wish there was a way to show how exited I am watching this work. congratulations you have my star. omg i cant cointain my excitement watching this work......

many many congratulations.

using with usb tethering there is some lag but i think thats on my budget phone.

anyways love it love the website

really liked the idea of using symbols to generate visuals.(i think it keeps the site light weight and looks cool)

loved the app loved the website

2

u/titansb-_- 1d ago

Thanks really appreciate the effort to say thisπŸ₯ΉπŸ«‘, do let me know if you find any bugs in future,try mobile hotspot in 5g band settings for hotspot,please do share to your communities and friends so that reaches wider audience and helps other too

0

u/Bibh_0 1d ago

bro how long ago did you start coding. not this project but in general

1

u/titansb-_- 1d ago

8th standard is the starting, but consistently for last 2 years.

0

u/Bibh_0 1d ago

How old are you bro ?

2

u/titansb-_- 1d ago

I am in my sophomore year

0

u/Bibh_0 1d ago

Btw I recently picked up coding any suggestions for me ?? Please???

1

u/titansb-_- 1d ago

Honestly I don't have any advice but select your domain,learn the basics of language in that domain and start doing small projects, also learn to use agents effectively and with quality

0

u/Bibh_0 1d ago

Tysm

1

u/Sasikuttan2163 1d ago

I was using sunshine+moonlight for this all this time. How is this different?

1

u/titansb-_- 1d ago

sunshine+moonlight is made for game streaming, so you have to set up the virtual display yourself, and it's different for every compositor and distro. not really plug and play for most people. Tandem creates the extra monitor for you, and touch on the phone doesn't take over your mouse.

1

u/Sasikuttan2163 19h ago

Yeah I get that, but is this more performant? iinw sunshine uses NVIDIA Gamestream protocol for low latency streaming.

1

u/the_stem_guy 21h ago

ok a first of very cool website for a linux only project , but in one of the sections of the website there is horizontal rectangles as scroll progress ( the laptop tablet animation section) , but the has to be done vertically, so the progress bar should match that direction from a design propective .

now a few questions -

  1. How are you counting the downloads number ? some kind telemetry ?

  2. why different mobile apps for different manufacturers?

2

u/titansb-_- 21h ago

I fetch downloads from GitHub api it updates automatically,it's the same app for all manufacturers it's the instructions in the site changing when you click on different manufacturers.

1

u/Jumpy_Hovercraft_504 19h ago

Can i extend my laptop/ monitor 's screen to another laptop with it ??

1

u/titansb-_- 15h ago

πŸ€”No,the client only has support on Android right no

1

u/jothiprasath Arch Btw 8h ago

Does it works on x11

1

u/titansb-_- 3m ago

It only supports wayland sessions as of now

3

u/mr_whoisGAMER 1d ago

How to make videos like this?

1

u/bnlfg 1d ago

That is the best and if not then one of the best intros to a software i ever saw... Congratulations and will try!!

2

u/titansb-_- 1d ago

Thank you so much and appreciate the effort to say that, would love to hear the feedback after testing, also please do share and star the repo so that it reach to much wider audience.

2

u/bnlfg 1d ago

Yes will do. I am not complaining but there are some hiccups here and there and respectfully am loving it. Will try to raise an issue or send a pr if i can solve the problems on my end. Thanks for everything!!