r/Supernote_dev • u/Gorlix02 • Jun 06 '26
Showcase [NEW-PLUGIN] sn-TCP-Tunnel: I built a plugin to mirror your screen over USB
Hey everyone! 👋
I wanted to share a new plugin I just released called sn-TCP-Tunnel. If you've ever tried to use Screen Mirroring in a classroom, office, or hotel, you probably know the pain of restrictive or terrible Wi-Fi.
Why I built it: I'm a Computer Engineering student at Politecnico di Milano, and our campus Wi-Fi strictly blocks devices from communicating with each other. I tried using Tailscale to bypass the network restrictions to mirror my screen, but the stream was incredibly laggy and unusable for live presentations. It drove me crazy because I just wanted a direct, fast connection.
So, I made this plugin. It routes the native Supernote Screen Mirroring (and Browse & Access) directly through your standard USB charging cable to your PC (Windows, Mac, or Linux). No Wi-Fi needed, absolutely no lag, and it works anywhere.
How it works (it's actually super simple):
- Install the plugin via PluginHost.
- Turn on USB Debugging in your Supernote settings (just a one-time thing).
- Plug your Supernote into your computer.
- Tap the new "TCP Tunnel" button on your Supernote toolbar and hit Start.
- The screen will show you a quick
adbcommand to copy-paste into your computer's terminal. - Open your browser to
http://localhost:8080and your screen is right there!
I designed the UI to look exactly like the native Supernote interface, and it automatically switches between English and Italian based on your system settings.
You can grab the .snplg file and check out the full setup guide on my GitHub: https://github.com/gorlix/sn-tcp-tunnel
Hope this helps anyone else struggling with university or office networks! Let me know what you think.
[UPDATE] sn-TCP-Tunnel v1.2.0 — fixed a bug that could silently break the tunnel
Hey everyone! 👋
Quick update on TCP Tunnel (the USB-instead-of-WiFi screen mirroring plugin I posted here a while back).
The important part: I found and fixed a bug where the tunnel could open fine but never actually relay any traffic — it looked like it started, but nothing came through on the PC side. Turns out the plugin was never explicitly requesting network permission from the host, and newer Supernote plugin security checks block that silently at the socket level (you'd never see an error, it would just... not work). If your tunnel has been acting up or refusing to connect lately, this update fixes it — you'll get a one-time permission prompt on first use now, just tap "Always allow" and you're set.
Also in this release:
Real plugin icon in the install list (it was showing a generic placeholder before) Cleaner name in Settings → Apps → Plugins ("TCP Tunnel" instead of the raw package name) Routine dependency updates under the hood Tested end-to-end on real hardware this time (not just unit tests) before shipping — connected, relayed, confirmed working.
Grab the update here: https://github.com/gorlix/sn-tcp-tunnel/releases/tag/v1.2.0
If you installed an earlier version and it stopped working properly, this is very likely why — sorry about that, and thanks for bearing with me. As always, let me know if you run into anything!
1
u/maxilogan Jun 06 '26
Sorry, can you be clearer on what's needed on the the computer? Am I right in saying that you at least need adb? It would be great if nothing was needed, because I would like to use it on my work environment where the installation of software is controlled and strictly monitored.
Grazie di cuore in ogni caso, utilissimo!
2
u/Successful-Carob8369 Jun 06 '26
Excellent my friend! I’ve been searching for something like this!!
1
u/Careful-Good5887 Jun 06 '26
YES, this brings morebusage scenario possibilities
1
u/Loud-Owl6337 Jun 06 '26
Grazie mille!
1
u/AdhesivenessAny3591 Jun 07 '26
I can imagine using this conjunction with something like screenpipe. Have it watch my writing there too.
1
u/theBlackOddity Jun 09 '26
updated the list of all plugins