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

Please add a termux package #8

Open
aicynide opened this issue Sep 4, 2023 · 12 comments
Open

Please add a termux package #8

aicynide opened this issue Sep 4, 2023 · 12 comments
Labels

Comments

@aicynide
Copy link

aicynide commented Sep 4, 2023

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
Copy link
Owner

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
Copy link
Author

aicynide commented Sep 5, 2023

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
Copy link
Author

aicynide commented Sep 5, 2023

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
Copy link
Owner

Thanks

@aicynide
Copy link
Author

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 anacrolix changed the title are you seriously not aware about termux? Please add a termux package Sep 15, 2023
@anacrolix
Copy link
Owner

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
Copy link
Author

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

@aicynide
Copy link
Author

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
Copy link
Author

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

@anacrolix
Copy link
Owner

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
Copy link
Author

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

@anacrolix
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants