Giter Site home page Giter Site logo

Running on android (termux) about impfbot HOT 5 CLOSED

sibalzer avatar sibalzer commented on June 18, 2024 1
Running on android (termux)

from impfbot.

Comments (5)

ronizzel avatar ronizzel commented on June 18, 2024 1

So I just posted a PR (actually my first anywhere). Hope I followed all important rules and didn't mess anything up.

The problem I'm describing in the tutorial, what happens, when Internet connection is lost, might be a bug repairable by checking, wether another public IP is accessible?

Dbus does'nt seem to be compatible with android or termux. It would be a new function to implement push notification via termux, but I'm not sure wether it's really necessary.

from impfbot.

sibalzer avatar sibalzer commented on June 18, 2024

Keep me updated!

If it works well I'll put a tutorial in the readme. I'm just afraid ads the energy saving profiles of different manufacturers can be problematic. (https://dontkillmyapp.com/)

from impfbot.

ronizzel avatar ronizzel commented on June 18, 2024

I am running it since yesterday and it was killed only one time. After applying the options (https://dontkillmyapp.com/) is suggesting for my smartphone (xiaomi) it wasn't killed again since last evening. (It even found one free slot while riding my bike, but when I stopped and tried to book, it was already to late).

I would simply make a list of commands to set it up as a short tutorial. However, I did it quick and dirty by installing and setting up sshd and then copying the files with scp from my already setup directory on the pc, etc, which worked fine. I guess, for a tutorial I should list the commands to download the source code, unpack, etc? The disadvantage would be, that you have to do all the configuration on the phone (editing the config file as well).

Also I wonder, wether one can trigger a push message from within termux. For me so far, sending mails to three of my permanently checked accounts and one telegram gives me enough of alarm. (edit: with "Termux:API" this would be possible, perhaps even with opening the website on hitting that notification; within impfbot either a shell command needs to be called, or: https://pypi.org/project/termux-api/)

from impfbot.

sibalzer avatar sibalzer commented on June 18, 2024

A list of Commands would be fine. But i think we should make seperate files for more tutorials e.g. docs/SETUP_ANDROID.md. Can you make a PR?

Maybe termux accepts dbus? That would be the simplest solution.

from impfbot.

sibalzer avatar sibalzer commented on June 18, 2024

Thank you!

With #41 it should detect if there is an connection error, needs to be tested on termux.

If there is a demand we can implement the termux api but it's already a very specific use case, so I would make it completely optional to not increase the config unnecessarily.

closed with #87 🚀

from impfbot.

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.