A new cross-platform solution for Web developers

  • Hello HN! Creator and co-maintainer of the Socket runtime here. This project is new, and it's very ambitious, so I'm here to answer any and all questions. Some of the key take-aways are...

    - A focus on Web Devs (No new languages to learn)

    - A runtime, not a library (All developer code is encapsulated)

    - Provide a secure context that loads like local web server (to make it easy to bring existing code, and use it like a web developer)

    - Normalize native platform features like Bluetooth and UDP sockets - Normalize differences between wkwebview and Webview2, and provide things like a unified WHATWG fetch method and URL class.

    - Provides new kinds of communication protocols (like P2P)

    Please visit the post for more details and give it a star on GitHub to show your support. Cheers!

  • Looks great!

    Since I've never heard anybody prefer React Native to just regular old React, React Native seems kinda pointless now.

  • I have worked with some on the team in a professional setting in the past. I've seen them deliver brilliant enterprise-grade engineering to the Fortune 500. Now they're shaking up the world again. For some reason they're just giving it all away. Take advantage of their generosity. This is pro.

  • How easy would it be to make a Socket-based GUI program, stick it on a thumb drive and run it on a friend's PC?

    The Distribution Guide (https://socketsupply.co/guides/#distribution-guide) has instructions for code signing on Apple platforms, but I'm curious about the "weekend project" angle. Like, does `ssc` produce exe, apk? Could I use it to make a self-contained app that can launch without installation on Linux?

  • Been waiting forever for a tool to make native mobile apps using web tech, looks very promising.

  • I've been following the project for a bit and this is great, I'm really excited for this to get wider adoption. This is gonna save a lot of headaches and put power in the hands of web devs.

  • I’ve been trying it for a contract where I have to wrap an existing PWA into a native app. The developer experience is really great!

  • Do you guys have a tutorial on live p2p video/audio streaming? I wanna check it out!

  • Very Cool! This is going to really speed up development

  • How I didn't hear about this before? this going to be a game-changer.

  • Looks cool

  • great to see continued innovation in this area. especially great to see based around the web. something i have been pushing and trying to build since 2007

  • Looks great... just getting started :O

  • Awesome