Raspberry Pi WebIDE Update to 0.2.0

We’ve updated the WebIDE to 0.2.0. This is a fairly large release with most features being changed behind the scenes. The biggest change is a more robust, and faster installer. It can still take 3-4 minutes, but that’s down from 10-15!

The core of the editor has changed, so there won’t be a direct update for this from the previous alpha release. You’ll want to follow the instructions at the end of this post to get the latest version.

Here are some of the highlights of this release:

  • New installer to resolve the majority of the issues in our first Alpha that folks ran into.
  • Reduce memory consumption by 10-20mb.
  • Run on port 80 instead of 3000.  You can now simply type in “http://raspberrpypi.local”.
  • Experimental /config page to change your hostname and wifi ssid and password (wifi only on Occidentalis thus far).
  • Notification of activity while creating files and folders.  Now you know it’s working!
  • No longer tied to ‘pi’ user, creates a new ‘webide’ user as part of the installation.
  • Various bug fixes.

The full set of release notes are located in our repository.

Upgrading

To install this new editor, you’ll want to completely remove your old editor, and run the installation script again.

  1. Ensure that your code is safely saved in your repository at bitbucket.org.
  2. Uninstall using the following script
    1. curl https://raw.github.com/adafruit/Adafruit-WebIDE/release/scripts/uninstall.sh | sh
  3. Either make sure there are no rogue node processes running, or restart your Pi.
  4. Install the new and improved WebIDE
    1. curl https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/install.sh | sudo sh

If you’re curious as to what the installatin process is doing, you can easily review the script in our repository.

Please note:  In order to easily access GPIO pins, the new ‘webide’ user has the same permissions as the default ‘pi’ user (sudo).  If possible, a future release will remove sudo access as we improve the editor.

Issues?

Please file any issues you run into, and we’ll do our best to fix them quickly.


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



4 Comments

  1. I really love what you’ve done with this so far!
    Only criticism though is that there’s no GitHub support 🙁 I’ve really heavily invested in GitHub already so only being able to use BitBucket is a bit of a showstopper. Even if you allowed the code to be synced to just a local Git repo or just simply saved locally as opposed to always being synced to BitBucket would be great! To be honest, I’d almost prefer the local option first… gives me more control.

    Thanks for everything you do!

  2. Superb work! But the installer still ends with “Navigate to http://raspberrypi.local to use the WebIDE” even though my hostname is not “raspberrypi” lol.

  3. Thanks for the feedback!

    @Adam I think we have an issue created for an ‘offline’ mode that we’d like to build. That would save everything to local repos, and you could push manually (or we could add a button to push, not sure). The key here is the IDE should work well for beginners as well as more advanced users. We’re mostly focusing on making it work great for beginners, and can slowly add in more advanced features as we go. I know I’d personally like some of these feature requests in an IDE!

    @poglad 🙂 Yea, the editor just hard codes that path in the install.sh. I suppose I could just put in the valid hostname. I’ll create an issue. I’m guessing 90%+ of folks are using the default hostname, and those that changed it are technical, such as yourself, and know what’s up.

  4. Nice job guys! So far so good. A nice find is that I can run *.js files under node! Might be nice to add *.coffee support as well… or make it configurable.

    BTW, nice job with the Bitbucket integration!

Sorry, the comment form is closed at this time.