Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to CLISystem #66

Open
13 of 17 tasks
getnamo opened this issue Dec 14, 2024 · 2 comments
Open
13 of 17 tasks

Refactor to CLISystem #66

getnamo opened this issue Dec 14, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@getnamo
Copy link
Owner

getnamo commented Dec 14, 2024

Purpose

To simplify, improve performance, and improve the connection and reliability of the embedded nodejs.

Tasklist

  • Branch
  • Add CLISystem plugin
  • Remove old commandline module
  • Clean and remove old methods from nodejs component
  • Scaffold new bridge from CLIProcessComponent subclass
  • run a 'hello world' process.js script
  • Scaffold CLI input handling script
  • Binary path test
  • run desired target script within main script (likely faster for most use cases)
  • optional approach (same as before): spawn an child process with target script
  • file-watching and hot reload support
  • re-link begin/end/reload etc callbacks
  • route logs to correct callbacks
  • updated event-emitter serialization structure supporting json objects with binary interweave with c++ support (candidates: socket.io protocol, custom, beve)
  • npm support test
  • run spawn cube sinewave test
  • test large data transfers
@getnamo getnamo added the enhancement New feature or request label Dec 14, 2024
@getnamo getnamo self-assigned this Dec 14, 2024
@getnamo
Copy link
Owner Author

getnamo commented Dec 14, 2024

binary path works by default, TBD if we want that path.

@getnamo
Copy link
Owner Author

getnamo commented Dec 15, 2024

custom command structure works via IPC, but this is probably not a great general solution, need to investigate a general IPC protocol that's portable, fast, and supports JSON like structure with binary interweave, enabling flexible event messaging. Likely fits inside CLISystem plugin as a separate module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant