Skip to content

Add web-based code editor for Strudel.cc REPL#1

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/add-strudelcc-editor
Draft

Add web-based code editor for Strudel.cc REPL#1
Copilot wants to merge 4 commits intomainfrom
copilot/add-strudelcc-editor

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 15, 2026

Implements a standalone web editor for live coding music patterns with Strudel.

Implementation

  • Editor: Textarea with dark theme, tab indentation, and Ctrl+Enter evaluation
  • Controls: Play/stop evaluation, load examples, clear editor
  • Console: Real-time logging with color-coded output (success/error/info)
  • UI: Responsive dark theme with gradient effects and status indicator

Architecture

Uses vanilla HTML/CSS/JavaScript with no build step or external dependencies. Evaluation via eval() (suitable for trusted local use; security note documented). Ready for Strudel library integration when CDN accessible.

Usage

python3 -m http.server 8080
# or just open index.html

Screenshot

Strudel Studio Editor

Code Evaluation

Files

  • index.html - Editor structure (59 lines)
  • styles.css - Dark theme styling (272 lines)
  • app.js - Event handling and evaluation (200 lines)
  • package.json - Project metadata
  • README.md - Documentation with security notes

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • strudel.cc
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

I want to build an editor to code for Strudel.cc REPL


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits January 15, 2026 23:14
Co-authored-by: crsOne72 <161963900+crsOne72@users.noreply.github.com>
Co-authored-by: crsOne72 <161963900+crsOne72@users.noreply.github.com>
Co-authored-by: crsOne72 <161963900+crsOne72@users.noreply.github.com>
Copilot AI changed the title [WIP] Add editor for Strudel.cc REPL Add web-based code editor for Strudel.cc REPL Jan 15, 2026
Copilot AI requested a review from crsOne72 January 15, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants