armory3d / armory3d/armory

Electron html5 debug runtime

Open
#2,703 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C++
Stars
3.3k
Forks
353
Avg merge
3d 16h
Merged PRs (30d)
1

Description

How about adding a electron application as a (debug) runtime for html5, like kode is doing it for vscode?
This would make some things a lot easier:

  • No need for a local web server
  • Live reload if build output changes
  • Livepatch feature via filesystem and/or socket connection (unix socket, not websockets).
  • No browser determination quirks (#2693)
  • No restriction for playing sound without user interaction
  • Chromeless windows as default
  • stdin/stdout communication with blender
  • Start an existing build without opening blender
  • Extending the runtime with native modules (no wasm)
  • ...

Here https://github.com/tong/armory_html5_runtime is a quick hack to test this.
Since the appliction uses haxe/js for it's main process one could easily extend it to add custom functionality.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the quick hack at github.com/tong/armory_html5_runtime and compare it with Armory's existing HTML5 runtime flow. Done means an Electron-based debug runtime supports the requested build, reload, communication, and standalone-start workflows described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, html
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.