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

Proposal #2

Open
VuzzyM opened this issue Dec 16, 2021 · 11 comments
Open

Proposal #2

VuzzyM opened this issue Dec 16, 2021 · 11 comments

Comments

@VuzzyM
Copy link

VuzzyM commented Dec 16, 2021

Hello.

Sorry for the inconvenience, but I want to propose an idea to implement your own Libtorrent-go repository, built for android applications. I know it sounds weird to propose this, but no one has implemented Libtorrent go for android apps yet.

What do you think?

@VuzzyM
Copy link
Author

VuzzyM commented Dec 17, 2021

?

@xgfone
Copy link
Owner

xgfone commented Dec 18, 2021

LGTM

@VuzzyM
Copy link
Author

VuzzyM commented Dec 18, 2021

LGTM

Interesting. If I saw something like this in practice, it would be very surprising :).

@xgfone
Copy link
Owner

xgfone commented Dec 18, 2021

Fine. Welcome to give me a PR if you have a good idea.

@VuzzyM
Copy link
Author

VuzzyM commented Dec 18, 2021

Fine. Welcome to give me a PR if you have a good idea.

I don't deal with go language, I can only give ideas and advice.

There is this repository:
https://github.com/i96751414/libtorrent-go
https://github.com/ElementumOrg/libtorrent-go
https://github.com/ElementumOrg/cross-compiler

Works with kodi, with the elementum plugin: https://github.com/elgatito/plugin.video.elementum

But with android applications, as far as I understand, it doesn't work. That's why I proposed this idea.

@VuzzyM
Copy link
Author

VuzzyM commented Dec 19, 2021

@xgfone What you say?

@xgfone
Copy link
Owner

xgfone commented Dec 21, 2021

Sorry for the late reply.

I‘m a noob for the android development, and works on the server side, not mobile. So I can give no more about the android.

The bt library only uses the go stdlib, no any third-party dependencies. So, in theory, it should be compiled by gomobile.

@VuzzyM
Copy link
Author

VuzzyM commented Dec 21, 2021

Sorry for the late reply.

I‘m a noob for the android development, and works on the server side, not mobile. So I can give no more about the android.

The bt library only uses the go stdlib, no any third-party dependencies. So, in theory, it should be compiled by gomobile.

Thanks, I just came up with the proposal to implement a separate library based on Libtorrent: https://www.libtorrent.org/

@VuzzyM
Copy link
Author

VuzzyM commented May 7, 2022

@xgfone Hello, sorry for the inconvenience. You can create your repository on the libtorrent engine? Following the example of this repository https://github.com/anacrolix/torrent. Thanks. I think many are interested in libtorrent on the go language.

@xgfone
Copy link
Owner

xgfone commented May 11, 2022

The module bt is a basic core BT library without any denpendencies. For the examples or tools, refer to the repository bttools.

bttools functions:

  • dht: Start and run a DHT server.
  • peer: Start and run a peer to serve the torrent files or the real files.
  • tracker: Start and run a http/udp tracker.
  • torrent:
    • create: Generate a .torrent file from a file or directory.
    • download: Download a .torrent file or real file from the remote peers.
    • dumpinfo: Print the metainfo of the torrent file.
    • getpeers: Get the peers of the torrent from the given tracker.

@VuzzyM
Copy link
Author

VuzzyM commented May 11, 2022

The module bt is a basic core BT library without any denpendencies. For the examples or tools, refer to the repository bttools.

bttools functions:

  • dht: Start and run a DHT server.

  • peer: Start and run a peer to serve the torrent files or the real files.

  • tracker: Start and run a http/udp tracker.

  • torrent:

    • create: Generate a .torrent file from a file or directory.
    • download: Download a .torrent file or real file from the remote peers.
    • dumpinfo: Print the metainfo of the torrent file.
    • getpeers: Get the peers of the torrent from the given tracker.

I mean libtorrent.org

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

No branches or pull requests

2 participants