TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Weylus – Use your tablet as graphic tablet/touch screen on Linux

176 点作者 HMH将近 5 年前

13 条评论

HMH将近 5 年前
Hi HN, I created this program out of my personal need to be able to do some handwriting on my Linux system. I know, I could just have bought a graphic tablet but as I already have a tablet with the necessary hardware for note taking around I was unwilling to do so. And after quite some fruitless search for a solution to this problem Weylus (= Web + Stylus) was born.<p>It is written mostly in Rust, some C and a tiny bit Typescript and works by serving a webpage that uses the browser API to capture pen, touch and mouse events from the tablet. Additionally the desktop or a selected window is captured and encoded to a video stream via ffmpeg. This stream is played in the browser using the Media Source Extensions API.<p>This should also run on macOS and Windows but with very limited features.
评论 #23448240 未加载
评论 #23556700 未加载
评论 #23452606 未加载
评论 #23454970 未加载
评论 #23455332 未加载
评论 #23456473 未加载
wegs将近 5 年前
Thank you!<p>This is awesome.<p>This is important enough I&#x27;d donate right now, if (1) there were a donate button (2) it&#x27;d fund further development to the point where this was production-ready.<p>Bringing this from proof-of-concept to mass-market would be a huge amount of work:<p>1) From the video, latency would need to go way down.<p>2) Pressure support is important, if not critical.<p>3) Packaging. To be impactful, this would want to be distributed in Apple&#x27;s store, and in Debian&#x2F;Ubuntu repositories (or at least a .deb). Paid on the Apple side is fine (and not contrary to open source -- I&#x27;m paying for convenience, and that&#x27;s a payment I&#x27;d gladly make).<p>Next step would be to go from mirroring to second display. This is less bad than it might seem on the surface; it doesn&#x27;t involve a whole new X driver, so long as outputting from the current one to a phantom device, and mirroring the phantom display (same thing as if I unplugged one of my monitors; HDMI keeps going out, and I could continue to mirror it).<p>One possible way to get there is to get the architecture to a place where others can do that work (e.g. leave appropriate places for people to plug in, and appropriate breadcrumbs where others can finish the work).<p>Disclaimers: Of course, one donation isn&#x27;t enough to fund further development. I&#x27;m not rich, so we&#x27;re not talking massive donation. Aside from that, by the time you set something up, I&#x27;ll likely be long gone from this discussion (you don&#x27;t have my contact info to follow up). But that&#x27;s also not an abstract comment; I donated to Digimend before, and this would address part of the same major gap. Take the offer more as an indication of the massive value this would provide to at least one person.
评论 #23457701 未加载
29athrowaway将近 5 年前
You can do this with Steam Link, which is available on iOS and Android devices. You do not need any Steam hardware.<p>Just install the Steam Link app, and then minimize the Steam app. Now you have access to your computer from your tablet.
评论 #23455115 未加载
nemo136将近 5 年前
Works great for me as is. The fact that no android app is necessary is so great. The improvements I would see:<p>- have a qrcode when running the server instead of displaying the url, much more practical<p>- have a &quot;relative cursor mode&quot; to behave like a usual trackpad, where you move the cursor from its current position. I am not interested in seeing my display on the phone, just use it as a trackpad while looking at my display.
skinkestek将近 5 年前
<i>This is a brilliant hack!</i><p>I&#x27;ve researched the possibilities for something similar a few months back but my idea was far far simpler, just avoiding the need for an app to scribble things down in a web app. Also, unlike you I didn&#x27;t finish.<p>Hats off to you, for me this is one of those twice a year moments on HN where I see something utterly brilliant that no one else though about!
solarkraft将近 5 年前
Thanks for making it - this seems like a nice solution for me, as I just bought a stronger laptop again after dailying a Dell 5285 for a while (almost perfect, but screen and power are just not enough and I barely ended up using the pen for notes anyway).<p>This seems almost perfect for such a setup. You can even get a graphics tablet for little money, since those 8-10&quot; intel atom windows tablets from 2013 or so are super cheap now! Lag doesn&#x27;t look so bad. Wayland support will be a huge headache, but is not a huge problem yet as long as you can run many apps via XWayland.
dnquark将近 5 年前
This is excellent. I&#x27;ve been searching for ways to use modern hardware with my Xournal&#x2F;Xournal++ workflows, and this is a promising approach. I am, however, a little concerned about robustness of video streaming.<p>In an ideal world, Xournal++ would have a modern web-based front-end as opposed to GTK (which currently means it&#x27;s de-facto Linux-only until GTK resolves issues with Windows pen&#x2F;inking APIs).
评论 #23452715 未加载
评论 #23454704 未加载
评论 #23452902 未加载
BiteCode_dev将近 5 年前
Love the concept but the lag seems terrible. This is what kills any stylus for me. I&#x27;m so used to the instantaneity of paper than the smallest ms of delay between action and effect makes my brain hates the whole process.<p>As a Linux user, the iPad pro writting feedback is probably the only thing I envy from Apple&#x27;s users. What they did is black magic.
评论 #23455990 未加载
shermanmccoy将近 5 年前
I see you used X. From what I remember when I looked at this years ago, X was really bad at highlighting dirty pixels. It couldn&#x27;t tell you where your pixels had changed. So you had to flush the entire screen out over the network (vnc) every time something changed. This inefficiency made it unworkable in some cases.
9wzYQbTYsAIc将近 5 年前
Exactly what I needed for doing some whiteboarding during a teleconference. Thanks!
tapia将近 5 年前
Alone from the name I thought this would have support for Wayland. Apparently that is not the case. Nice program though ;)
Technetium将近 5 年前
Fantastic job, I don&#x27;t know why this didn&#x27;t already exist, but I&#x27;m glad it does now.
raghava将近 5 年前
Cool project.<p>Need to see if this works with PostmarketOS and off to buy one old tablet.