[Feature Request]: Add Search Functionality for Blogs/Courses Using Fuse.js
Is there an existing issue for this?
- [x] I have searched the existing issues
Feature Description
I would like to add a search bar to the Blogs or Courses section of the website to make it easier for users to find specific content. The search functionality will use Fuse.js, a lightweight fuzzy-search JavaScript library, for efficient and dynamic client-side filtering.
Use Case
As a user, I want to quickly search and filter blogs or courses by title or keywords without manually scrolling through the entire list. This feature becomes especially useful when the number of blog/course cards increases significantly.
Benefits
-
Improves user experience by allowing users to find relevant content faster
-
Works entirely on the frontend (no backend/API modification required)
-
Lightweight and fast with Fuse.js
-
Makes the platform more user-friendly and scalable
-
Can be reused in multiple sections (blogs, courses, etc.)
Add ScreenShots
No response
Priority
Medium
Record
- [x] I have read the Contributing Guidelines
- [x] I'm a GSSOC contributor
- [x] I have starred the repository
Thanks for creating the issue in LearnHub! Before you start working on your PR, please make sure to:
- ⭐ Star the repository if you haven't already.
- Pull the latest changes to avoid any merge conflicts.
- Attach before & after screenshots in your PR for clarity.
- Include the issue number in your PR description for better tracking. Don't forget to follow @souvikpramanikgit – Project Admin – for more updates!
We're excited to see your contribution as part of GSSOC 2025 . 🎉
Happy open-source contributing!
Instead of using fuse.js can you implement search functionality using Algolia DocSearch
https://docusaurus.io/docs/search#using-algolia-docsearch
Hello maintainers,
I’d love to work on integrating Algolia DocSearch as suggested!
I’ve gone through the Docusaurus DocSearch guide, and I’m confident I can:
✅ Set up DocSearch config and metadata ✅ Register the required DocSearch component in the layout ✅ Ensure indexing and search relevance is properly configured ✅ Maintain responsiveness and styling consistency ✅ Add clear before/after screenshots and keep the PR clean and descriptive
Please assign me this issue — I’m excited to contribute and implement blazing-fast, scalable search for LearnHub