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
  • 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 | 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
9 Posts 7 Posters 3.6k Views 7 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.
  • L Offline
    L Offline
    LoudLemur
    wrote on last edited by LoudLemur
    #1

    If you are using Cloudron, you can run both OpenWebUI and an instance of SearXNG to create an API key to provide yourself with search capability.

    Has anybody tried this yet? What was the procedure?
    https://docs.searxng.org/
    https://docs.openwebui.com/tutorial/web_search#1-searxng-configuration![brave_lfXZmxQWpd.png](/assets/uploads/files/1722501795174-brave_lfxzmxqwpd-resized.png)
    brave_6VnmsooKKv.png

    1 Reply Last reply
    1
    • 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
                    4
                    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