# Search Box and Cloud Function

DevFeed: [Search Box and Cloud Function](<https://devfeed.tech/articles/search-box-and-cloud-function-27447.md>)

Original publisher: [Read original article](<https://ariya.io/2020/03/search-box-and-cloud-function/>)

Published: 2020-04-01T06:45:57Z

Content type: tutorial

Language: en

Sources: [Ariya Hidayat](<https://devfeed.tech/sources/ariya-hidayat.md>)

Topics: [Firebase](<https://devfeed.tech/topics/firebase.md>), [Cloud Functions](<https://devfeed.tech/topics/cloud-functions.md>), [hosting](<https://devfeed.tech/topics/hosting.md>), [DuckDuckGo](<https://devfeed.tech/topics/duckduckgo.md>), [Hugo](<https://devfeed.tech/topics/hugo.md>)

Tags: [cloud-functions](<https://devfeed.tech/tags/cloud-functions.md>), [domain](<https://devfeed.tech/tags/domain.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [hugo](<https://devfeed.tech/tags/hugo.md>), [search](<https://devfeed.tech/tags/search.md>), [static-site](<https://devfeed.tech/tags/static-site.md>)

## AI overview

A tutorial showing how to add a search box to a Hugo blog hosted on Firebase Hosting by using Cloud Functions for Firebase and redirecting searches to DuckDuckGo.

## Source excerpt

For a blog hosted with Firebase Hosting, it turns out that a little search box is fairly easy to implement by using Cloud Functions for Firebase.