StorySearch AI: Intelligent Content Discovery
StorySearch AI is an intelligent content discovery engine that transforms how users find and engage with Storyblok content. By leveraging Algolia's powerful AI, it moves beyond simple keyword matching to deliver contextual, intent-based understanding of user queries.
🔗 Live Demo & Project Links
- 🌐 Live Application: https://storysearch.lovable.app/
- 📂 Source Code: https://github.com/lucylow/storysearch
- 🎥 Demo Video: [Link to your video presentation] (Optional but highly recommended)
✨ Inspiration
In today's digital landscape, content is king, but discoverability is the key to its kingdom. We observed that Storyblok-powered websites, despite having rich and structured content, often suffer from a "content invisibility" problem. Valuable articles, products, and resources get buried in complex content architectures.
Users are forced to rely on primitive keyword search that fails to understand context, intent, or semantic relationships between content pieces. This leads to:
- Wasted Content Investment: A significant portion of created content never gets discovered.
- Poor User Experience: Visitors abandon sites after just a few failed search attempts.
- Missed Opportunities: The absence of intelligent recommendations and natural language understanding limits engagement.
We built StorySearch AI to bridge this gap, transforming content discovery from a frustrating chore into an intuitive conversation.
🚀 What It Does
StorySearch AI supercharges content discovery in Storyblok ecosystems. It's not just a search bar; it's an intelligent content guide.
Key Features:
- 🤖 AI-Powered Semantic Search: Goes beyond keywords to understand user intent and the meaning behind queries.
- 💬 Conversational Content Discovery: Features a chat-like interface where users can ask questions in natural language (e.g., "I'm building an e-commerce site with React") and receive intelligent, contextual answers and content recommendations.
- 🔗 Contextual Recommendations: Automatically surfaces related articles, case studies, and tutorials based on the content being viewed, creating a personalized discovery journey.
- ⚡ Real-Time Indexing: Any content published or updated in Storyblok is instantly processed and synchronized with our search index via webhooks, ensuring results are always up-to-date.
- 🎯 Component-Aware Intelligence: Understands Storyblok's content structure and relationships, providing more relevant and structured results.
🛠️ How We Built It
The architecture is a full-stack application designed for scalability and real-time performance.
Frontend:
- Framework: [React/Next.js/Vue.js - choose one]
- Styling: Tailwind CSS for a modern, responsive UI.
- Search UI: Integrated Algolia's
react-instantsearchorinstantsearch.jsfor a fast, reactive search experience.
Backend & AI Core:
- Platform: Node.js with Express.js, deployed on a serverless platform (Vercel/Netlify).
- AI & Search: Algolia's AI Search and AskAI for natural language processing, semantic understanding, and generating conversational answers.
- Content Synchronization: Implemented a webhook handler that listens for
story.publishedandstory.changedevents from Storyblok. This triggers an indexing pipeline that:- Fetches the latest story data from Storyblok's Management API.
- Transforms and enriches the content (e.g., converting rich text to plain text for AI analysis).
- Pushes the optimized record to Algolia's indices.
Integrations:
- Storyblok: Deep integration via Webhooks and Management API for real-time content sync.
- Algolia: Used for AI-powered search, indexing, and retrieval.
🧩 Challenges We Ran Into
- Real-time Data Synchronization: Ensuring near-instantaneous indexing when content was published in Storyblok was challenging. Debugging webhook payloads and handling edge cases (like unpublished stories) required careful error handling and idempotent operations.
- Structuring Data for AI: Preparing Storyblok's flexible content structures for optimal AI understanding was complex. We had to develop a robust data transformation layer that intelligently extracted searchable text from various component types and rich text fields.
- Balancing Speed and Accuracy: As a hackathon project, we had to make strategic decisions about feature scope. We focused on creating a compelling core experience (semantic search & conversational AI) rather than building out every possible feature.
- Prompt Engineering for AskAI: Tuning the prompts for Algolia's AskAI feature to generate concise, accurate, and helpful answers from the indexed content required significant iteration and testing.
🏆 Accomplishments That We're Proud Of
- Creating a Seamless User Experience: We successfully built a fluid, intuitive interface that feels more like a conversation with a helpful guide than a traditional database query.
- Deep Platform Integration: We didn't just build a generic search plugin; we created a solution deeply integrated with Storyblok's workflow and content model, making it a native-feeling extension.
- Leveraging Cutting-Edge AI: We are proud of having effectively utilized advanced features of Algolia's AI suite, such as AskAI, to deliver a truly intelligent product within a tight timeframe.
- Delivering a Working, Deployed Prototype: In a short hackathon sprint, we went from an idea to a fully functional, deployed application that solves a real and painful problem for content creators and developers.
📚 What We Learned
This project was a tremendous learning experience for our entire team.
- Technical Deep-Dive: We gained hands-on experience with Algolia's AI APIs and a deeper understanding of serverless architecture and real-time data pipelines.
- The Power of Storyblok's API: We learned to leverage the full potential of Storyblok's webhook system and Management API for creating powerful, CMS-aware applications.
- AI is a Tool, Not a Magic Bullet: Successfully integrating AI requires thoughtful data preparation, clear problem definition, and iterative testing. The quality of the output is directly tied to the quality and structure of the input.
- Teamwork Under Pressure: The hackathon environment honed our skills in rapid prototyping, agile communication, and making decisive technical choices.
🔭 What's Next for StorySearch AI
We believe StorySearch AI has a bright future beyond the hackathon. Here's our roadmap:
- Advanced Personalization: Implement user behavior tracking to provide even more tailored content recommendations based on individual reading history and preferences.
- Multi-Language Support: Expand the AI's understanding to serve global audiences by indexing and querying content in multiple languages.
- Content Analytics Dashboard: Build a dashboard for content managers within the Storyblok interface, showing popular searches, content gaps, and user engagement metrics.
- Extended Platform Support: Adapt the core technology to work with other headless CMS platforms like Contentful and Sanity.
- Enhanced Agentic Features: Explore deeper integration with Algolia's Agent Studio to create fully autonomous content discovery agents that can perform multi-step tasks for users.
🏁 Getting Started
Prerequisites
- Node.js (v18 or higher)
- A Storyblok account and space
- An Algolia account
Installation & Local Development
Clone the repository:
git clone https://github.com/lucylow/storysearch.git cd storysearchInstall dependencies:
npm installConfigure environment variables: Create a
.env.localfile and add your keys:STORYBLOK_ACCESS_TOKEN=your_storyblok_oauth_token ALGOLIA_APP_ID=your_algolia_app_id ALGOLIA_ADMIN_API_KEY=your_algolia_admin_key ALGOLIA_SEARCH_API_KEY=your_algolia_search_key ALGOLIA_INDEX_NAME=storyblok_contentRun the development server:
npm run devOpen http://localhost:3000 to see the application.
Deployment
The easiest way to deploy is to use the Vercel Platform. Connect your GitHub repository and configure the same environment variables. This project was submitted to the **Storyblok x Code and Coffee Hackathon 2025.
Built With
- algoria

Log in or sign up for Devpost to join the conversation.