How do we migrate to Go? #12

Open
opened 2022-02-08 18:30:06 +01:00 by decentral1se · 0 comments
Owner

I would say distribusi-go has shown promise in getting x-platform builds and produced an easy to install tool. We've discussed the potential of getting dropship on the Go train, but how?

It feels like just taking the files in dropship/ui and replacing the hooks to Python with Go. In theory.

A promising example is in here:

https://gist.github.com/Northern-Lights/14f2357aebb8ccbf9b351049035c151d

It uses Glade & GTK like we decided to here to. It seems that gogtk3 is the most reliable package here. I don't know what https://github.com/gotk3/gotk3#installation means for x-platform, do end-users still need to install those things? Or can we ship a binary? Still confused on this.

Also nice, we know that croc is written in Golang and has bindings available, so we don't run into limits on the actual code side of making the transfers work. I've seen a few attempts to build a croc GUI with this fyne.io thing but it seems there is no Glade-like interface for designing the UI. I have a feeling that we can't really achieve a solid UI/UX without such a tool? It won't be fun at least...

That was all my notes ;)

I would say [`distribusi-go`](https://git.vvvvvvaria.org/decentral1se/distribusi-go) has shown promise in getting x-platform builds and produced an easy to install tool. We've discussed the potential of getting dropship on the Go train, but how? It feels like just taking the files in [`dropship/ui`]( https://git.vvvvvvaria.org/rra/dropship/src/branch/main/dropship/ui) and replacing the hooks to Python with Go. In theory. A promising example is in here: > https://gist.github.com/Northern-Lights/14f2357aebb8ccbf9b351049035c151d It uses Glade & GTK like we decided to here to. It seems that [`gogtk3`](https://github.com/gotk3/gotk3) is the most reliable package here. I don't know what https://github.com/gotk3/gotk3#installation means for x-platform, do end-users still need to install those things? Or can we ship a binary? Still confused on this. Also nice, we know that [`croc`](https://github.com/schollz/croc) is written in Golang and has bindings available, so we don't run into limits on the actual code side of making the transfers work. I've seen a few attempts to build a croc GUI with this [fyne.io](https://fyne.io/) thing but it seems there is no Glade-like interface for designing the UI. I have a feeling that we can't really achieve a solid UI/UX without such a tool? It won't be fun at least... - https://github.com/howeyc/crocgui - https://github.com/stormon-force/odile That was all my notes ;)
Sign in to join this conversation.
No Label
No Milestone
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: rra/dropship#12
No description provided.