cove icon indicating copy to clipboard operation
cove copied to clipboard

Please add a termux package

Open aicynide opened this issue 2 years ago • 12 comments
trafficstars

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

aicynide avatar Sep 04 '23 18:09 aicynide

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?

anacrolix avatar Sep 05 '23 00:09 anacrolix

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 avatar Sep 05 '23 09:09 aicynide

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

aicynide avatar Sep 05 '23 09:09 aicynide

Thanks

anacrolix avatar Sep 05 '23 12:09 anacrolix

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

aicynide avatar Sep 14 '23 20:09 aicynide

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.

anacrolix avatar Sep 15 '23 04:09 anacrolix

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

aicynide avatar Sep 15 '23 10:09 aicynide

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 avatar Sep 15 '23 10:09 aicynide

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

aicynide avatar Sep 15 '23 10:09 aicynide

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.

anacrolix avatar Sep 16 '23 04:09 anacrolix

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

aicynide avatar Sep 16 '23 20:09 aicynide

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.

anacrolix avatar Oct 09 '23 12:10 anacrolix