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

Whether it can run on ios/android platform? #840

Open
sherryruo opened this issue Nov 29, 2023 · 7 comments
Open

Whether it can run on ios/android platform? #840

sherryruo opened this issue Nov 29, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@sherryruo
Copy link

No description provided.

@sherryruo sherryruo changed the title Whether it can run on ios platform Whether it can run on ios platform? Nov 29, 2023
@sherryruo sherryruo changed the title Whether it can run on ios platform? Whether it can run on ios/android platform? Nov 29, 2023
@fujiapple852
Copy link
Owner

@sherryruo Trippy is not available for Android or iOS today, though I would like it to be.

I haven't spent any time researching what would be required to support these platforms, however one clear problem is the need for raw sockets for unprivileged users (see discussion in #101). Another likely issue would be Tui (ratatui and crossterm) support for these platforms. Support for CI build and test in GH is another consideration.

I would like to support Android and iOS but, realistically, it won't happen any time soon. If others who want this support could upvote this issue it would help to gauge the demand out there. Of course i'm always open to community contributions if there are iOS/Android experts out there who may be willing to help on this.

@isjarvi
Copy link

isjarvi commented Nov 30, 2023

Supporting iOS and Android is meaningful as it allows mobile devices to troubleshoot network issues.

@fujiapple852 fujiapple852 added enhancement New feature or request and removed triage labels Dec 5, 2023
@immanuelfodor
Copy link

Mobile is very useful for network debug purposes, indeed, it would be great if Termux would be supported with the unprivileged mode. So I don't mean a full native Android app but a Linux CLI packaged for Termux.

@CalebBrendel
Copy link

Mobile is very useful for network debug purposes, indeed, it would be great if Termux would be supported with the unprivileged mode. So I don't mean a full native Android app but a Linux CLI packaged for Termux.

I agree with immanuel. If we just had a Termux package, that would be good! MTR doesn't really work out of the box on Termux anyway...lol.

@fujiapple852
Copy link
Owner

fujiapple852 commented Sep 21, 2024

I’m not familiar with Termux at all, however I can see that a patched version of MTR is packaged for it (for rooted devices only) so in principle Trippy could be packaged as well.

What this needs is someone familiar with the Termux ecosystem who is motivated to create and maintain Trippy.

Alternatively a package request could be raised.

Finally I see that cargo is already available for Termux and so perhaps a simple cargo install trippy --locked would be all that is required.

Edit: the Termux packaging policy states that, to qualify, the package must be “Not available through a language package manager: pip, npm, cpan, cargo, etc.”. Therefore, I’d imagine we would need to demonstrate that installing trippy via cargo on Termux does not work. Is anyone here able to try this out and confirm either way?

@CalebBrendel
Copy link

@fujiapple852 Just so you know I tried installing trippy via cargo. Still no dice as trippy being installed with cargo does not work on Termux...tis a shame. Android is semi built on Linux...I feel like this is possible and I almost want to learn programming to accomplish it. LMFAO.

Thanks for letting me know all of that info btw! :)

@fujiapple852
Copy link
Owner

Thank you for trying it out @CalebBrendel. Can you give some details on what the issues were? I.e, did it fail to compile or fail to start or did it run but did not show any data?

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

No branches or pull requests

5 participants