
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@rubixstudios/typesense
Advanced tools
A production-ready search plugin that integrates Typesense with Payload CMS, offering fast, typo-tolerant search with real-time synchronization. This fork by Rubix Studios reduces bloat and introduces targeted changes for improved performance, maintainabi
This plugin is a fork of FrontTribe's Typesense Search Plugin for Payload CMS…
A production-ready search plugin that integrates Typesense with Payload CMS, offering fast, typo-tolerant search with real-time synchronization. This fork by Rubix Studios reduces bloat and introduces targeted changes for improved performance, maintainability, and flexibility.
pnpm add @rubixstudios/typesense
// payload.config.ts
import { buildConfig } from 'payload/config'
import { typesenseSearch } from '@rubixstudios/typesense'
export default buildConfig({
plugins: [
typesenseSearch({
typesense: {
apiKey: 'xyz',
nodes: [{ host: 'localhost', port: 8108, protocol: 'http' }],
},
collections: {
posts: {
enabled: true,
searchFields: ['title', 'content'],
facetFields: ['category', 'status'],
displayName: 'Blog Posts',
icon: '📝',
},
},
}),
],
})
// 4. Use the search component
import { HeadlessSearchInput } from '@rubixstudios/typesense'
function SearchPage() {
return (
<HeadlessSearchInput
baseUrl="http://localhost:3000"
theme="modern" // Choose from: modern, dark
placeholder="Search everything..."
onResultClick={(result) => {
console.log('Selected:', result.document)
}}
/>
)
}
// Multi-collection search
function MultiCollectionSearch() {
return (
<HeadlessSearchInput
baseUrl="http://localhost:3000"
collections={['posts', 'products']}
placeholder="Search posts & products..."
onResultClick={(result) => {
console.log('Selected:', result.document)
}}
/>
)
}
// Single collection search
function PostSearch() {
return (
<HeadlessSearchInput
baseUrl="http://localhost:3000"
collection="posts"
placeholder="Search posts..."
onResultClick={(result) => {
console.log('Selected:', result.document)
}}
/>
)
}
GET /api/search - Universal search across all collectionsGET /api/search/{collection} - Search specific collectionPOST /api/search/{collection} - Advanced search with filtersGET /api/search/{collection}/suggest - Search suggestionsGET /api/search/collections - Collection metadataGET /api/search/health - Health checkcollection="posts" - Direct API calls for optimal performancecollections={['posts', 'products']} - Smart filtering with universal searchThe plugin includes a powerful theme system with 5 pre-built themes and unlimited customization:
// Modern theme (default) - Clean and professional
<HeadlessSearchInput theme="modern" />
// Minimal theme - Flat design with minimal styling
<HeadlessSearchInput theme="minimal" />
// Elegant theme - Sophisticated with gradients
<HeadlessSearchInput theme="elegant" />
// Dark theme - Perfect for dark mode
<HeadlessSearchInput theme="dark" />
// Colorful theme - Vibrant and modern
<HeadlessSearchInput theme="colorful" />
const customTheme = {
theme: 'modern',
colors: {
inputBorderFocus: '#10b981',
inputBackground: '#f0fdf4',
resultsBackground: '#f0fdf4',
},
spacing: {
inputPadding: '1rem 1.25rem',
inputBorderRadius: '1.5rem',
},
enableAnimations: true,
enableShadows: true,
}
<HeadlessSearchInput theme={customTheme} />
MIT License - see LICENSE file for details.
FAQs
A production-ready search plugin that integrates Typesense with Payload CMS, offering fast, typo-tolerant search with real-time synchronization. This fork by Rubix Studios reduces bloat and introduces targeted changes for improved performance, maintainabi
We found that @rubixstudios/typesense demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.