GithubHelp home page GithubHelp logo

Comments (5)

bbigras avatar bbigras commented on August 26, 2024 1

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.

t184256 avatar t184256 commented on August 26, 2024

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.

operator-name avatar operator-name commented on August 26, 2024

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.

t184256 avatar t184256 commented on August 26, 2024

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.

t184256 avatar t184256 commented on August 26, 2024

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)

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.