Replicate datasheets to LAN peers #8

Open
opened 12 months ago by decentral1se · 1 comments
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 12 months ago
Poster
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 12 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.