Overview

Note this guide was written for MicroPython.org firmware and not Adafruit CircuitPython firmware.

One unique feature of MicroPython on the ESP8266 and its WiFi microcontroller is a WebREPL (read-evaluate-print loop, like a Python 'command line') accessible through a webpage.  Instead of using a serial connection to the board you can run Python code directly from your browser in a simple terminal.  You don't even need to connect the board to a WiFi network, it can create its own that you use to access the WebREPL!

This guide will walk through how to enable and access the WebREPL on MicroPython ESP8266.  Note only the ESP8266 version of MicroPython supports the WebREPL, and be aware the WebREPL is an experimental feature that is under active development.  Follow this guide to learn how to explore the WebREPL on MicroPython ESP8266 yourself!

Before you get started make sure you have a ESP8266 running the latest MicroPython firmware.  In addition you'll want to be familiar with the basics of MicroPython by reading these guides first:

This guide was first published on Aug 26, 2016. It was last updated on Nov 14, 2018. This page (Overview) was last updated on Jun 13, 2018.