Add Kagi search provider
This commit is contained in:
parent
7cbba1ff90
commit
98e6107e27
@ -389,7 +389,7 @@ quicklaunch:
|
||||
hideInternetSearch: true
|
||||
showSearchSuggestions: true
|
||||
hideVisitURL: true
|
||||
provider: google # google, duckduckgo, bing, baidu, brave or custom
|
||||
provider: google # google, duckduckgo, bing, baidu, brave, kagi or custom
|
||||
```
|
||||
|
||||
or for a custom search:
|
||||
|
||||
@ -3,7 +3,7 @@ title: Search
|
||||
description: Search Information Widget Configuration
|
||||
---
|
||||
|
||||
You can add a search bar to your top widget area that can search using Google, Duckduckgo, Bing, Baidu, Brave or any other custom provider that supports the basic `?q=` search query param.
|
||||
You can add a search bar to your top widget area that can search using Google, Duckduckgo, Bing, Baidu, Brave, Kagi or any other custom provider that supports the basic `?q=` search query param.
|
||||
|
||||
```yaml
|
||||
- search:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { useState, useEffect, Fragment } from "react";
|
||||
import { useTranslation } from "next-i18next";
|
||||
import { FiSearch } from "react-icons/fi";
|
||||
import { SiDuckduckgo, SiMicrosoftbing, SiGoogle, SiBaidu, SiBrave } from "react-icons/si";
|
||||
import { SiDuckduckgo, SiMicrosoftbing, SiGoogle, SiBaidu, SiBrave, SiKagi } from "react-icons/si";
|
||||
import { Listbox, Transition, Combobox } from "@headlessui/react";
|
||||
import classNames from "classnames";
|
||||
|
||||
@ -39,6 +39,12 @@ export const searchProviders = {
|
||||
suggestionUrl: "https://search.brave.com/api/suggest?&rich=false&q=",
|
||||
icon: SiBrave,
|
||||
},
|
||||
kagi: {
|
||||
name: "Kagi",
|
||||
url: "https://kagi.com/search?q=",
|
||||
suggestionUrl: "https://kagi.com/api/autosuggest?q=",
|
||||
icon: SiKagi,
|
||||
},
|
||||
custom: {
|
||||
name: "Custom",
|
||||
url: false,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user