Post B45jVmReMMDmYhBO4G by sam@chven.us
(DIR) More posts by sam@chven.us
(DIR) Post #B45bsAVEnJW3uV1cum by sam@chven.us
0 likes, 0 repeats
Following instructions from https://www.reddit.com/r/termux/comments/1r8cx4a/searxng/I was able to get searxng running locally in termux and I'm getting pretty good results and fast searches.#searxng #termux #selfhosted
(DIR) Post #B45jVmHMyZzw2oNB2m by anoninfo@infosec.exchange
0 likes, 0 repeats
@sam May have to give this a try.
(DIR) Post #B45jVmReMMDmYhBO4G by sam@chven.us
0 likes, 0 repeats
I have also ~/bin/searxng.sh#!/data/data/com.termux/files/usr/bin/bashcd ~source searxng-pyenv/bin/activateexport SEARXNG_SETTINGS_PATH="$HOME/.config/searxng/settings.yml"cd ~/searxng-srcvalkey-server &python searx/webapp.pyand start that from ~/.termux/boot/start-services (needs termux-boot installed)then set your default search engine to http://127.0.0.1:8888/search?q=%sedit: not sure if I need the valkey-server, but installed it and started it because I was getting error messages before
(DIR) Post #B45lVNP7f0Q6nvw4WG by roughnecks@mastodon.social
0 likes, 0 repeats
@sam How does it fare behind a residential IP?
(DIR) Post #B45lVNcwpbTlUoP74K by sam@chven.us
0 likes, 0 repeats
I've not had any issues so far except for a couple times when I was connected to a VPN. Then, some of the providers say "timeout" but I still got results from the others.
(DIR) Post #B46Hxe8CGCgTK8Xho0 by roughnecks@mastodon.social
0 likes, 0 repeats
@sam hey, I just followed the guide and got it working on my LAN (changed from localhost to private IP address). It's not the fastest guy, but..Thanks!
(DIR) Post #B46HxeJXa1l3tJqlUG by sam@chven.us
0 likes, 0 repeats
Mine sometimes takes 2.5-3 seconds, but not always. It's not terrible, at least in my opinion. I mean, for me, 0.3 seconds or 2.5 seconds doesn't make any difference as long as I'm getting good results.
(DIR) Post #B46IW2y0QcvKCDBBYW by sam@chven.us
0 likes, 0 repeats
I set up another instance of searxng, with similar settings.yml, but on a hosted Debian server. It looks like sometimes the search provider tried to give me a Captcha (search was quicker though)
(DIR) Post #B46v6NVpJZVCbFkYnw by roughnecks@mastodon.social
0 likes, 0 repeats
@sam had searxng running on a vps for some time, a while ago, but had to shut it down eventually, because it was often considered as bot activity.. different engine failures and I gave up.
(DIR) Post #B46v6NuHqd4Hp7C5vk by sam@chven.us
0 likes, 0 repeats
was anybody else using it? I'm wondering if I'll have less problems with just me and my wife and son using it (maybe not so many requests)