<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Package] Typesense Search Engine - Fast, Typo-Tolerant Search]]></title><description><![CDATA[<p dir="auto">Hi Cloudron community!</p>
<p dir="auto">I've created a Typesense Cloudron package that provides lightning-fast, typo-tolerant search functionality. Typesense is an open-source alternative to Algolia and an easier-to-use alternative to ElasticSearch.</p>
<h3>Installation</h3>
<p dir="auto">You'll need the Cloudron CLI to install this. Here's the command:</p>
<pre><code class="language-bash"># Clone the repository from source https://github.com/clientamp/typesense-cloudron
git clone https://github.com/clientamp/typesense-cloudron.git &amp;&amp; cd typesense-cloudron
# Install Typesense Search Engine with dockerhub image clientamp/typesense-cloudron:29.0.0
# change $YOUR_CUSTOM_LOCATION to e.g. typesense
cloudron install --image clientamp/typesense-cloudron:29.0.0 --location $YOUR_CUSTOM_LOCATION
</code></pre>
<h3>What You Get</h3>
<ul>
<li><strong>Fast search</strong> with sub-second response times</li>
<li><strong>Typo tolerance</strong> - finds results even with spelling mistakes</li>
<li><strong>Auto-generated API keys</strong> with secure defaults</li>
<li><strong>CORS support</strong> for web application integration</li>
<li><strong>Health checks and monitoring</strong> for production use</li>
<li><strong>Automatic backups</strong> through Cloudron</li>
</ul>
<h3>Perfect For</h3>
<p dir="auto">E-commerce sites, documentation, content management, user directories - basically any application that needs fast, intelligent search.</p>
<p dir="auto">I'm using it on my Ghost website now, see it in action: <a href="http://daveswift.com" target="_blank" rel="noopener noreferrer nofollow ugc">daveswift.com</a> (it's a big upgrade over Ghost's native search!)</p>
<h3>Requirements</h3>
<ul>
<li>Cloudron 7.0.0 or higher</li>
<li>Minimum 512MB RAM (1GB+ recommended for production)</li>
</ul>
<h3>How It Works</h3>
<p dir="auto">The package automatically generates secure API keys, sets up data directories, and configures everything needed for production use. You can then create search collections via REST API and integrate with any programming language.</p>
<h3>Why Typesense?</h3>
<p dir="auto">It's simpler than ElasticSearch to set up and use, provides an open-source alternative to Algolia with no vendor lock-in, and includes real-time updates and typo tolerance out of the box.</p>
<h3>Getting Started</h3>
<p dir="auto">Once installed, check out the <a href="https://typesense.org/docs/29.0/api/" target="_blank" rel="noopener noreferrer nofollow ugc">Typesense API documentation</a> for examples of creating collections, adding documents, and performing searches.</p>
<h3>Docker Hub</h3>
<p dir="auto"><strong>Repository:</strong> <a href="https://hub.docker.com/r/clientamp/typesense-cloudron" target="_blank" rel="noopener noreferrer nofollow ugc">https://hub.docker.com/r/clientamp/typesense-cloudron</a><br />
<strong>Image:</strong> <code>clientamp/typesense-cloudron:29.0.0</code></p>
<h3>GitHub</h3>
<p dir="auto"><strong>Repository:</strong> <a href="https://github.com/clientamp/typesense-cloudron" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/clientamp/typesense-cloudron</a></p>
<p dir="auto">This package has been tested and as I mentioned, is currently running in production on my Cloudron instance.</p>
]]></description><link>https://forum.cloudron.io/topic/14252/package-typesense-search-engine-fast-typo-tolerant-search</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 23:03:31 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14252.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Aug 2025 03:46:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Mon, 29 Sep 2025 16:19:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>, and team,</p>
<p dir="auto">I've updated the Typesense package to address the backup roadblock from the docs (<a href="https://typesense.org/docs/guide/backups.html#backup-steps" target="_blank" rel="noopener noreferrer nofollow ugc">https://typesense.org/docs/guide/backups.html#backup-steps</a>). This should make it compatible with Cloudron's strategy for database-like apps.</p>
<p dir="auto">Key changes in v29.0.1:</p>
<ul>
<li>Added "localstorage" addon for persistent /app/data (includes DB files and snapshots).</li>
<li>Defaulted data-dir to /app/data in <a href="http://start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">start.sh</a>.</li>
<li>Added <a href="http://backup.sh" target="_blank" rel="noopener noreferrer nofollow ugc">backup.sh</a> to trigger a full server snapshot via /operations/snapshot API, saving to snapshots/latest.tar (relative to /app/data). It backs up all collections automatically and checks for success.</li>
<li>Added <a href="http://restore.sh" target="_blank" rel="noopener noreferrer nofollow ugc">restore.sh</a> to untar latest.tar on startup if present, ensuring consistent restores.</li>
<li>Improved logging for the API key in <a href="http://start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">start.sh</a>.</li>
</ul>
<p dir="auto">Tested on my live install (<a href="http://search.daveswift.com" target="_blank" rel="noopener noreferrer nofollow ugc">search.daveswift.com</a> with existing collections)—backup creates the snapshot file, and restore loads it on restart without issues. The snapshot is a complete dump of all data, per Typesense docs.</p>
<p dir="auto">Repo: <a href="https://github.com/clientamp/typesense-cloudron" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/clientamp/typesense-cloudron</a> (changes on main, see <a href="http://CHANGELOG.md" target="_blank" rel="noopener noreferrer nofollow ugc">CHANGELOG.md</a>). Latest image: clientamp/typesense-cloudron:29.0.1 (or timestamped builds like 20250929-111100).</p>
<p dir="auto">For integration, Cloudron could run <a href="http://backup.sh" target="_blank" rel="noopener noreferrer nofollow ugc">backup.sh</a> via a hook before filesystem backup, then ignore raw DB files. Happy to add more (e.g., compression).</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.cloudron.io/post/113140</link><guid isPermaLink="true">https://forum.cloudron.io/post/113140</guid><dc:creator><![CDATA[Dave Swift]]></dc:creator><pubDate>Mon, 29 Sep 2025 16:19:19 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Mon, 29 Sep 2025 14:55:34 GMT]]></title><description><![CDATA[<p dir="auto">Sounds like a useful enhancement then.</p>
]]></description><link>https://forum.cloudron.io/post/113132</link><guid isPermaLink="true">https://forum.cloudron.io/post/113132</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Mon, 29 Sep 2025 14:55:34 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Mon, 29 Sep 2025 12:27:48 GMT]]></title><description><![CDATA[<p dir="auto">To add to what <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said, I think the api call requires a token as well . So, the platform code cannot call a http route and there is no CLI either afaict (for all the db tools, we use CLI).</p>
]]></description><link>https://forum.cloudron.io/post/113116</link><guid isPermaLink="true">https://forum.cloudron.io/post/113116</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 29 Sep 2025 12:27:48 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Mon, 29 Sep 2025 11:37:08 GMT]]></title><description><![CDATA[<p dir="auto">the blocker here is, that Cloudron has no way currently to trigger app internal scripts at the point of creating a backup. For database addons, there are special hooks to do so. For sqlite (which is using /app/data via localStorage addon) we have added specific code to issue a db dump. So something like this is required for typesense also then.</p>
]]></description><link>https://forum.cloudron.io/post/113110</link><guid isPermaLink="true">https://forum.cloudron.io/post/113110</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 29 Sep 2025 11:37:08 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Sat, 27 Sep 2025 03:19:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> why is that a blocker? As it points out it can generate a snapshot from an api call, drop it in /app/data and then you can ignore the data dir during backup since it would be redundant and potentially inconsistent.</p>
<p dir="auto">But even if you leave it, you would just untar that snapshot over it to make it consistent.</p>
]]></description><link>https://forum.cloudron.io/post/113044</link><guid isPermaLink="true">https://forum.cloudron.io/post/113044</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Sat, 27 Sep 2025 03:19:41 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Fri, 26 Sep 2025 11:15:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vladimir.d" aria-label="Profile: vladimir.d">@<bdi>vladimir.d</bdi></a> has been cleaning this up. Unfortunately, we hit a road block - <a href="https://typesense.org/docs/guide/backups.html#backup-steps" target="_blank" rel="noopener noreferrer nofollow ugc">https://typesense.org/docs/guide/backups.html#backup-steps</a> . This means Cloudron backup strategy as it is right now won't work since Typesense is like a database.</p>
]]></description><link>https://forum.cloudron.io/post/113017</link><guid isPermaLink="true">https://forum.cloudron.io/post/113017</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 26 Sep 2025 11:15:09 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Mon, 08 Sep 2025 19:09:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dave-swift" aria-label="Profile: Dave-Swift">@<bdi>Dave-Swift</bdi></a><br />
Yes they are in included in the git repo, indeed.<br />
But your code block for copy-paste installing was only:</p>
<pre><code>cloudron install --image clientamp/typesense-cloudron:29.0.0 --location $YOUR_CUSTOM_LOCATION
</code></pre>
<p dir="auto">Without knowing that one needs the other files locally, just this command will fail the installation.<br />
It is just a failsafe to prevent posts like "the provided command failed with xyz" if people simple copy-paste.</p>
]]></description><link>https://forum.cloudron.io/post/112514</link><guid isPermaLink="true">https://forum.cloudron.io/post/112514</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 08 Sep 2025 19:09:42 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Mon, 08 Sep 2025 18:46:52 GMT]]></title><description><![CDATA[<p dir="auto">Thanks James -- I'm confused though as both of those files were included.</p>
]]></description><link>https://forum.cloudron.io/post/112510</link><guid isPermaLink="true">https://forum.cloudron.io/post/112510</guid><dc:creator><![CDATA[Dave Swift]]></dc:creator><pubDate>Mon, 08 Sep 2025 18:46:52 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Mon, 08 Sep 2025 10:02:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/dave-swift" aria-label="Profile: Dave-Swift">@<bdi>Dave-Swift</bdi></a><br />
I took the liberty to edit your initial post to add the missing CloudronManifest.json and Icon which is needed for the custom installation.</p>
]]></description><link>https://forum.cloudron.io/post/112483</link><guid isPermaLink="true">https://forum.cloudron.io/post/112483</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 08 Sep 2025 10:02:26 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Wed, 03 Sep 2025 13:29:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dave-swift" aria-label="Profile: Dave-Swift">@<bdi>Dave-Swift</bdi></a> Looks great! I will add this to our publishing queue . Thanks again.</p>
]]></description><link>https://forum.cloudron.io/post/112342</link><guid isPermaLink="true">https://forum.cloudron.io/post/112342</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 03 Sep 2025 13:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Sat, 30 Aug 2025 16:17:48 GMT]]></title><description><![CDATA[<p dir="auto"><strong>More details:</strong></p>
<p dir="auto">My integration focuses on two main parts: (1) setting up webhooks in Ghost to trigger real-time sync via n8n to Typesense, and (2) embedding the search UI directly in the Ghost theme for the frontend.</p>
<h3>Ghost Webhook Setup (for Real-Time Sync)</h3>
<p dir="auto">In Ghost Admin (<a href="http://yourblog.com/ghost/#/integrations" target="_blank" rel="noopener noreferrer nofollow ugc">yourblog.com/ghost/#/integrations</a>), I created a Custom Integration called "Typesense n8n Integration." This gives you a Content API key (used in n8n to fetch full post/page data).</p>
<p dir="auto">Then, add webhooks for key events (publish, update, unpublish, delete). Each points to an n8n webhook URL:</p>
<ul>
<li>
<p dir="auto"><strong>Post published</strong> or <strong>Post updated</strong>: <code>https://n8n.yourdomain.com/webhook/ghost-typesense</code><br />
(n8n workflow: Receives minimal payload with post ID, fetches full data via Ghost Content API <code>/posts/{id}?key=CONTENT_API_KEY&amp;include=tags,authors</code>, transforms to Typesense schema, upserts.)</p>
</li>
<li>
<p dir="auto"><strong>Post unpublished</strong> or <strong>Post deleted</strong>: <code>https://n8n.yourdomain.com/webhook/ghost-typesense-delete</code><br />
(n8n: Extracts ID, sends DELETE to Typesense <code>/collections/ghost/documents/{id}</code>.)</p>
</li>
</ul>
<p dir="auto">Ghost webhooks send limited data (e.g., just ID/slug), so n8n always fetches the full object. This keeps Typesense updated in near real-time (n8n adds ~30-60s delay, but it's seamless for users).</p>
<p dir="auto">For initial bulk sync: Separate n8n workflows paginate Ghost API (<code>/posts/?key=CONTENT_API_KEY&amp;limit=100&amp;page=N&amp;filter=status:published</code>), transform to NDJSON, and bulk import to Typesense with <code>action=upsert</code>.</p>
<h3>Frontend UI Integration in Ghost Theme</h3>
<p dir="auto">I used the official Typesense InstantSearch Adapter. In your custom theme's <code>default.hbs</code> (head section):</p>
<pre><code class="language-html">&lt;script src="https://cdn.jsdelivr.net/npm/typesense-instantsearch-adapter@2/dist/typesense-instantsearch-adapter.min.js"&gt;&lt;/script&gt;
&lt;script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4"&gt;&lt;/script&gt;
&lt;script src="{{asset 'js/search.js'}}"&gt;&lt;/script&gt;  &lt;!-- Custom init script --&gt;
&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.css@8/themes/reset-min.css"&gt;
&lt;link rel="stylesheet" href="{{asset 'css/search.css'}}"&gt;  &lt;!-- Custom styles --&gt;
</code></pre>
<p dir="auto">In <code>assets/js/search.js</code>, initialize InstantSearch with your search-only Typesense key, query params (e.g., <code>query_by: 'title,excerpt,plaintext,tags.name,authors.name'</code>), and a custom hit template to display tags/authors:</p>
<pre><code class="language-javascript">// Simplified excerpt
const search = instantsearch({
  indexName: 'ghost',
  searchClient: typesenseInstantsearchAdapter.searchClient
});

search.addWidgets([
  instantsearch.widgets.searchBox({ container: '.js-search-input' }),
  instantsearch.widgets.hits({
    container: '.js-search-results',
    templates: {
      item: hit =&gt; `
        &lt;article&gt;
          &lt;h2&gt;&lt;a href="${hit.url}"&gt;${hit.title}&lt;/a&gt;&lt;/h2&gt;
          &lt;p&gt;${hit.excerpt}&lt;/p&gt;
          &lt;div&gt;By ${hit.authors?.map(a =&gt; a.name).join(', ') || 'Unknown'}&lt;/div&gt;
          &lt;div&gt;${hit.tags?.map(t =&gt; `&lt;span class="tag"&gt;#${t.name}&lt;/span&gt;`).join(' ') || ''}&lt;/div&gt;
        &lt;/article&gt;
      `
    }
  }),
  // Add refinementList for facets (tags, authors, type)
]);

search.start();
// Bind to theme's search button/modal
</code></pre>
<p dir="auto">Styles in <code>search.css</code> for cards, facets sidebar, etc. Trigger the modal via a button in your header partial (e.g., <code>&lt;button class="js-search-button"&gt;Search&lt;/button&gt;</code>).</p>
<p dir="auto">This gives full control—e.g., facets for filtering by tags.</p>
<p dir="auto">After making changes, Zip your theme and upload it in Ghost Admin and restart Ghost.</p>
<p dir="auto">Hope this helps as an example!</p>
]]></description><link>https://forum.cloudron.io/post/112187</link><guid isPermaLink="true">https://forum.cloudron.io/post/112187</guid><dc:creator><![CDATA[Dave Swift]]></dc:creator><pubDate>Sat, 30 Aug 2025 16:17:48 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Fri, 29 Aug 2025 19:48:11 GMT]]></title><description><![CDATA[<p dir="auto">Will share more later, if you’d like more detail.</p>
]]></description><link>https://forum.cloudron.io/post/112182</link><guid isPermaLink="true">https://forum.cloudron.io/post/112182</guid><dc:creator><![CDATA[Dave Swift]]></dc:creator><pubDate>Fri, 29 Aug 2025 19:48:11 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Fri, 29 Aug 2025 19:29:01 GMT]]></title><description><![CDATA[<p dir="auto">Sure, i’m using webhooks from Ghost (Settings &gt;Integrations &gt; Custom) to n8n when a post is created, updated, unpublished, or deleted and then n8n updates Typesense.</p>
]]></description><link>https://forum.cloudron.io/post/112180</link><guid isPermaLink="true">https://forum.cloudron.io/post/112180</guid><dc:creator><![CDATA[Dave Swift]]></dc:creator><pubDate>Fri, 29 Aug 2025 19:29:01 GMT</pubDate></item><item><title><![CDATA[Reply to [Package] Typesense Search Engine - Fast, Typo-Tolerant Search on Fri, 29 Aug 2025 19:17:48 GMT]]></title><description><![CDATA[<p dir="auto">Can you add a bit about how you did your Ghost integration as an example?</p>
]]></description><link>https://forum.cloudron.io/post/112179</link><guid isPermaLink="true">https://forum.cloudron.io/post/112179</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Fri, 29 Aug 2025 19:17:48 GMT</pubDate></item></channel></rss>