8 ms·
Show HN: Visual Studio Code for Chromebooks and Raspberry Pi
- saagarjha 8y agoHas anyone tried this? How does this perform?
- headmelted 8y agoI run it on a Chromebook Flip and a RPi 3. It runs well for the light projects I use it for, and I've yet to encounter plugins that don't work - although I'm sure they exist.
- TheLoneTechNerd 8y agoI think you'd get far more traffic if you linked to a page that actually has information (https://code.headmelted.com/ https://code.headmelted.com/) instead of to the list of builds! In any case, this is awesome and I'll definitely give it a try
- sctb 8y agoThanks, we've updated the link from https://github.com/headmelted/codebuilds/releases https://github.com/headmelted/codebuilds/releases.
- headmelted 8y agoThanks for this, wasn't sure which was best to use.
- pjc50 8y agoAh, I see we're still doing "run the output of this url as root" installation..
- g105b 8y agoThat's how all executable code is distributed outside of a package manager. Ever downloaded an EXE on Windows or DMG on Mac? It's the same, except you can inspect the code doing it this way if you were worried.
- smacktoward 8y agoGood thing nothing bad ever happened because someone ran an EXE they downloaded off a Web site...
- pjc50 8y agoWindows will complain if you download and try to run an unsigned exe. While APT packages can be signed, wget|sh can't be, so it's comparatively easier for someone to trojan the website and distribute malware.
- 0xCMP 8y agoInteresting, for what it's worth you can already run VSCode on Chromebooks using Intel processors. It's my preferred editor right now on my Pixelbook running from the Embedded Linux container beta.
- headmelted 8y agoI wasn't sure which was the better link to post but I've written about exactly this here: https://headmelted.com/visual-studio-code-for-arm64-67c19625ba2c https://headmelted.com/visual-studio-code-for-arm64-67c19625... Basically it's the ARM and ARM64 support that's new. For anyone who has a device that supports the official Linux apps containers I steer them down that route, the Crouton method is kept around for older kernel devices (as their out of luck wrt official Linux support, sadly)
- Theodores 8y agoThanks for your efforts, as a long time Chromebook user I am truly impressed particularly with the Crouton build for those of us with the original Pixel and no Android apps. Currently I am not in Developer Mode and I have a linux box for running a different IDE. I am okay with my Pixel being for testing and non-dev things. So, before I powerwash the thing and get Crouton working again (which I am slightly loathed to do since the five year support period is over), could I please have a few screen shots? I hope I am speaking here not just for myself but for others with a loved but dated Chromebook and questions about how this would work in the file-less world of ChromeOS where I am not so likely to be able to sync my files to a remote server. If I am to swap over to a different IDE then I need a few pictures to persuade me that the efforts are worthwhile. The Pixel (original vintage) has the best screen/keyboard/trackpad/speakers/design of any laptop ever made even if the CPU is a bit lame by today's standards and the battery doesn't last all day. So it would be nice to code on.
- ardian_b 8y agoApart from the project itself, it seems contact section link does not work. I guess it should be anchored to page header. Interesting project anyway, +1 star on Github :)
- deleted 8y ago[deleted]
- headmelted 8y agoThanks, will get a look at the contact link and patch it up. The star is appreciated! :-)
- jmkni 8y agoGreat to see you’re still at this Jay, I remember the original post from a year or so ago, very nice work!
- headmelted 8y agoExplanatory post of the new parts (inc. ARM64) https://headmelted.com/visual-studio-code-for-arm64-67c19625ba2c https://headmelted.com/visual-studio-code-for-arm64-67c19625...
- michaelbuckbee 8y agoThis is cool, but I'd love to hear what others have setup as far as developer setup with their Chromebooks? Do you use VS Code locally and actually run your servers/terminals on a VPS? Something more clever locally with Docker or a VM?
- ajstarks 8y agoSee: https://twitter.com/ajstarks/status/1076694459717480448?s=20 https://twitter.com/ajstarks/status/1076694459717480448?s=20
- voltagex_ 8y agoWhat (kind of) code changes were required?
- headmelted 8y agoNo changes to the code itself - these are builds of the OSS Code from MS' Github. In terms of the builds themselves, they're using Archie: https://headmelted.com/introducing-archie-cbf77a7a64fb https://headmelted.com/introducing-archie-cbf77a7a64fb (on Github at https://github.com/headmelted/archie https://github.com/headmelted/archie)
- Delfino 8y agoI got excited for a moment because I thought this might solve one of my minor problems as a K-12 CS teacher. Every school I've taught at is 1-1 with chromebooks and to be able to code on them so far I've set up a Raspberry pi and had students use the Secure Shell App from the Chrome Store to connect to the Pi. This comes with the overhead of needing to teach them to use ssh, basic linux commands and text-based interfaces in general and using nano (simpler than vim). But I'd love to skip all that and just let them code on their machines. Alternatively, I've used websites like codepen or repl.it to have them code online but this has the downside of requiring an internet connection (fails occasionally so need to have back-up lesson plans) and privacy concerns of having students sign up (my first district required companies to sign a data sharing agreement before this was allowed). Unfortunately, I'm not able to install Ubuntu on the student chromebooks and they don't support linux apps so this solution will work for me.
- extra88 8y agoWould AWS Educate and Cloud9 work?
- murukesh_s 8y agoright, or install it in your own local server
- robgibbons 8y agoOut of the box, Chromebooks are really not intended to do much other than consume web-based content, including sites like CodePen or other web-coding interfaces. It seems like you've explored those options fairly well. If you can't modify the machines to run full Linux environments (ala crouton), you're mostly stuck with web-based experiences, or the apps provided to you by the Chrome Web Store. Teaching your students to SSH into a Linux box and teaching them basic BASH skills is pretty worthwhile in itself. You seem to have made the best of a quirky situation.
- skybrian 8y agoThis is no longer true, at least for some Chromebooks. There is support for running Linux apps in a container: https://support.google.com/chromebook/answer/9145439?hl=en https://support.google.com/chromebook/answer/9145439?hl=en https://chromium.googlesource.com/chromiumos/docs/+/master/containers_and_vms.md#Supported-Now https://chromium.googlesource.com/chromiumos/docs/+/master/c...
- robgibbons 8y agoThe main seller here is ARM support for a modern IDE. A few years back, my "main" machine was a Samsung Chromebook 2 (13") running Xubuntu (Ubuntu with XFCE) via crouton. Surprisingly snappy and quite useful as a thin client/web coding machine. My biggest gripe back then was the lack of Sublime builds for ARM machines. This then, would be pretty welcome to anyone in that niche.
- dleslie 8y agoEmacs and Vim work fine on ARM.
- robgibbons 8y agoVery true. I admit I am a heathen who relies on cursors far too much. Let's reframe that as GUI-based IDEs.
- black-tea 8y agoEmacs and vim have GUIs.
- jcelerier 8y ago> The main seller here is ARM support for a modern IDE. pretty sure all the common linux IDEs, QtCreator, KDevelop, Gnome Builder, etc. work fine on ARM
- SmellyGeekBoy 8y agoTrouble is (and I say this as a full-time Linux user and developer) all of the above are terrible IDEs.
- glenrivard 8y agoBeen using VS Code on a Pixel Book for a while now. Works well.
- spork12 8y agoThe increasingly popular trend of getting folks used to executing shell scripts from wget and curl is pretty worrying. They should at least print the script on the page. I hope users aren't blindly running scripts from a website called headmelted.com on their dev machines.