HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
H-M-H
Weylus
Rust2020–2023
H-M-H / Weylus

Weylus

Use your tablet as graphic tablet/touch screen on your computer.

7Distinct people
16Mentions
0Explicit recommenders
9.8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Use your tablet as graphic tablet/touch screen on your computer.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year16 dated mentions

Observed mentions: 2020-05-05 16:50:23 UTC to 2023-10-06 18:44:21 UTC.

02462020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 6 mentions; 2 submissions, 4 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 2 submissions, 3 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC624
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC303
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC523
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC202

What Hacker News says

16 sources
Any browser that supports "PointerEvents" I think will do it (canIuse indicates its all of the them..). There is a How it works section at the bottom, which is interesting: "Modern browsers expose so called PointerEvents that can convey not only mouse but additionally stylus/pen and touch information. Weylus sets up a webserver with the corresponding javascript code to capture these events. The events are sent back to the server using websockets."....... https://github.com/H-M-H/Weylus#how-does-this-work a
In Weylus – Use your tablet as graphic tablet/touch screen on Linux
Shameless plug: I created a pretty similar piece of software: Weylus [1]. Additionally to mirroring the screen touch input is forwarded, so you can use your tablet as graphic tablet for your computer. I only use it on Linux so that's where it works best. It comes as a single (mostly) statically linked binary with a minimal gui (and headless mode via command line) and is written in Rust (do I still get brownie points for that?). [1]: https://github.com/H-M-H/Weylus
In Deskreen: Turn any device into a secondary screen for your computer
Interesting, for those wondering how this could be useful apart from what's already mentioned in the Readme: Projects like my Weylus [1] or the similar Deskreen [2] would greatly benefit from this as both can mirror your screen to a tablet and like that one could use a dummy display and said tablet to create an additional screen. On a related note, does anyone know of similar software to create dummy displays on Linux? All I could find so far is some trickery which only works with Intel hardware on X11 [3]. [1]: https://github.com/H-M-H/Weylus [2]: https://github.com/pavlobu/deskreen [3]: https://github.com/H-M-H/Weylus#intel-gpu-on-xorg-with-intel...
In Dummy display for Apple Silicon Macs to achieve custom resolutions
> In fact in the first few releases of Fedora Workstation where we shipped PipeWire we solely enabled it as a tool to handle screen sharing for Wayland and Flatpaks. PipeWire is truly a godsend for screen recording on Wayland, not very long ago, if at all, every desktop environment / compositor had their own home brewed protocol and developing anything related to screen recording on Wayland was a massive pain [1]. I still can not fathom how Wayland could even exist this long without any decent way to do screen recording and I also do not get why there is no official protocol or at least extension for this! But thanks to PipeWire some first projects finally support screen capturing on Wayland. Both Firefox (via webrtc) [2] and OBS [3] directly interface with PipeWire. For my personal project Weylus [4] I opted for the gstreamer plugin as a
Read the rest
t the time the documentation for PipeWire itself was very lacking and I could not figure out how to get it to work. Fortunately gstreamer is better documented and it turned out to be rather easy to use. But it shows that all this is still in an early stage as I hit quite some bugs, probably the most egregious (maybe even somewhat funny) one is KDE's kwin_wayland crashing if you hover the cursor over any window close button while screen recording [5], sadly it doesn't seem to be fixed yet. For some more bugs I've hit, see [6]. Something I am a little worried about is that flatpak with their xdg-desktop-portal [7] is now responsible for the de facto standard how screen recording is negotiated on Wayland. I fear that this means if flatpak does not need a feature, even if it makes sense in another context, it probably won't ever be implemented. For example something I require for my project are proper window names and their position as well as size, but apparently this is nothing essential for flatpak and the issues I have opened have largely been ignored [8]. This is by no means meant as an accusation, just an observations that things are not all good. [1]: https://github.com/H-M-H/Weylus/issues/3#issuecomment-652670... [2]: https://webrtc.googlesource.com/src/+/refs/heads/main/module... [3]: https://github.com/obsproject/obs-studio/blob/master/plugins... [4]: https://github.com/H-M-H/Weylus [5]: https://bugs.kde.org/show_bug.cgi?id=435042 [6]: https://github.com/H-M-H/Weylus/issues/3#issuecomment-808940... [7]: https://github.com/flatpak/xdg-desktop-portal [8]: https://github.com/flatpak/xdg-desktop-portal/issues/created...
In PipeWire and fixing the Linux Video Capture stack
Thanks for your feedback! I honestly did not expect Weylus to get that much attention. Unfortunately my time is limited and I am not too comfortable taking donations then. > 1) From the video, latency would need to go way down. On the encoding side the only thing I can think of to improve latency is to try hardware encoding if available. Something like NVENC might bring it down. That leaves optimization for the network protocol to use, something based on udp is likely better suited than websockets. And finally mobile apps probably leave more room for improving playback latency (and enable other protocols than using websockets). > 2) Pressure support is important, if not critical. It is pretty straightforward to add new input methods, I will add some instructions to the Readme, maybe someone will step forward and add support for macOS and
Read the rest
Windows. > 3) Packaging. There already is a .deb, although I still need to fix some dependency issue [1]. > Next step would be to go from mirroring to second display. Apparently this is almost possible right now (at least with X11), see [2]. > breadcrumbs I think this is the way to go, I will add some more info on how to contribute soon. [1]: https://github.com/H-M-H/Weylus/issues/6 [2]: https://github.com/H-M-H/Weylus/issues/5
In Show HN: Weylus – Use your tablet as graphic tablet/touch screen on Linux
The review mentions that the screen is a bit small for all of Krita and suggests that using something like a big iPad probably provides a better experience. As this is only about Android I thought of promoting my take on this problem. In fact I released a small program I use to take handwritten notes via iPad on my Linux system just a few weeks ago. It works on both Android and iOS and basically turns these devices into graphic tablets. You can take a look at: https://github.com/H-M-H/Weylus
In First Krita Beta for Android and ChromeOS in Play Store

Showing the 15 most recent of 16 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.