this post was submitted on 19 Jan 2024
16 points (83.3% liked)

Selfhosted

40180 readers
500 users here now

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!

founded 1 year ago
MODERATORS
16
REDACTED (lemmy.world)
submitted 10 months ago* (last edited 8 months ago) by LemmyUser1290a@lemmy.world to c/selfhosted@lemmy.world
 

REDACTED

top 16 comments
sorted by: hot top controversial new old
[–] Scipitie@lemmy.dbzer0.com 2 points 10 months ago* (last edited 10 months ago)

You are running a specific module of a project locally - not the whole project. The web server is an integral part - leaving it out makes you do a bit of the leg work: you'd need to figure out how the websites get built and deployed and then reverse engineer that for your android environment.

Personally I'm fascinated by that attempt and it could be an awesome learning opportunity. To be honest I don't have the motivation to follow your path down this rabbit hole though.

If you decide to follow up I'd appreciate you giving updates from time to time about your insights! ♥

[–] minnix@lemux.minnix.dev 1 points 10 months ago (2 children)

What are you using for the web server? There should be logs somewhere

[–] atzanteol@sh.itjust.works 1 points 10 months ago (1 children)

It's a flask app. It will run an embedded server.

[–] minnix@lemux.minnix.dev 1 points 10 months ago (1 children)

That's interesting. So you would need to install flask as well I presume, right? Or does the script pull that in?

[–] atzanteol@sh.itjust.works 1 points 10 months ago (1 children)

It's embedded. The python app will serve http.

[–] minnix@lemux.minnix.dev 1 points 10 months ago

I will have to try out some flask apps. I like the ease of use they seem to have

[–] LemmyUser1290a@lemmy.world 1 points 10 months ago* (last edited 8 months ago) (1 children)
[–] minnix@lemux.minnix.dev 2 points 10 months ago (1 children)

I guess I don't understand what is supposed to be serving the webapp to your client (browser) then without something like nginx or apache. I run searxng as well but I wouldn't be able to access it, even on localhost, without a web server.

[–] LemmyUser1290a@lemmy.world 0 points 10 months ago* (last edited 8 months ago)
[–] atzanteol@sh.itjust.works 1 points 10 months ago (1 children)

Just the "about" page has issues? The rest is fine? No messages on the console where you ran python?

[–] LemmyUser1290a@lemmy.world 0 points 10 months ago* (last edited 8 months ago) (1 children)
[–] atzanteol@sh.itjust.works 0 points 10 months ago (1 children)

Flask apps are usually run from gunicorn or something. What exactly did you modify on those shell scripts?

[–] LemmyUser1290a@lemmy.world 0 points 10 months ago* (last edited 8 months ago)
[–] lemonuri@lemmy.ml 1 points 10 months ago* (last edited 10 months ago)

Maybe try the searxng matrix support chat, I think there might be a few developers around that could point you in right direction:

https://matrix.to/#/#searxng:matrix.org

They also have a Mirc support channel is that is more your cup of tea.

[–] LemmyUser1290a@lemmy.world 0 points 10 months ago* (last edited 8 months ago)
[–] tagginator@utter.online -3 points 10 months ago

New Lemmy Post: SearXNG Error on Android (https://lemmy.world/post/10929701)
Tagging: #SelfHosted

(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)

I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md