Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. SearXNG
  3. OpenWebUI has an option for a SearXNG API key

OpenWebUI has an option for a SearXNG API key

Scheduled Pinned Locked Moved SearXNG
searxngopenwebuiollamasearchapi key
11 Posts 9 Posters 13.2k Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    taowang
    wrote on last edited by
    #2

    Based on what Joseph said, you can try specify the SEARXNG_QUERY_URL=http://searxng/search?q=<query>
    https://forum.cloudron.io/topic/12117/web-search-with-searxng/2?_=1722501184516

    So, it should be without :8080. I think it is because Cloudron is using Nginex to route traffic from the Main Gate 443 to each docker container.

    So, should look like this:

    Export ENABLE_RAG_WEB_SEARCH: True
    Export RAG_WEB_SEARCH_ENGINE: "searxng"
    Export RAG_WEB_SEARCH_RESULT_COUNT: 3
    Export RAG_WEB_SEARCH_CONCURRENT_REQUESTS: 10
    Export SEARXNG_QUERY_URL: "http://searxng/search?q=<query>"

    You can add these to your env.sh file. And add the Searxng folder and config file in the same directory of env.sh

    Then restart your apps.

    firmansiF 1 Reply Last reply
    2
    • T taowang

      Based on what Joseph said, you can try specify the SEARXNG_QUERY_URL=http://searxng/search?q=<query>
      https://forum.cloudron.io/topic/12117/web-search-with-searxng/2?_=1722501184516

      So, it should be without :8080. I think it is because Cloudron is using Nginex to route traffic from the Main Gate 443 to each docker container.

      So, should look like this:

      Export ENABLE_RAG_WEB_SEARCH: True
      Export RAG_WEB_SEARCH_ENGINE: "searxng"
      Export RAG_WEB_SEARCH_RESULT_COUNT: 3
      Export RAG_WEB_SEARCH_CONCURRENT_REQUESTS: 10
      Export SEARXNG_QUERY_URL: "http://searxng/search?q=<query>"

      You can add these to your env.sh file. And add the Searxng folder and config file in the same directory of env.sh

      Then restart your apps.

      firmansiF Offline
      firmansiF Offline
      firmansi
      wrote on last edited by firmansi
      #3

      @taowang I don't get it, why should we add Searchxng folder in here?and also which config that you mean to put in the Searchxng folder?

      1 Reply Last reply
      0
      • coniunctioC Offline
        coniunctioC Offline
        coniunctio
        wrote on last edited by
        #4

        Apologies for resurrecting an older post, but I think this is somewhat related to what I was going to make a new post about. I have SearXNG working smoothly on Open WebUI. I've integrated the API with both my Cloudron instance of SearXNG and my local SearXNG installation on my MacBook, connecting to it via my internal IP address. This setup allows me to use SearXNG with Open WebUI, Perplexica, and with a few other applications.

        My question is: are there any AI/GenAI APIs that integrate directly into SearXNG to give it AI-powered search summarization features similar to Google's AI search or Perplexity? It seems like SearXNG would be a great platform for this kind of integration, rather than just being used as an extraction tool within other applications.

        I'm particularly interested in finding APIs that offer:

        • Concise summaries of search results: Like Google's AI summaries, I want the API to be able to understand the context of my search and provide a brief overview of the most relevant information.
        • Source reliability assessment: It would be helpful if the API could also evaluate the credibility and authority of the sources it uses for summarization within SearXNG itself.

        If there aren't any APIs that directly integrate with SearXNG, are there any alternative approaches or workarounds to achieve this kind of functionality?

        Thanks in advance for any guidance!

        robiR 1 Reply Last reply
        0
        • coniunctioC coniunctio

          Apologies for resurrecting an older post, but I think this is somewhat related to what I was going to make a new post about. I have SearXNG working smoothly on Open WebUI. I've integrated the API with both my Cloudron instance of SearXNG and my local SearXNG installation on my MacBook, connecting to it via my internal IP address. This setup allows me to use SearXNG with Open WebUI, Perplexica, and with a few other applications.

          My question is: are there any AI/GenAI APIs that integrate directly into SearXNG to give it AI-powered search summarization features similar to Google's AI search or Perplexity? It seems like SearXNG would be a great platform for this kind of integration, rather than just being used as an extraction tool within other applications.

          I'm particularly interested in finding APIs that offer:

          • Concise summaries of search results: Like Google's AI summaries, I want the API to be able to understand the context of my search and provide a brief overview of the most relevant information.
          • Source reliability assessment: It would be helpful if the API could also evaluate the credibility and authority of the sources it uses for summarization within SearXNG itself.

          If there aren't any APIs that directly integrate with SearXNG, are there any alternative approaches or workarounds to achieve this kind of functionality?

          Thanks in advance for any guidance!

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #5

          @coniunctio search.brave.com may have an API you can use which is also a good place to search for SearX-ng integrations.

          Conscious tech

          1 Reply Last reply
          0
          • firmansiF Offline
            firmansiF Offline
            firmansi
            wrote on last edited by
            #6

            @coniunctio May you share the information how to integrate the SearchXNG with Open WebUI in Cloudron?

            coniunctioC 1 Reply Last reply
            2
            • D Offline
              D Offline
              Divemasterza
              wrote on last edited by
              #7

              @coniunctio @firmansi Also interested - works fine with open SearXNG instance, but since the Cloudron one needs authentication, it not accessible to GET or POST requests

              J 1 Reply Last reply
              1
              • D Divemasterza

                @coniunctio @firmansi Also interested - works fine with open SearXNG instance, but since the Cloudron one needs authentication, it not accessible to GET or POST requests

                J Offline
                J Offline
                joseph
                Staff
                wrote on last edited by
                #8

                @Divemasterza the sign on to searx is optional. you can choose this at install time, if you want a public searx instance.

                1 Reply Last reply
                1
                • firmansiF firmansi

                  @coniunctio May you share the information how to integrate the SearchXNG with Open WebUI in Cloudron?

                  coniunctioC Offline
                  coniunctioC Offline
                  coniunctio
                  wrote on last edited by
                  #9

                  @Divemasterza @firmansi Here is how I use Cloudron's SearXNG app inside Open WebUI (works on same Cloudron server or separate locations like this).

                  Two steps:

                  1. Go into Cloudron/SearXNG SFTP and edit "settings.yml":
                  # formats: [html, csv, json, rss]
                  formats:
                    - html
                    - json <-- add this line
                  
                  1. Now go to Open WebUI Admin settings --> Web Search and enter your Cloudron SearXNG URL with some combination of the following text depending on what specific types of search you want Open WebUI to do for you. This is what I use:
                  https://your.searxng.url/search?q=<query>&language=auto&time_range=&safesearch=0&categories=social+media,map,it,general,science,news&format=json
                  
                  1 Reply Last reply
                  5
                  • E Offline
                    E Offline
                    ethanxrosen
                    wrote on last edited by ethanxrosen
                    #10

                    @Divemasterza figured out how to get this to work without making searx public (from https://forum.cloudron.io/topic/10618/how-to-connect-from-one-app-to-another-via-the-internal-network/6)

                    you can have cloudron oauth enabled but bypass it by calling its local hostname instead of public URL from openwebui. Tweaking @coniunctio 's query:

                    http://<searx app id>:<searx port>/search?q=<query>&language=auto&time_range=&safesearch=0&categories=social+media,map,it,general,science,news&format=json
                    

                    example:

                    http://12345678-1234-1234-1234-abcdefabcdef:8888/search?q=<query>&language=auto&time_range=&safesearch=0&categories=social+media,map,it,general,science,news&format=json
                    

                    find app id from cloudron dashboard, port from searxng filemanager->settings.yml under 'port:'

                    1 Reply Last reply
                    5
                    • U Offline
                      U Offline
                      umnz
                      wrote last edited by
                      #11

                      Thank you @ethanxrosen @coniunctio and @divemasterza -- this was exactly the solution I was looking for.

                      1 Reply Last reply
                      1

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search