{"id":13492101,"url":"https://github.com/vsolina/micropython-web-editor","last_synced_at":"2025-03-28T09:33:46.094Z","repository":{"id":65403947,"uuid":"543705686","full_name":"vsolina/micropython-web-editor","owner":"vsolina","description":"Web-based code editor (IDE) for MicroPython controllers with WiFi","archived":false,"fork":false,"pushed_at":"2023-05-30T12:31:04.000Z","size":1052,"stargazers_count":26,"open_issues_count":13,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-31T06:34:41.172Z","etag":null,"topics":["embedded","esp32","ide","micropython","programming","pyboard"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsolina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-30T17:07:11.000Z","updated_at":"2024-10-06T05:45:48.000Z","dependencies_parsed_at":"2024-10-31T06:30:35.399Z","dependency_job_id":"a50e4d54-069d-4496-859d-3b7e11d89169","html_url":"https://github.com/vsolina/micropython-web-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsolina%2Fmicropython-web-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsolina%2Fmicropython-web-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsolina%2Fmicropython-web-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsolina%2Fmicropython-web-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsolina","download_url":"https://codeload.github.com/vsolina/micropython-web-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246004116,"owners_count":20708134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embedded","esp32","ide","micropython","programming","pyboard"],"created_at":"2024-07-31T19:01:03.118Z","updated_at":"2025-03-28T09:33:45.767Z","avatar_url":"https://github.com/vsolina.png","language":"Python","readme":"MicroPython web code editor / IDE\n=================================\n\nWeb-based code editor for WiFi + MicroPython enabled microcontrollers\n\nUses [Cloud9 Ace](https://ace.c9.io/) editor for code editing \n\nHas an integrated WebREPL console\n\nDeveloped and tested on ESP32, but should work on other boards too\n\n\n![MicroPython Web IDE](media/interface.png)\n\nInstallation\n------------\n\n1. Flash a recent version (1.17+) of MicroPython to your Controller (http://micropython.org/download)\n2. Copy contents of /weditor and lib/microWebSrv.py to the root of Controller's file system\n\n```\n$ cd micropython-web-editor\n$ ampy --port /dev/ttyUSB0 put weditor /weditor\n$ ampy --port /dev/ttyUSB0 put lib /lib\n```\n\n3. Setup WebREPL (optional)\nOn your Controller run:\n```\nimport webrepl_setup\n```\n\n4. Update boot.py\n\n```python\nprint(\"Activating network\")\nimport network\nwlan = network.WLAN(network.STA_IF)\nwlan.active(True)\nwlan.connect('YOUR_SSID', 'YOUR_PASS')\n\nprint(\"Starting webrepl\")\nimport webrepl\nwebrepl.start()\n\nprint(\"Starting IDE web service\")\nimport weditor.start\n```\n\n5. Reboot Controller\n6. Open controller's IP in your browser (make sure to use http:// scheme - https not supported)\n7. Have a nice day\n\nInstall shell for MicroPython (optional)\n----------------------------------------\nFor easier file system operations (mv, rm, mkdir, df, etc.)\n[MicroPython shell](https://github.com/vsolina/mipyshell) - instructions on this page\n\n\nBundled open-source projects\n----------------------------\n\n*This project would not be possible without these exceptional projects*\n\n[Cloud9 Ace code editor](https://github.com/ajaxorg/ace)\n\n[MicroWebSrv](https://github.com/jczic/MicroWebSrv/)\n\n[MicroPython's WebREPL](https://github.com/micropython/webrepl)\n\n[And most importantly: MicroPython](https://github.com/micropython)\n\n\nNotes\n-----\n\n* File saving does not work well with large files yet\n* This editor was mostly written and debugged using itself\n* esp8266 does not have enough RAM to run all required components (yet)\n* When using the IDE, Internet connection is required because Ace is hosted on cdnjs (to reduce storage requirements); but it's possible to bundle required ace.js files on Controller's flash (raise an Issue and I'll explain how to do it)\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsolina%2Fmicropython-web-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsolina%2Fmicropython-web-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsolina%2Fmicropython-web-editor/lists"}