openframeworks / openframeworks/openFrameworks

[feature request] [emscripten] passing values into the ofApp

Open
#7,771 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

it would be quite interesting to be able to pass values into the emscripten ofApp through a JS mechanism. basically equivalent to command line arguments. (would enable HTTP GET and POST to customize a run instance from the hosting side).

related to https://github.com/openframeworks/openFrameworks/issues/7750

Contributor guide

Open the contributing guide

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 related issue #7750 and the request for a JavaScript mechanism to pass values into an Emscripten ofApp. Define how the mechanism should correspond to command-line arguments and support HTTP GET and POST customization from the hosting side; done means the expected interface and behavior are agreed and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.