Comments (5)
termux-api could be nice to use with node-red (with https://flows.nodered.org/node/node-red-contrib-termux-api)
from nix-on-droid.
The Java part is an outdated fork of Termux with very minimal changes, some of the add-ons baked in (at least styling), and a rename done through some really fragile suffixing thing. I have very little knowledge about Android development and I don't really plan to acquire any, so... Send in PRs, I'll test them.
For running cmds under Nix-on-Droid from other apps, I can tell you I'm successfully doing it from Easer (starting an evdev-uinput keyboard remapper as root when it gets connected). There's very little magic in it, so, maybe some other apps capable of running custom commands as root would suit your use case?
For the launcher one, I've seen from the description that it can work with unmodified termux. Maybe just replacing "com.termux" with "com.termux.nix" would be sufficient?
from nix-on-droid.
I have to admit my android development is also limited. It's been a while since I evaluated rooting and unfortunately my current phone is unrooted.
After having some discussion about nix on mobile in general I think what I'd most like to work on would be an interface between nix
and android settings. Since you're happy with PRs, moving forwards I will first attempt to merge the new changes to termux onto your branch.
Let me know how you'd feel about unmerging the styling and such changes and maintaining separate addon apps. Taking inspiration from termuxlauncher I think a possible cleanish way to interface with addon-apks that provide extra functionality would be to create a nix script that can be referenced that throws some intents around, which upon being received by the app does the writes. Obviously as shown by your merge this could be included in the base app but I don't know if it's something you'd be happy to merge.
from nix-on-droid.
Let me know how you'd feel about unmerging the styling and such changes and maintaining separate addon apps.
Mostly positively. I like styling being baked in, but I don't think it's a big hassle to install it separately. I'm fine with breaking addons for existing users if it's documented somewhere, and adding supporting more of them also sounds cool. The reason why I went with integrating is that I couldn't figure out all those intents things. And the reduced maintenance burden is definitely a big plus, otherwise I'll probably never get to catching up with Termux.
from nix-on-droid.
For the unmerging part it probably makes sense to cherry-pick my pretty limited changes on top of current termux and start fixing intents / addons.
from nix-on-droid.
Related Issues (20)
- Android security killing nix process HOT 4
- "Environment.pathsToLink does not exist" error. HOT 4
- Re packed emacs that can be used with nix-on-droid HOT 1
- Docs generation uses 23.05 nixpkgs HOT 1
- Insecure packages HOT 2
- [App] Merging features from Termux-Monet HOT 1
- Replacing xdg-open with termux-open
- Changing hostname (for flakes) HOT 2
- How to run docker daemon? HOT 1
- Mosh DNS not working HOT 1
- Cannot run Shizuku generated rish HOT 3
- Option for Shizuku
- How can i install it in terminal of nix?I use the original apk in the site,which size is 7.2m not 7.4 HOT 1
- Are there x86_64 bootstrap tars availible? HOT 3
- Git support HOT 5
- Somehow I got git to work but everytime I use git push it asks for pat token and username someway to bypass HOT 12
- nix command HOT 2
- um, what is difference between nix-env and nix configuration file HOT 1
- can't set up font HOT 4
- not an Issue but a question
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix-on-droid.