anacrolix / cove

A combined BitTorrent frontend and DHT indexer for personal use
https://www.coveapp.info
34 stars 0 forks source link

Please add a termux package #8

Open aicynide opened 1 year ago

aicynide commented 1 year ago

No need of Cove apk, it can be run in termux, just add Cove in termux packages repo https://github.com/termux/termux-packages Termux has ffmpeg so there will be transcode support for android also

anacrolix commented 1 year ago

No! Thanks. I'll see if I can get a build for termux. Currently the apk runs the webserver but you have to connect to it manually from your browser. Is there anything I can do from termux to open the browser automatically?

aicynide commented 1 year ago

Yes why not. You can use termux-open-url see the example here https://github.com/reisxd/revanced-builder/blob/e1acfa7ff0359e8f078c7a5513299fc745286ceb/index.js#L57 Btw submit your cove package here https://github.com/termux/termux-packages

aicynide commented 1 year ago

Besides you can launch a chrome tab directly from termux with a shell command using am package. See the example here https://github.com/pystardust/ani-cli/blob/master/ani-cli#L248

anacrolix commented 1 year ago

Thanks

aicynide commented 11 months ago

Sincerely sorry dev, i said a abusive word, it was my mistake. Actually by mistake i replied to this email, i deleted the comment

anacrolix commented 11 months ago

I took a look at termux. I didn't see a trivial way to contribute binaries, and wasn't able to test equivalent packages like transmission due to issues with linking.

aicynide commented 11 months ago

@anacrolix hard linking? Android disable it in non-rooted phone

aicynide commented 11 months ago

If you can't distribute binary in temrux pkg repo, share bash installation script

  1. arm64/x86_64 android binary with /etc/resolv.conf patch https://github.com/termux/termux-packages/blob/master/packages/golang/fix-hardcoded-etc-resolv-conf.diff (MUST NEEDED)

  2. cove && termux-url-open https://localhost:5000 script

  3. Add instructions in your website how to install in termux manually or using script

Yeah that's it

aicynide commented 11 months ago

Alternative termux pkg repo tur https://github.com/termux-user-repository/tur will accept your package. Submit there

anacrolix commented 11 months ago

I don't think I will create a termux package in the short term. You are welcome to package the binaries mentioned in #11 and make them available on termux.

aicynide commented 11 months ago

@anacrolix i tried running the linux-arm64 binary in termux and its not running. Please build in termux and share binary

anacrolix commented 11 months ago

My understanding is that you cannot invoke processes on Android, which means transcoding and metadata detection is tricky. I need more specific feedback to confirm this and make a workaround.

I did not find working with termux to be a pleasant experience, but am happy to help out if someone wants to package cove for termux.