GithubHelp home page GithubHelp logo

termuxide's Introduction

termuxide setup

This a quick guide to set up Termux on your Android phone without root and enable external app editing using sftp. In one case sftp is not required. The video walkthrough can be found at my YoutTube Channel

1. Install Termux

1. Open termux and run the following commands:

  • pkg upgrade
  • pkg install git
    • git clone https://github.com/<repo_of_your_choice>
  • pkg install nmap optional
  • pkg install open ssh not necessary if you use Code Editor
    • whoami copy the username
    • passwd <username_from_whoami>
      • set your new password for sftp access
    • sshd
      • nmap localhost ensure that you are running an sftp server on port 8022
  • pkg install nodejs install the development platform of your choice but I will demonstrate a react app
    • cd <cloned_git_repo> or alternatively you can npx create-react-app appname and then cd <appname>
    • npm i if you cloned a git repo
    • npm start your react app will pop up in your browser on localhost:3000

3. Install your favorite Android IDE/Text Editor

  • In your ide you can access your files through sftp so navigate to that feature usually in settings
    • your credentials include the username we copied earlier using whoami
    • the server address is localhost
    • port 8022
    • password was set using passwd <username_from_whoami>
  • When you modify a file you must save it in your ide and upload it back into the termux root directory. Some IDEs do not have sftp capability - I use Turbo Client for these editors but it requires the extra step of going back to turbo client to upload
  • Code Editor does not require sftp at all and you can access termux files using the Open (saf) option and navigating to Termux
  • Acode is also a capable editor
  • At the time of this writing I<code> Go unfortunatley is no longer with us.......rip my favorite android ide :'(

termuxide's People

Contributors

skosari avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.