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. App Wishlist
  3. Typesense - Fast, typo tolerant, fuzzy search engine for building delightful search experiences

Typesense - Fast, typo tolerant, fuzzy search engine for building delightful search experiences

Scheduled Pinned Locked Moved App Wishlist
8 Posts 3 Posters 752 Views 4 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #1

    95763339-8671-4841-ad57-1d9c163a37cb-image.png
    640f0743-dba2-4cac-82b6-ee69e1814664-image.png
    Typesense is a fast, typo-tolerant search engine for building delightful search experiences.

    An Open Source Algolia Alternative &
    An Easier-to-Use ElasticSearch Alternative
    https://typesense.org/
    https://github.com/anthonynsimon/typesense
    https://hub.docker.com/r/typesense/typesense/
    https://typesense.org/docs/0.21.0/guide/install-typesense.html#🎬-start

    Conscious tech

    1 Reply Last reply
    9
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      This looks really simple to package as a single binary and has it's own /health check api endpoint.

      Not sure if we have a way to export from Cloudron API stuff to search for, such as a list of all WP sites, or all Surfer sites or even better all web hosting apps.

      @staff what do you think?

      Conscious tech

      1 Reply Last reply
      2
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by robi
        #3

        Did you know this is a viable and faster drop in alternative to packaging Elastic Search?

        This might help us move forward on several packages that have ES included but makes packaging difficult.

        @Kubernetes ?

        Conscious tech

        1 Reply Last reply
        2
        • KubernetesK Offline
          KubernetesK Offline
          Kubernetes
          App Dev
          wrote on last edited by Kubernetes
          #4

          As there is a single binary for ubuntu Linux, we may just create a Dockerfile to fetch the binary from https://dl.typesense.org/releases/0.25.2/typesense-server-0.25.2-linux-amd64.tar.gz and run it with the required parameters like

          ./typesense-server --data-dir=$(pwd)/typesense-data --api-key=$TYPESENSE_API_KEY --enable-cors
          

          We may also need to have a dummy http server for the Cloudron Healthcheck. I did something similar already with the telegramm-chatgpt-bot custom App.

          We can use the existing healthcheck of the binary:

          curl http://localhost:8108/health
          {"ok":true}
          
          1 Reply Last reply
          2
          • KubernetesK Offline
            KubernetesK Offline
            Kubernetes
            App Dev
            wrote on last edited by Kubernetes
            #5

            I put the initial package to my Repo

            Things to consider before use:

            • You have to put an valid API Key to the .env file in /app/data (and restart the App)
            • The App is available to anybody (not sure if this should be? otherwise the client libraries may not be able to reach the app)
            • As I don't have an API Key, I was not able to test it more than just starting it
            robiR 1 Reply Last reply
            4
            • KubernetesK Kubernetes

              I put the initial package to my Repo

              Things to consider before use:

              • You have to put an valid API Key to the .env file in /app/data (and restart the App)
              • The App is available to anybody (not sure if this should be? otherwise the client libraries may not be able to reach the app)
              • As I don't have an API Key, I was not able to test it more than just starting it
              robiR Offline
              robiR Offline
              robi
              wrote on last edited by robi
              #6

              @Kubernetes I think the API key is for other apps to be able to use it. The initial Admin API key is in the docs example .ini file. New ones need to be created for less scope to use in apps.

              I installed the binary in one of my Surfer apps, so it's only reachable from the internal docker network for other apps.

              There is a WP plugin for it: https://wordpress.org/plugins/search-with-typesense/

              Other apps need API integration with their own API keys generated for the apps in a more limited scope.

              Conscious tech

              1 Reply Last reply
              1
              • robiR Offline
                robiR Offline
                robi
                wrote on last edited by robi
                #7

                There are two community developed dashboards:
                https://github.com/bfritscher/typesense-dashboard
                https://github.com/amartya-dev/typesense-dashboard

                These should be integrated into your package @Kubernetes !!

                For testing, there is a browser based one too (love the dark mode):
                https://github.com/philipeachille/typesense-ui

                UPDATE: I got typesensu-ui to work easily in Surfer, just edit the js/typesense-api.js file to match your typesense-server.ini (make sure enable-cors = true is set). The demo data is useful to see it work and it's FAST.

                Conscious tech

                1 Reply Last reply
                1
                • C Offline
                  C Offline
                  CodeResearcher
                  wrote on last edited by
                  #8

                  any plans to add this to the app store soon?

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