GitTorrent icon indicating copy to clipboard operation
GitTorrent copied to clipboard

A GUI version with electron

Open aseaday opened this issue 9 years ago • 19 comments

It should have:

  • basic watching on repos
  • distributed issue and wiki sub modules
  • Other helpers function

I could write a basic demo in recent days.

aseaday avatar May 30 '15 14:05 aseaday

@aseaday Sounds great, feel free!

cjb avatar May 30 '15 14:05 cjb

When i finish it, I hope you could create a repo and I will pr you . That is better for everybody to join you!

aseaday avatar May 30 '15 14:05 aseaday

I'd be interested in getting in on something like this as well. Mind linking it in the comments once you've created the repo?

Adjective-Object avatar May 30 '15 14:05 Adjective-Object

I haven't thought about it much, but in theory the Electron code could just live in this repo too?

cjb avatar May 30 '15 14:05 cjb

Hmmm, you could understand like this:

  • Your code will be core backend server but should be split into some little modules for better developed later.
  • Electron also use iojs but what we focus is GUI code.

aseaday avatar May 30 '15 14:05 aseaday

Okay. Maybe just go ahead and make repos in your own github namespaces and mention them in this bug, and when it looks like something's working well we'll figure out where else to put it.

I registered the gittorrent organization (and gittorrent.org/net), so it could go under there too.

cjb avatar May 30 '15 15:05 cjb

@aseaday Great idea! I'm also interested and willing to help.

ghost avatar May 30 '15 19:05 ghost

What is the status of that? I want to start working on it But I'm willing to help if something is already started

mastilver avatar Dec 01 '15 10:12 mastilver

@mastilver No-one's working on it at the moment, feel free! :)

cjb avatar Dec 01 '15 14:12 cjb

@cjb cool, I've created: https://github.com/mastilver/gitTorrent-ui

mastilver avatar Dec 01 '15 14:12 mastilver

@mastilver Are you planning on doing something with it? I could join in at some point too! :>

notpushkin avatar Mar 21 '16 01:03 notpushkin

Electron? Does your git torrent client really need two gigs of ram and thirty threads just for a front-end? On a desktop already running chrome, Atom, and Slack, in not sure there's enough room for another heavy weight RAM hog on the scene. :)

I will happily contribute gtk examples for a lighter approach if desired.

thorsummoner avatar Mar 21 '16 04:03 thorsummoner

@iamale I was planning to... But, I got sucks into a ton of work, I might resume my work in a month or two

mastilver avatar Mar 21 '16 09:03 mastilver

But A GTK version means rewrite a lot of codes.

aseaday avatar Mar 21 '16 11:03 aseaday

I'd suggest we keep it lean and limited in terms of functions. I am imagining a taskbar icon which displays peer information and daemon status. Other things can be left to git.

louy2 avatar Mar 21 '16 12:03 louy2

@thorsummoner The core of gittorrent is written in JS, so if you wanted to use GTK you'd probably be rewriting the core (distributed hash table, etc) in another language, which doesn't seem like a good use of time.

(Or maybe you have a JS-GTK binding handy, I don't know.)

cjb avatar Mar 21 '16 15:03 cjb

There are js gtk bindings, but I'm not sure I would recommend them at this time. Especially if you're used to developing for chrome as their all based on other browsers, one is a WebKit based binding and the other a spidermonkey based binding, and neither have great docs.

thorsummoner avatar Mar 21 '16 18:03 thorsummoner

There's node-gtk, and also plain Gjs (which is not based on Node, so would likely require additional work).

notpushkin avatar Mar 22 '16 15:03 notpushkin

(Disclaimer: I'm not really good at GTK/Node pairing. I've tried GTK/Python though.)


Also, if you choose to go with Electron, it would be great if you've considered my project, electron-deb, as a way to package it on Linux. It keeps the Electron core separate from the apps, so it is stored once on the disk (resulting in less disk usage) and can be updated separately. Basically, it's the way apps in the other (interpreted) languages are packaged in Linux.

notpushkin avatar Mar 22 '16 15:03 notpushkin