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

[Feat]: code-server Termux tar.gz build #5515

Closed
babaric-dev opened this issue Aug 29, 2022 · 10 comments
Closed

[Feat]: code-server Termux tar.gz build #5515

babaric-dev opened this issue Aug 29, 2022 · 10 comments
Labels
enhancement Some improvement that isn't a feature

Comments

@babaric-dev
Copy link

What is your suggestion?

Generate a tar.gz build for Termux

Why do you want this feature?

The installation of code-server on Android requires downloading a huge load of dependencies (i.e. build-essential, yarn, etc.). It is not that convenient. So, I think a build for Termux should be added to the releases (much like the currently available .tar.gz build for Linux).

Please add this feature. It will make the installation 10 times easier + better.

@babaric-dev babaric-dev added the enhancement Some improvement that isn't a feature label Aug 29, 2022
@jsjoeio jsjoeio added this to the Backlog Candidates milestone Aug 29, 2022
@babaric-dev
Copy link
Author

Is there any update on this feature request? I am looking forward to seeing that feature being implemented.

@jsjoeio
Copy link
Contributor

jsjoeio commented Sep 19, 2022

This could be nice. I'm not sure how difficult or how we'd actually do it though. Do you have any suggestions?

@babaric-dev
Copy link
Author

babaric-dev commented Sep 19, 2022

Only two of the files are compiled executables - ./lib/node and ./lib/coder-cloud-agent. We could just compile it for Termux.

Again, I am not sure how hard it is.

@jsjoeio
Copy link
Contributor

jsjoeio commented Sep 20, 2022

Is that it? That doesn't sound terribly difficult...

Only thing I'd want though is to be able to add it as part of our platform steps in build.yaml and run integration tests in a Termux or Termux-like environment.

@code-asher any thoughts?

@babaric-dev
Copy link
Author

Is that it?

That may be all, or only one part (sorry I am quite a noob, so idk).

@code-asher
Copy link
Member

code-asher commented Sep 21, 2022 via email

@babaric-dev
Copy link
Author

Any updates on implementing this feature?

@jsjoeio
Copy link
Contributor

jsjoeio commented Oct 13, 2022

I don't think we have bandwidth to look into this. The biggest question still stands:

how difficult it is to compile for Termux.

feel free to research and share what you learn!

@babaric-dev
Copy link
Author

babaric-dev commented Jan 23, 2023

Apparently, this is already available through tur-repo.

To install, run:

pkg install tur-repo
pkg install code-server

We may add this to the documentation.

Btw, the code-oss package is also available in tur-repo too.

IMO this is already fixed because I found a way to install code-server without installing nodejs beforehand.

@jsjoeio
Copy link
Contributor

jsjoeio commented Jan 23, 2023

This is already in the docs: https://coder.com/docs/code-server/latest/termux#install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

No branches or pull requests

3 participants