{"id":16695597,"url":"https://github.com/hreikin/termux-dev-setups","last_synced_at":"2025-05-16T01:31:35.564Z","repository":{"id":65405961,"uuid":"584204234","full_name":"hreikin/termux-dev-setups","owner":"hreikin","description":"An easy to use script for installation of a simple developer setup in termux.","archived":false,"fork":false,"pushed_at":"2023-02-08T16:29:00.000Z","size":29,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-19T21:53:49.546Z","etag":null,"topics":["code-oss","code-server","developer-setup","termux","termux-desktop","termux-xfce"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hreikin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-01T20:22:52.000Z","updated_at":"2024-08-17T02:35:00.000Z","dependencies_parsed_at":"2023-02-12T13:00:35.503Z","dependency_job_id":null,"html_url":"https://github.com/hreikin/termux-dev-setups","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hreikin%2Ftermux-dev-setups","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hreikin%2Ftermux-dev-setups/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hreikin%2Ftermux-dev-setups/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hreikin%2Ftermux-dev-setups/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hreikin","download_url":"https://codeload.github.com/hreikin/termux-dev-setups/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225398212,"owners_count":17468198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-oss","code-server","developer-setup","termux","termux-desktop","termux-xfce"],"created_at":"2024-10-12T17:07:41.235Z","updated_at":"2024-11-19T17:35:30.336Z","avatar_url":"https://github.com/hreikin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Termux Developer Setups\nAn easy to use script for installation of a simple developer setup in termux.\n\n## Requirements\n- No root permission is required to make this work\n- Android 7+ phone\n- VNC or Xserver client on phone (bVNC or XserverXSDL)\n- Termux installed from F-Droid\n- TermuxAPI installed from F-Droid\n\n\u003e **NOTE**: Termux from Google Play is unmaintained due to API requirements, please use F-Droid instead.\n\n## Installation\nTo start the installation follow the steps below.\n\n```\npkg update -y \u0026\u0026 pkg upgrade -y\npkg install wget\nwget https://raw.githubusercontent.com/hreikin/termux-dev-setups/main/install.sh\nchmod +x install.sh\n./install.sh\n```\n\n### Installation Options\n\n- **Minimal** - A minimal installation with `code-server` and the `Micro` code editor installed.\n- **Desktop (VNC)** - An XFCE desktop environment accessible via VNC with everything from the Minimal install plus `code-oss`, `leafpad` and `firefox` installed.\n- **Desktop (Xserver)** - An XFCE desktop environment accessible via Xserver with everything from the Minimal install plus `code-oss`, `leafpad` and `firefox` installed.\n\n## Usage\n\nBelow are some basic usage examples for each type of installation.\n\n### Minimal\n\nTo start code-server use the following command:\n\n```\ncode-server \u0026\n```\n\nThis will run code-server in the background and generate a default config.yaml file on first run. The password used to access code-server in the browser can be found using the config.yaml file available at:\n\n```\n~/.config/code-server/config.yaml\n```\n\nNext open a browser on Android (I recommend Kiwi Browser if doing Web Development because it comes with the developer console but Firefox, Chrome, etc will work perfectly as well.) and go to the following address:\n\n```\nhttps//127.0.0.1:8080\n```\n### Desktop (VNC)\n\nTo view the installed desktop you will need to use a VNC viewer installed on Android. I recommend bVNC.\n\nTo start the VNC server use the following command:\n\n```\nvncserver\n```\n\nTo view running VNC servers use the following command:\n\n```\nvncserver -list\n```\n\nTo stop a VNC server running on display 1 use the following command:\n\n```\nvncserver -kill :1\n```\n\n### Desktop (Xserver)\n\nTo view the installed desktop you will need to use an Xserver\nclient installed on Android. I recommend Xserver XSDL.\n\nTo start the XFCE desktop run one of the following commands:\n\n```\nstartxfce4 \u0026\nxfce4-session \u0026\n```\n\nThen open your Xserver app on Android to view the desktop.\n\nYou can also launch single applications such as code-oss or firefox like so:\n\n```\nxfwm4 \u0026 code-oss\nxfwm4 \u0026 firefox\n```\n\n### Post Installation\n\nThe script `post-install.sh` is a small convenience script which handles a few tasks such as:\n\n- Configuring git user.name\n- Configuring git user.email\n- Configuring git core.editor to use `nano`\n- Generate an SSH key and add it to the SSH agent\n\nTo use it once you have succesfully installed your developer setup run the following commands:\n\n```\nwget https://raw.githbusercontent.com/hreikin/termux-dev-setups/main/post-install.sh\nchmod +x post-install.sh\n./post-install.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhreikin%2Ftermux-dev-setups","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhreikin%2Ftermux-dev-setups","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhreikin%2Ftermux-dev-setups/lists"}