You might be able to extract searxng’s arm docker image (e.g. with docker export command in your pc, then copy it over to your phone) and then use chroot to run it on termux. Don’t forget to post it here if you succeed!

@LemmyUser1290a@lemmy.world
creator
link
fedilink
English
2
edit-2
5M

REDACTED

@PlexSheep@feddit.de
link
fedilink
English
136M

Don’t host services with termux, it’s not made for that and nobody checks for termux related things. If you really want to host on an android device, look into chroot environments or virtualization. Generally, avoid hosting on android, in my experience at least.

@LemmyUser1290a@lemmy.world
creator
link
fedilink
English
1
edit-2
5M

REDACTED

minnix
link
fedilink
English
46M

But searxng is a search engine you access from a web browser, why aren’t you hosting it at home and accessing it from your phone via url?

@LemmyUser1290a@lemmy.world
creator
link
fedilink
English
16M

Doesn’t traffic take longer to travel if you’re farther from the PC? We waste power for the PC because it’s not a laptop that can have a battery.

I’ve already fully set up searxng in proot, but I’m slowly porting it to the main termux app using sed and other workarounds. There’s something called Nix on Droid;

you can very easily install searxng on it, but it’s the old version and its just a heavily modified termux.

minnix
link
fedilink
English
66M

Traffic take longer? You’re talking about milliseconds. Also Wake On Lan has been baked into BIOS’s and Network cards for years so there’s no need to waste power. Is the issue that you just don’t have a PC? Regardless, if this is the path you want to take I think it’s a cool learning experience and I’m interested in seeing how it turns out.

@LemmyUser1290a@lemmy.world
creator
link
fedilink
English
1
edit-2
5M

REDACTED

Don’t laptops with batteries use slightly more energy than equivalent PCs? The battery will drain because it loses charge over time or because the laptop is designed to draw power from the battery during normal operation, and then energy is lost when recharging the battery because battery charging is not 100% efficient.

I don’t know how searxng works, but if it’s making many requests and aggregating the results, you will probably get much worse performance running it on your phone, even if the phone is with you. Instead of making one request over a bad cell connection, you would be making many requests over a bad cell connection.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.47K Posts
  • 69.4K Comments
  • Modlog