Replicate datasheets to LAN peers #8

Open
opened 2023-05-11 18:10:47 +02:00 by decentral1se · 1 comment
Owner

If 2 gshmm instances are in a LAN, they should be able to see each other. An initial implementation could simply show somewhere in the interface that another peer has been found.

Hitting d for [d]ownload would then download all the peers datasheets. Once the machinery of finding / downloading is there, we can look into more nuanced exchange of relevant PDFs and such.

This means we also might need a [r]: rescan for walking the directory for new pdfs that have been downloaded.

If 2 `gshmm` instances are in a LAN, they should be able to see each other. An initial implementation could simply show somewhere in the interface that another peer has been found. Hitting `d` for `[d]ownload` would then download all the peers datasheets. Once the machinery of finding / downloading is there, we can look into more nuanced exchange of relevant PDFs and such. This means we also might need a `[r]: rescan` for walking the directory for new pdfs that have been downloaded.
decentral1se added the
enhancement
label 2023-05-11 18:10:56 +02:00
Author
Owner

Something like https://github.com/schollz/peerdiscovery is probably the easiest and seems reliable. We could automatically generate a name for each peer. This goroutine could always be running and feeding new peers to the model which can be passed to the UI thereafter.

I'm not sure what the UI would like for multiple peers and choosing what to download but I won't worry about that for now.

Something like https://github.com/schollz/peerdiscovery is probably the easiest and seems reliable. We could automatically generate a name for each peer. This goroutine could always be running and feeding new peers to the model which can be passed to the UI thereafter. I'm not sure what the UI would like for multiple peers and choosing what to download but I won't worry about that for now.
decentral1se referenced this issue from a commit 2023-05-15 19:55:05 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: varia/go-sh-manymanuals#8
No description provided.