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

CLI app TUI #74

Closed
vimpunk opened this issue Dec 18, 2020 · 1 comment · Fixed by #78
Closed

CLI app TUI #74

vimpunk opened this issue Dec 18, 2020 · 1 comment · Fixed by #78

Comments

@vimpunk
Copy link
Owner

vimpunk commented Dec 18, 2020

We can use https://github.com/fdehau/tui-rs, it's incredible.

@vimpunk vimpunk mentioned this issue Dec 18, 2020
24 tasks
@vimpunk
Copy link
Owner Author

vimpunk commented Dec 18, 2020

Render loop

  • engine alerts and user input drive the loop
  • spawn a blocking_task to read in events and communicate them to the main app task via mpsc
  • main loop selects on events rx and engine rx

Priority

  • show torrent metadata:
    • name, info hash
    • start time, run duration
    • storage info:
      • torrent size
      • number of pieces
      • list of files with sizes
  • gauge for torrent progress
  • thruput rates (dl, ul, protocol): what to use?
    • sparkline: simplest, can we add labels?
    • or bar chart for more detail?
    • or maybe chart for most detail?

Secondary

Requires new APIs. Might be deferred until after MVP.

  • show completions for each file
  • show errors
  • list of peers with client id, ip:port, dl ul rate

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 a pull request may close this issue.

1 participant