News for hackers. Stuff that matters.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Saturday October 05, 2024 @09:05AM (#41749568)
Hey HN,

Inspired by the classic "Compiling" XKCD comic (https://3d.xkcd.com/303/), I’ve built CodeAir (codeair.app) – an Android app and VS Code extension that turns your phone into a remote control for VS Code.

With CodeAir, you can:

- Control 800+ VS Code commands right from your phone. - Send text and image files directly into your workspace and even have the images transcribed using AI. So imagine taking a snapshot of a piece of code from a physical textbook and being directly able to run that inside VS Code. - Request screenshots from VS Code while AFK and get them delivered to your phone so you can monitor long builds or processes remotely when you're on a coffee break. - If you’ve got an OpenAI API key, you can even perform QnA over your transferred files and images.

I made this tool to help monitor long builds or tests when I’m AFK, but it’s useful for so much more! It’s super niche, but I hope some of you find it helpful.

Check it out at codeair.app and let me know what you think. Feedback is very welcome!

Re:Show HN: CodeAir – Control VS Code from Your Phone by dennisy on Sunday October 06, 2024 @02:32PM (#41759060)
This is a cool project! However maybe we should just be on a break when on a coffee break?
Re:Show HN: CodeAir – Control VS Code from Your Phone by itake on Sunday October 06, 2024 @05:54PM (#41760649)
I saw it as tool to monitor long running executions.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @05:42AM (#41764323)
hehe, yeah, sometimes you should and sometimes you end up being a character like in the xkcd comic.
Re:Show HN: CodeAir – Control VS Code from Your Phone by sestep on Sunday October 06, 2024 @04:10PM (#41759879)
TIL 3d.xkcd.com exists.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @05:56AM (#41764412)
I love HN for these moments - when you learn things that are orthogonal to the original post.
Re:Show HN: CodeAir – Control VS Code from Your Phone by NBJack on Sunday October 06, 2024 @08:19PM (#41761570)
This sounds like it would give our InfoSec team heart palpitations over the potential data leaks and new attack vectors.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @05:48AM (#41764364)
I am curious to hear more. Everything happens over local network, so unless the network is compromised, it shouldn't cause too much trouble? I am advising users against using this over something like airport wifi or something.
Re:Show HN: CodeAir – Control VS Code from Your Phone by anonzzzies on Sunday October 06, 2024 @08:26PM (#41761602)
Are you going to release the source? As the github only has a Readme currently?
Re:Show HN: CodeAir – Control VS Code from Your Phone by purple-leafy on Sunday October 06, 2024 @09:50PM (#41762023)
Why should they?
Re:Show HN: CodeAir – Control VS Code from Your Phone by ethanwillis on Sunday October 06, 2024 @10:17PM (#41762172)
Because this has deep integration with potentially sensitive data?
Re:Show HN: CodeAir – Control VS Code from Your Phone by purple-leafy on Monday October 07, 2024 @01:24AM (#41763042)
Then don’t use it lol, they are under no obligation to share their code for someone else to steal
Re:Show HN: CodeAir – Control VS Code from Your Phone by donbreo on Monday October 07, 2024 @03:04AM (#41763473)
bad take. there is no point in posting it if we don't know if its safe to use. The world doesn't work on the "Trust me bro principle."
Re:Show HN: CodeAir – Control VS Code from Your Phone by purple-leafy on Tuesday October 08, 2024 @02:45AM (#41774412)
Okay fair enough. But as a developer it grinds my gears when I work hard on something and like a moth to flame I get asked to open source it (so others can copy my hard work)
Re:Show HN: CodeAir – Control VS Code from Your Phone by anonzzzies on Monday October 07, 2024 @02:27AM (#41763287)
It was a question. And the read me has a contributing section, so it's pretty logical to assume so. It is also incredibly niche as author says themselves; usually that means the more the better.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @05:52AM (#41764390)
Thanks purple-leafy, I do share some similar concerns. There was only a recent case where a popular open source project was cloned and turned into a startup.

I am offering the Android app and extension for free. I'll be open sourcing the extension soon. I am hesitant to open source the Android app until I also get the iOS version out.

Re:Show HN: CodeAir – Control VS Code from Your Phone by anonzzzies on Monday October 07, 2024 @02:06PM (#41769004)
You people have issues reading? I just asked if you are going to as you have a repository. If you do not that's fine. jeeze.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @10:27PM (#41773267)
sorry if my answer came off the wrong way, I just meant, yes I'll be releasing the source code for the VS Code extension.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Tuesday October 08, 2024 @03:59PM (#41781225)
I open sourced the extension code.
Re:Show HN: CodeAir – Control VS Code from Your Phone by compootr on Sunday October 06, 2024 @08:47PM (#41761711)
fine idea but looks like you forgot to push the source up to your github repo.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @05:53AM (#41764399)
Thank you for checking on things, I am working on open sourcing the extension part of the project which should be available soon!
Re:Show HN: CodeAir – Control VS Code from Your Phone by prameshbajra on Monday October 07, 2024 @01:09AM (#41762963)
Eagerly waiting for the iOS app.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @05:52AM (#41764393)
Thank you, I am working on it!
Re:Show HN: CodeAir – Control VS Code from Your Phone by just-tom on Monday October 07, 2024 @02:40AM (#41763362)
Nice! I'm using AnyDesk for both desktop and phone, and then can completely control my computer from my phone, not only vs code. Also for watching long processes.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @05:46AM (#41764353)
anydesk etc. are good, but this app does a little more than monitoring. It's like a cross between anydesk use case and airdrop (like you can send files and images etc to your wokspace). And everything happens over your local network.
Re:Show HN: CodeAir – Control VS Code from Your Phone by gbraad on Monday October 07, 2024 @06:41AM (#41764656)
anydesk relies on a relay/third-party. this seems more like a direct connection (needs something like tailscale for remote access)
Re:Show HN: CodeAir – Control VS Code from Your Phone by gbraad on Monday October 07, 2024 @06:21AM (#41764534)
please, publish to openvsx.
Re:Show HN: CodeAir – Control VS Code from Your Phone by gbraad on Monday October 07, 2024 @06:24AM (#41764559)
phone app still has template code left in; react native?
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @10:28PM (#41773276)
Thank you so much for pointing these out! Yes, it's react native. And thanks to your comment, I am also working on getting my account setup on open vsx
Re:Show HN: CodeAir – Control VS Code from Your Phone by mejutoco on Monday October 07, 2024 @06:30AM (#41764591)
If the thing you are waiting for is a command you can alternatively invoke your command as

   command && beep
It will beep one time once it finishes successfully.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @10:29PM (#41773284)
Thank you, this is a TIL!!
Re:Show HN: CodeAir – Control VS Code from Your Phone by anis-mer on Monday October 07, 2024 @10:01AM (#41766120)
Amazing job! I'm really looking forward to diving into the source code when (or if) you release it. Curious—are you using WebSockets or any other technology for real-time updates?
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Monday October 07, 2024 @10:28PM (#41773280)
thank you! I'll release the code for the VSC Extension soon.
Re:Show HN: CodeAir – Control VS Code from Your Phone by pk97 on Thursday October 17, 2024 @06:11AM (#41868099)
Just in case someone finds this - I had to rename and move the project to aircodum.com as an entity called 'codeair.in' tried to harass me, claiming they had a TradeMark (they really didnot) and I wanted to avoid drama.