8 ms·
Termux is an Android terminal emulator and Linux environment app
- retrocryptid 4y agoI sometimes run org mode in emacs under termux on my phone. After getting fed up with crap in simple list apps, my grocery list is a file in termux.
- JamesonNetworks 4y agoThe Home Assistant built in grocery store list maker is amazing
- retrocryptid 4y agoHmm... looked for it on melpa, but couldn't find it.
- Jeff_Brown 4y agoEmacs on Termux is great. I have used org mode, shell mode, magit (for git), and even eww (the Emacs Web Wowser) to great effect in it.
- roninghost 4y agoWhat software keyboard do you use? I find it dificult wothout ctrl and meta to type in emacs
- retrocryptid 4y agoTermux has its own keyboard that includes ctrl and escape. It's not nearly as nice as a REAL keyboard, but I'm usually just reading or editing a few lines at a time. Dragging the finger up and down emulates the mouse wheel, do I don't even have to do ctrl-v. I also use it with an android tablet that DOES have a real keyboard. It works fine, though I haven't figured out how to persistently swap ctrl and caps yet.
- Jeff_Brown 4y agoMoreover, the special extra Termux modifier keys are configurable in ~/.termux/termux.properties. I added Shift to them, because although there's a Shift key on Gboard, Shift-Enter is not treated the right way by org-mode if the Shift is from Gboard. For some reason if you use the Thumb-key keyboard, every letter is capitalized by default, so you have to swipe down on the A before typing anything, which is a deal-breaker.
- guestbest 4y agoI’ve put this on a 20$ android phone that I got on eBay and was so impressed it made me consider switching from iOS to android.
- ChuckNorris89 4y agoThat's the neat part about this. Need a Linuxy ARM SBC to run python, or a tiny web server, or home automation hub or something like that but Raspberry PIs are unavailable or overpriced in your area and alternative products are too sketchy and unsupported? No problemo. Just get an old Android flagship off the second hand market that can be had dirt cheap, flash some FOSS de-Googled ROM on it, and use that instead. You now have the power of Linux and Android ecosystems for much less than a Pi and it comes with a display and battery! Need GPIO too? You can connect an external GPIO board via USB-OTG to the phone and control that via Python just like with a Raspberry PI.
- eggy 4y agoSo true. I use Termux, but I haven't used an Android phone to replace my embedded stuff. I have used tablets as interfaces to some of my projects. I have an old Keyone Blackberry I should try this with. The real keyboard may come in handy if the screen is acting up. Any recommendations for a FOSS de-Googled ROM? I've tried this in the past, but I have not kept up with them. My needs sometimes call for more realtime control, and the system I ran in the past (Navigator) ran on QNX (owned by Blackberry) a microkernel OS (like Minix was, not Linux). Is there a close competitor in the Android world?
- bahmboo 4y agoUsed flagships have always worked well for me. They were built the best at the time whereas new budget phones have to cut corners. Phone tech is not changing that fast anymore.
- freedomben 4y agoHow old/used is the price sweet spot? Have you gotten bad/broken devices? Where do you buy them to avoid people over-representing the status of the device? I've got kids that are starting to need phones and this seems like a great way to do it.
- newswasboring 4y agoTermux is one of my favorite mobile app. Especially because I can run basically whatever I want to it as long as it's in text mode. X11 support is there but honestly that too janky for me and I'm more comfortable with cli any ways. There are some bonkers things we can do with this. Like running dwarf fortress on it[1]. My favorite thing is running Julia+Pluto so I can do stupid toys on it. I sometimes wonder what kind of stress I'm putting on my phone by doing this. [1] https://www.reddit.com/r/dwarffortress/comments/r80m7y/dwarf_fortress_mobile_running_dwarf_fortress_on/ https://www.reddit.com/r/dwarffortress/comments/r80m7y/dwarf...
- netfortius 4y agoThis is on the top 5 list of my favorite android apps, every time such question comes up in a forum. I complement such with what I install under it (e.g. nmap, wget, curl, dns tools, various network utilities, whois, openssh, etc.)
- newswasboring 4y agoWould love to know what your other 4 are.
- aidog 4y agoI update my website by writing it in the Squircle CE editor and then run my static sitegenerator, commit and push to the server by pressing a termux homescreen shortcut. Works great. Images are a bit of an issue, but I have another termux script that's run when use the android "open with" menu and select termux on an image. If anyone has a better idea how I can get images into the filesystem from an editor in android, let me know. PS: Some light ChatGPT copy paste coding also works great. My foldable keyboard mouse setup means I could code everywhere.
- Ugohcet 4y agoYou can use any file browser that supports android's document api to browse termux's filesystem. If you are using something like samsung oneui it can't do that, but you can install Anemo and use its shortcut to open android's default "Files" instead of samsung's
- Ugohcet 4y ago(Termux will appear on the left side bar beside "Internal memory", sd cards and google drive)
- knaik94 4y agoTermux singlehandedly makes me feel like I'm living my childhood dream of having a full computer in my pocket. I use git to blog from my phone, I have ffmpeg and yt-dlp installed to download videos for when I am going to be away from internet access for a while, and I even have some home automation scripts setup that control the lights over the local network. But I am concerned about the direction Android is headed, Google policies have been aligning closer to Apple's. I don't like having to stay on a previous generation OS just to make sure I don't lose "power user" fuctionality. Just recently I had to install a root mod to allow apps complete access to SD cards, a recent update caused me to get the dreaded "To protect your privacy, choose another folder" while trying to give a gallery app permissions. I am grateful for Termux devs for working hard to maintain functionality via workarounds. https://github.com/termux/termux-app/issues/2366 https://github.com/termux/termux-app/issues/2366
- routerl 4y ago> But I am concerned about the direction Android is headed I'm with you, but we'll always have AOSP. And the cellphone market is now segmented enough that we'll probably also always have rootable phones.
- solarkraft 4y agoWe'll always have the versions of AOSP Google has released, but they're not forced to do so in the future. And I'm not sure anyone else is interested in maintaining it.
- ta8903 4y agoGoogle only releases AOSP for Pixel devices, for most devices you need to rely on (and trust) some dude on a forum and it might not have 100% compatibility.
- drpixie 4y agoIsn't Fuchsia google's attempt to move phone off open systems, and onto all-google-no-license code? If it becomes a big thing, then only increasingly obsolete open-systems for us :(
- sleepycatgirl 4y agoIt is real comfy on e-ink android devices :3
- idatum 4y agoThe combination of termux and scrcpy is pretty cool. Scrcpy is currently being discussed as well: https://news.ycombinator.com/item?id=35749366 https://news.ycombinator.com/item?id=35749366 I have one of those Bluetooth keyboards and mice that allow multiple paired devices. There's a button on each to allow you to switch. That's pretty handy to have it paired with my old Android device and be able to pop over and use my tmux sessions.
- freedomben 4y agoOh dude! That's such a great idea. So great that (like most great ideas) it's extremely obvious in hindsight and I feel silly for not having considered it :-D
- lugu 4y agoHumm, I am not getting it. Can you detail the setup you envision? Thanks!
- neals 4y agoOne of those things. It's on my phone for years, never used it, had to use it today. Now it's top on HN. Anyway. The reason I never use it dawned on me. I can't install an ssh client and I don't get their package manager for some reason.
- haunter 4y ago>I can't install an ssh client You can instal OpenSSH https://wiki.termux.com/wiki/Remote_Access https://wiki.termux.com/wiki/Remote_Access >I don't get their package manager for some reason It's the same as Ubuntu/Debian
- nologic01 4y agoTermux integrating the Python ecosystem [1] offers a glimpse of an alternative universe, where mobile devices are far more empowered. [1] https://wiki.termux.com/wiki/Python https://wiki.termux.com/wiki/Python
- pjmlp 4y agoPydroid exists and is a much better experience.
- cft 4y agoI have been struggling with termux on Android 13 pixel 6 pro. Whenever I edit a picture with ffmpeg, it's invisible to the normal Photos app.
- cfiggers 4y agoTermux uses a sandboxed file system by default, but you can give it access to the rest of the phone's shared files by running `termux-setup-storage` from within Termux (more details at: https://wiki.termux.com/wiki/Termux-setup-storage https://wiki.termux.com/wiki/Termux-setup-storage). That'll mount a new folder called "storage" in your home directory where you can place files in locations where other apps can see them.
- cft 4y agoI have done that, the files are created in their normal locations where the rest of the photos are. But the files created by ffmpeg don't have the execute x permission bit set and I think because of that they're invisible in the photos app.
- freedomben 4y agoForgive the possibly obvious question, but have you tried `chmod +x` ing the ffmpeg output files with termux?
- cft 4y agoYes, it returns successfully but the x bit is not set
- pjmlp 4y agoThat doesn't work any more in modern Android, unless SAF is used for communication between applications to access private data.
- squarefoot 4y agoI've given up on Android and smartphones ages ago. Today am a happy dumb phone user and intrigued only by the Pinetab 2, however I played with Termux on old devices and loved it; that was really close to having the real thing under the hood. Unfortunately my best tablet, a supposedly crappy no-name wifi-only one which was like a gift for buying something else but it's incredibly fast and much snappier than bigger ones, runs only Android 4.x (yeah, I know, that's pretty much retrocomputing:^) so it's not supported.
- mastax 4y agoBecause it wasn't obvious to me for a while: the Play store version is old, basically broken, and vulnerable [0]. Don't install it. The description does mention this relatively high up, but do you really read through the description for something before installing and playing around with it, especially if you already know what it is? I don't usually like having old versions of software removed from distribution, but maybe in this case it should be removed from the play store since it's basically useless and also vulnerable. [0]: https://termux.dev/en/posts/general/2022/02/15/termux-apps-vulnerability-disclosures.html https://termux.dev/en/posts/general/2022/02/15/termux-apps-v...
- deleted 4y ago[deleted]
- cloudripper 4y agoThanks for posting this. I don't know how difficult it is to get an app removed from the Play Store - but hope it can be done soon. From README - "There are plans for unpublishing the Termux app and all its plugins on Play Store soon so that new users cannot install it and for disabling the Termux apps with updates so that existing users cannot continue using outdated versions. You are encouraged to move to F-Droid or GitHub builds as soon as possible." Vulnerability Disclosure was made on 2/15/2022 [0]. Above text was added to README.md in 9/8/2021 commit [1]. The issue was first acknowledged in README in 4/26/2021 commit [2]. [0]: https://github.com/termux/termux-app/issues/2595 https://github.com/termux/termux-app/issues/2595 [1]: https://github.com/termux/termux-app/commit/94e01d68d6c915740f6d2a1f7ea1bcdb6bf1f0d5 https://github.com/termux/termux-app/commit/94e01d68d6c91574... [2]: https://github.com/termux/termux-app/commit/93e1b132786d5cc7b314f2e42fa3430fb0a4103a https://github.com/termux/termux-app/commit/93e1b132786d5cc7...
- ykonstant 4y agoI have been using termux on my tablet for work and it runs very well; I had taken a screenshot some time ago for reddit: https://i.redd.it/p5h7ongm51541.jpg https://i.redd.it/p5h7ongm51541.jpg
- tester457 4y agoOne of the reasons I like chatgpt is that it makes coding on phone much more accessible. Type a prompt and paste it into vim in termux. Using scripts to edit and maintain your android internal file system is another plus. Unfortunately can't write to SD card if you're not rooted.
- silleknarf 4y agoI can highly recommend it. Also, it's worth using f-droid to install because otherwise you can't get the latest version. Until I discovered termux, I would have always be on the lookout for new git client / ssh client apps. Now I have a fairly good dev env on my phone. Git and vim get me pretty far in that regard. Python and node were easy enough to set up. Recently, I set up nvim so I can use GitHub Copilot and I think it's particularly helpful on mobile. Most of my personal projects run in containers. I know it is possible to get docker set up on Android. However, it is apparently pretty slow and it doesn't look totally straightforward to get working so I haven't tried that yet. A few years time and hopefully I'll be running docker containers and maybe VS code will become a solid option on mobile too.
- freedomben 4y agoAs an aside, vim on Termux is not nearly as difficult/awkward as one might think. Of course you can plug in a keyboard to the USB port wired/wireless with dongle or via bluetooth, but even without it I find vim's modal editing with a focus on keystroke golf (e.g. fewest keystrokes possible) to be a boon for finger-pecking out on a soft keyboard. For doubters, don't knock it til you try it!
- dredmorbius 4y agoThe Only App Which Does Not Specifically and Precisely Suck[tm]. I don't know whether I should be grateful to Termux for making Android remotely bearable, or vexed that it's enabling a platform I despise. But on its own merits, Termux is amazing, profoundly useful, powerful, and a breath of fresh air. Do install from F-Droid, not Google Play Store, as others note. And yes, of course it's more useful with an actual hardware keyboard (Bluetooth), as is Android generally. But it's usable and useful even when using the onscreen soft keyboard. (Hacker's Keyboard FTFW.) You can also run the available sshd service and access your mobile device remotely. And yes, I mention and advocate Termux frequently on HN: <https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=by%3Adredmorbius%20termux&sort=byPopularity&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...>
- freedomben 4y ago> vexed that it's enabling a platform I despise. Do you despise Android? How come? What's your preferred alternative?
- dredmorbius 4y agoAnswering your first: absolutely, and suprised anyone need ask. It's a Trojan horse serving manipulation, advertising, surveillance, and propaganda. It's also intentionally crippled in numerous ways. The applications-store model is horrendously broken from not only this perspective, but in terms of utility, quality, and trust. Alternatives: For mobile compute: a Linux laptop. An ultralight sacrifices some features, but at least delivers the full software-based capabilities. An alternative might be a set of separate components which could be used standalone or together: a CPU, additional storage, networking (WiFi / Wireless), power (battery / PSU), display, keyboard. A mobile device similar to a smartphone or keyboard-equipped device (think RIM, Palm Treo) might make a useful casual interface to the broader system, speaking to the hardware attributes rather than the OS / SW necessarily. More: <https://news.ycombinator.com/item?id=33014529 https://news.ycombinator.com/item?id=33014529> For a phone: none at all, or a dumbphone / limited-feature phone. The main dissuasion here is actually PSTN (public-switched telephone networks), which are increasingly obsolete under an onslaught of spam calls, as well as, increasingly, the deepfakes threat. VOIP over the laptop (using an unlisted wireless hotspot where necessary, otherwise WiFi or cabled ethernet) would suffice for nearly all usage. Other than as an e-reader or podcast device, tablets are a worst-of-all-worlds compromise. See: <https://diaspora.glasswings.com/posts/880e5c403edb013918e1002590d8e506 https://diaspora.glasswings.com/posts/880e5c403edb013918e100...> particularly the comparison table in this comment: <https://diaspora.glasswings.com/posts/880e5c403edb013918e1002590d8e506#956cc690403301391d35002590d8e506 https://diaspora.glasswings.com/posts/880e5c403edb013918e100...>. That post and thread address most concerns and considerations. For photos, video, or audio, a dedicated device seems to me the preferred option. I'm well aware the market is largely seeing otherwise, though professional still/video cameras (often the same device now), and audio recorders remain viable. Having to intentionally transfer content is to me a positive. An e-ink tablet is a game-changer for reading content, and is quite good for listening to podcasts. I've owned one for over two years, large format (13"), and find it ... useful, though again with some limitations. I'd most especially like to boost onboard storage from 64 GB to 512 GB -- 1 TB (Apple's iPads offer as much or more as an option). More: <https://news.ycombinator.com/item?id=35280532 https://news.ycombinator.com/item?id=35280532>, <https://news.ycombinator.com/item?id=31412042 https://news.ycombinator.com/item?id=31412042>, <https://news.ycombinator.com/item?id=29236211 https://news.ycombinator.com/item?id=29236211>, and <https://news.ycombinator.com/item?id=29303195 https://news.ycombinator.com/item?id=29303195>. There are additional comments available via search: <https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=by%3Adredmorbius%20onyx%20boox&sort=byPopularity&type=comment https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...> I'd strongly suggest that an 8" device is a minimum size I'd consider and that there are immense readability improvements at 10" and 13". (Devices rely on the same OEM vendor, so form-factor and display characteristics are strongly standardised and uniform, at least within a given production cycle.) I've discussed Android and its limitations numerous times on HN: "I certainly don't trust the OS or its application ecosystem..." (Nov. 2021) <https://news.ycombinator.com/item?id=29306994 https://news.ycombinator.com/item?id=29306994> "Tablets --- and not just Apple's --- suffer from numerous arbitrarily-imposed limitations..." (Nov. 2021) <https://news.ycombinator.com/item?id=25220885 https://news.ycombinator.com/item?id=25220885> "Tablets offer a near-ideal form-factor, and impressively good battery life. The story from there is exceedingly poor, and remains so..." (Jan. 2020) <https://news.ycombinator.com/item?id=22089820 https://news.ycombinator.com/item?id=22089820> Issues with devices which were presumed rootable (proved otherwise) and unsupported with firmware updates: <https://news.ycombinator.com/item?id=21055547 https://news.ycombinator.com/item?id=21055547> and <https://news.ycombinator.com/item?id=20416488 https://news.ycombinator.com/item?id=20416488> Issues with Google Play Store: "At what point does a competitive applications marketplace backfire in encouraging, intentionally or otherwise, Very Bad Behaviour?" <https://news.ycombinator.com/item?id=29236211 https://news.ycombinator.com/item?id=29236211> I've watched the alternative-OS tablet space for well over a decade, and there's been vanishingly little to get excited about. Several e-book readers are based on non-Android Linux (Barnes & Nobel's Nook, Kobo Reader, the Remarkable Tablet, and some Sony models AFAIA). Remarkable was on my purchase-candidate list but left it pre-purchase due to the miserly on-board storage (16 GB), and post-purchase by its pivot to a subscription model. Nook or Kobo might be interesting, I've not played with them. Mozilla and Ubuntu have both killed their tablet-OS. Pine and Purism remain interesting but not yet compelling, again, I've not tried these directly.
- a_e_k 4y agoTermux is great. One of my favorite tricks is sharing a photo to it, then running a quick `python -m http.server 8000` while on wifi. It makes it dirt simple to send a photo from my phone to any local machine on my network without the hassle of cloud services (including generation loss from recompression), incompatible apps, bluetooth pairing, etc.
- timetraveller26 4y agokdeconnect is great for this too!
- freedomben 4y agoDo you or anyone else know what the state of kdeconnect is on gnome? Last I tried it out it didn't work super well and the functionality was spread out among a handful of different apps. If you didn't already know what you were looking for, it was very difficult to discover what you can do.
- cyberbanjo 4y agoKDE Connect is a standalone multi platform application, you don't have to run KDE to use it (I don't). Installing the gnome alternative was one package and I killed X and started gnome-shell to test gsconnect it appears to pair and allow remote input from my phone to my PC and well enough, what doesn't work for you?
- azubinski 4y agohttps://extensions.gnome.org/extension/1319/gsconnect/ https://extensions.gnome.org/extension/1319/gsconnect/ It works as it should. I use two machines, one with KDE Neon, one with Gnome Fedora, and all my Android devices works great with both.
- l3x4ur1n 4y agoLook up Syncthing. I have it running on my phone and computer and I have near real-time updates of the gallery. I can even delete and add photos from PC to phone. (It's not limited to the gallery of course)
- kqr 4y agoI have used termux for to SSH to various boxen in a pinch, but I just recently realised it allows me to write and run arbitrary scripts on my phone! I can basically do (limited -- but sufficient for my needs) Android programming without knowing a lick of Android. And I can do it on the phone itself. Crazy that I didn't realise this potential sooner.
- freedomben 4y agoYes! For me the real power of Termux emerged when I discovered the API. tldr: most of the android API is accessible from within Termux, and since you can install nearly any interpreter/compiler you can write programs that target android APIs from nearly any language! I personally love using Ruby for this. It's a true automaters dream.
- dang 4y agoRelated: Termux on Android 5 or 6 - https://news.ycombinator.com/item?id=33691293 https://news.ycombinator.com/item?id=33691293 - Nov 2022 (119 comments) Termux – An Android terminal emulator and Linux environment on your phone - https://news.ycombinator.com/item?id=32648424 https://news.ycombinator.com/item?id=32648424 - Aug 2022 (2 comments) Why is the Play Store blocking updates for Termux but not UserLAnd? - https://news.ycombinator.com/item?id=28815910 https://news.ycombinator.com/item?id=28815910 - Oct 2021 (2 comments) Termux no longer updated on Google Play - https://news.ycombinator.com/item?id=25644964 https://news.ycombinator.com/item?id=25644964 - Jan 2021 (340 comments) Termux is an Android terminal emulator and Linux environment app with no rooting - https://news.ycombinator.com/item?id=24979258 https://news.ycombinator.com/item?id=24979258 - Nov 2020 (208 comments) Termux and Android 10 - https://news.ycombinator.com/item?id=23224669 https://news.ycombinator.com/item?id=23224669 - May 2020 (314 comments) Termux: terminal emulator and Debian-style userland as an Android app - https://news.ycombinator.com/item?id=15529426 https://news.ycombinator.com/item?id=15529426 - Oct 2017 (139 comments) Termux: terminal emulator and Linux environment for Android - https://news.ycombinator.com/item?id=11570596 https://news.ycombinator.com/item?id=11570596 - April 2016 (5 comments) Show HN: Termux – Terminal emulator and Unix environment for Android - https://news.ycombinator.com/item?id=9905391 https://news.ycombinator.com/item?id=9905391 - July 2015 (28 comments)
- deleted 4y ago[deleted]
- cosmiccatnap 4y agoStory Time I was an IT person for the math building while I was in college and I was mining a newish crypto called doggo on a computer lab while everyone was out for the summer. I had approval to do it and it was going to turn off as soon as the semester started back but they all had workstation cards and I couldn't resist. A man had offered to sell me a 99 civic if I got 200k and I needed a car. Cut to weeks later and I'm hundreds of miles away for the day eating and drinking at a vitnamese restaurant with some friends and I get some notifications that the mining stopped. I wasn't worried or afraid though because I knew in my pocket I could just pull out my android and click the magic button, Termux, to get a friendly and sensible shell with which to fix whatever mess had been thrown my way. It was over in 5 minutes, I just rebooted them, process continued and I kept eating my noodles. Couldn't recommend it enough. I had 300k by winter break and I had been set to meet the person for the civic after Christmas but that holiday a bunch of people's wallet got hacked and mine was no exception. I ended up getting a card eventually but it wasn't the 99 civic -_-. Termux on the other hand has been on every phone ive owned since
- riogordo2go 4y agoBig Termux fan. From using my phone as a borg backup target (with Wireguard) to ssh access to remote servers, it gives you a full blown Linux environment in your pocket.
- yokem55 4y agoFolks who want a more traditional linux environment and libraries then what termux comes with might find proot-distro[1] to meet their needs. Basically it allows running an actual arm linux distro in a pseudo container created by (ab)using the ptrace syscall to emulate root privileges. This has a fairly big performance impact, but it works if you want to run arbitrary arm linux binaries. [1] https://github.com/termux/proot-distro https://github.com/termux/proot-distro
- arendtio 4y agoI like Termux, but most of the time I use a real PC, because of the better UX. However, together with Samsung Dex most of the usability problems disappear and you can use your phone as a work station. Sometimes when I don't want to start a PC I just connect my phone to my USB-C docking station and Termux has most of the tools that I need to get something done.
- devmunchies 4y agoI don't use android, but why not just install a custom android ROM (with root privileges)? Is it a hardware driver issue? Is it too much work to keep an android distribution up to date? ...like, does Samsung do any work to make sure it's difficult to use anything other than their pre-installed android?
- knaik94 4y agoNot all phones allow you to root, even if you paid outright for the device. Termux is different from a custom ROM, Termux gives you things like native nodejs, python, ffmpeg, git, and nmap. It's independent from the underlying OS. All phone come with a bootloader lock and only some companies allow you to unlock it. You need to do a bootloader and oem unlock in order to have the ability to root. Certain devices have sensors/parts that aren't supported via AOSP, back in the day I remember reading "not working: wifi" in the feature list for custom roms. I think wifi is usually okay now, but camera and cellular modem are still not guaranteed.
- pawelduda 4y agoI could do that but I don't want to lose full compatibility granted by official ROM. I'm really happy with the stock one and want to just use my phone without screwing it up. So installing termux is pretty much the non-invasive option compared to a ROM switch.
- ekvintroj 4y agoit's pretty sad to have such a powerful computers in our pockets and not being able to use as we want, even to be forced to discard them just because it wont get any updates.
- VikingCoder 4y agoTermux sent me down a rabbit hole of trying to figure out the cheapest computer that I could legitimately recommend to someone as a learning computer. I found $18 Android phones on clearance at Walmart, like the TracFone - Alcatel One Touch Pixi Unite with 8GB Memory Prepaid Cell Phone - Black. I mean, look at the specs: * 1500 mAh Battery, 800x480 screen * Quad-core 1.3GHz processor with 1GB of RAM * Android 6.0 Marshmallow OS * 3G data speed for fast Web browsing and multimedia downloads * 3.97" TFT color display * 2.0MP camera * 8GB internal memory plus microSD slot * Expand storage up to 32GB by adding a microSD card (sold separately). I mean, compare it to a Mac Classic - with this little infographic I made: https://i.imgur.com/7UJjRuc.png https://i.imgur.com/7UJjRuc.png You just would never use the data plan. On wifi, it worked great. So, go to a Starbucks, McDonalds, or Library... And you're coding in basically a real Linux for $18. (!) This thing was particularly impressive, at $56.20, the RCA Voyager Pro 7 16GB Tablet with Keyboard Case Android 6.0 (Marshmallow) in Charcoal (RCT6873W42KC M). https://www.amazon.com/gp/product/B01M7TSY16 https://www.amazon.com/gp/product/B01M7TSY16 This $90 one seems like a reasonable alternative: RCA Atlas 10 Pro (RCT6B06P23H) 10 Inch Android 9 Tablet with Keyboard Black (Renewed). https://www.amazon.com/RCA-RCT6B06P23H-Android-Keyboard-Renewed/dp/B084F12D7N https://www.amazon.com/RCA-RCT6B06P23H-Android-Keyboard-Rene... And then Chromebooks, of course. At the time I was loving my $169 Samsung Chromebook 3 with 4 GB of RAM from Best Buy. Termux runs great. Loved this machine - I used it all the time. I also played with GalliumOS, which requires "rooting" to Developer Mode. I have a Samsung 128GB USB Drive, and a 16 GB microSD card, and both seem to work. I use a mouse, sometimes. Android Apps were a little dodgy - the mouse turned into a black square, sometimes, for instance. And this was even before they offered a full Linux shell on Chrome! Now it's far easier, of course.
- doublepg23 4y agoIMO it’s never worth buying these “cheap” devices new when you can find used devices with much better specs for similar prices on eBay, Swappa, Craigslist, Reddit, etc.
- VikingCoder 4y agoSure, but I can recommend a cheap device to others. A room full of others. A classroom of others. Or in an online video or blog post. Sure, if I'm doing bespoke computing for others, I can spend my time (which is really valuable to me, by the way) to find a good deal. Or I can minimize my time, and still get a pretty remarkable machine for someone.
- schemescape 4y agoIs there any sort of reputable, non-subscription (and open source, while I’m listing wishes) SSH client for iOS/iPhone? I ran across Blink (which is subscription-only) and Prompt ($15—-not unreasonable if you’re sure you’ll use it often), but I’m curious to hear recommendations from here.
- vivab0rg 4y agoJust yesterday I installed ConnectBot from F-Droid (free software) to access my laptop via SSH. It works just as fine as the other app. bought from the Play Store.
- LeoPanthera 4y agoI can recommend "Prompt", works well, no issues.
- ngai_aku 4y agoWould `ish` work? https://github.com/ish-app/ish https://github.com/ish-app/ish
- latenightcoding 4y agoLast time I tried ish it would freeze during any serious coding task. Can't remember if I was using an interpreted language or C.
- italicize 4y agoWebSSH has been serving me well. It's simple and convenient.
- nathanasmith 4y agoI'll add a-Shell to the chorus. Runs ssh, vim, python, and a host of other stuff too on iOS/iPadOS. https://apps.apple.com/us/app/a-shell/id1473805438 https://apps.apple.com/us/app/a-shell/id1473805438
- deleted 4y ago[deleted]
- dm319 4y agoI loved using termux to run bits of my R code in it. With git and my text editor/IDE, it actually felt pretty good. Sadly I can't seem to get R to work on it these days.
- pxc 4y agoThere's a fork of Termux that uses Nix for package management on F-Droid, and the R environment on it seems to work fine. Just tested it by booting up the REPL. https://github.com/t184256/nix-on-droid https://github.com/t184256/nix-on-droid
- dm319 4y agoI love that someone here knows a work around for this! Thank you, giving it a try now. I keep hearing about Nix, but I feel like it is something I don't and won't fundamentally get the concept of. I put it in a box along with things like 'multiple dispatch' and 'immutable operating systems'.
- pxc 4y agoNix has a vast ecosystem and conceptually rich foundations, but it can also be useful without touching any of that. 'I just want to use this one program in this weird environment' is a totally reasonable use case for Nix, and that can be where you happily stay with it for years. I'm 'into' Nix now, but that's how it was for me for a long time, and using Nix at that level requires very little learning investment. With Nix-on-Droid, I encourage you to: - enable flakes, because it makes some things easier and the evaluation caching speedup is critical on slow little ARM devices - run `nix registry pin nixpkgs` right away, then `nix search nixpkgs` to get the slow stuff out of the way - don't bother with Home Manager yet. It's good stuff, but your needs at this point are minimal and it's more to learn. - to quickly try out R, run `nix shell nixpkgs#R`! When that's done running, R will be on your PATH Have fun! Feel free to keep it simple, but if you do have questions, regulars on discourse.nixos.org are super nice and super smart. :)
- 4y ago
- galp76 4y agoI check out Hacker News everyday but this is my first post. I had never been a person who likes computers until the COVID lockdowns began. Some day I opened a Python course advertisement, I started the course but I got no computer to code the exercises, so I installed Termux on my 80$ Android phone and bought a 7$ external keyboard in order to do the Python exercises. Since then I have read several books about Linux and programming and bought my first laptop in order to continue with my self-taugh programming journey, all thanks to Termux. Disclaimer: I'm not a native English speaker, so please forgive any mistake.
- skydhash 4y agoThat remind me when I wanted to develop mobile apps. I had a jailbroken iPhone and there was this little IDE that allowed you to write Objective-C and get a UI up for your program. I did not have an external keyboard but you could transfer files via SFTP. Fun times. Now I have lots of compute power and can barely muster the energy to program anything
- snthpy 4y agoThat's wonderful! Congratulations and good luck on your further journey! Keep having fun!
- galp76 4y agoThanks!
- lioeters 4y agoI enjoyed reading about how you started learning to program Python on an Android phone using Termux. What a unique way to get into computers! I wish you a fun journey of discovery and creativity.
- galp76 4y agoThanks, last week I wrote my first (very simple) recursive descent parser in Rust, for a little program to help my son with his math homework (combined operations). Always looking for personal uses for what I learn everyday.
- Quiark 4y agoJust last week I used Termux to rsync photos from a relative's old phone to a new phone, so useful!
- ggzor 4y agoIf you do like the nix ecosystem (and all its benefits like reproducible envs) or just want to give it a try to a "NixOS" like thingy, you should absolutely try https://github.com/t184256/nix-on-droid https://github.com/t184256/nix-on-droid. It's somewhat rough, but it's very nice and has nix flakes and home-manager support.
- matheusmoreira 4y agoTermux basically replaced my laptop. Can't live without it anymore. I've written thousands of lines of code from within it. Many of my projects were born inside it. Nothing beats programming while lying down comfortably in bed. It's also a great way to pass the time during long flights.
- pulpfictional 4y agoIt's unfortunate that due to a hardcoded prefix it is unusable in secondary Android profiles.