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

User interface for sending, receiving, and managing a node #56

Open
emschwartz opened this issue Mar 26, 2019 · 4 comments
Open

User interface for sending, receiving, and managing a node #56

emschwartz opened this issue Mar 26, 2019 · 4 comments
Labels

Comments

@emschwartz
Copy link
Member

Possibly using a Rust framework like yew or percy. It should leverage the node API and be bundled along with it to make it easier to use.

Anyone interested in working on this? I probably won't get to it for a while

@ekrenzke
Copy link
Contributor

I am interested in taking this issue, but I must admit that I have no experience with yew or percy. I would like to improve error handling throughout the existing crates before I commit to this though.

Do you think using Javascript would be more appropriate once the Rust API has stabilized, so more experienced designers could contribute to this project? For specs, should it mirror the CLI?

@emschwartz
Copy link
Member Author

I don't feel that strongly about whether it should use a rust or JS framework. I think a (graphic) designer could work on the HTML and CSS independent of which category of frameworks we go with.

I'd want it to leverage all of the underlying API endpoints and enable you to:

  • Send an SPSP payment
  • See SPSP payments you've received (and some information like who it's from)
  • Add / remove peers
  • Add / remove local apps that can access your money
  • See the balances of different peers
  • Manually trigger settlement
  • Visualize or manage the routing table
  • See / set the exchange rates
  • See statistics about the number of packets sent, received, etc
  • (Potentially) Act as a provider for Web Monetization and

@tarcieri
Copy link
Collaborator

As a huge fan of server-side Rust who also likes doing frontend stuff, my personal preference for this sort of thing is TypeScript

@emschwartz
Copy link
Member Author

@tarcieri have you tried yew or percy? Just curious what the experience of using those is like. The idea of isomorphic web apps using Rust and wasm seems pretty awesome.

The framework supports multi-threading & concurrency out of the box. It uses Web Workers API to spawn actors (agents) in separate threads and uses a local scheduler attached to a thread for concurrent tasks.

That's pretty neat...

FWIW, if anything is being done in JS it would definitely be written in TypeScript.

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

No branches or pull requests

3 participants