diff --git a/dist/static/siri-shortcut-ios-example.mp4 b/dist/static/siri-shortcut-ios-example.mp4 new file mode 100644 index 0000000..b599295 Binary files /dev/null and b/dist/static/siri-shortcut-ios-example.mp4 differ diff --git a/functions/integrations/index.js b/functions/integrations/index.js new file mode 100644 index 0000000..6f60a4d --- /dev/null +++ b/functions/integrations/index.js @@ -0,0 +1,24 @@ +import Mustache from 'mustache'; +import template from './template.html'; +import { getDefaultViewData } from '../../lib/view.js'; +import {emitPageView} from '../../lib/plausible.js'; +import {renderHtml} from '../../lib/sso-render.js'; + +export const onRequestGet = async (context) => { + emitPageView(context); + const { env } = context; + + const viewDefaults = await getDefaultViewData(env); + const view = { + ...viewDefaults, + mainClass: 'about body', + title: 'Kukei.eu integrations', + }; + const html = await renderHtml(template, view); + + return new Response(html, { + headers: { + 'content-type': 'text/html', + }, + }); +}; diff --git a/functions/integrations/template.html b/functions/integrations/template.html new file mode 100644 index 0000000..ec1d9f6 --- /dev/null +++ b/functions/integrations/template.html @@ -0,0 +1,25 @@ +{{{ before }}} +
+

Kukei.eu integrations

+

Having cool web search engine is cool but if it doesn't work with any muscle memory then you'd always end up using your general use default search engine.

+

Here are some tips how to integrate kukei.eu in your daily work:

+ +

Firefox - add a shortcut

+

If you use Firefox as your main browser, you are lucky. Firefox has an amazing `opensearch` integration/UX.

+

Kukei.eu supports opensearch standard so once you visit the website once, you can configure an alias (e.g. @ku) which you can later use to search via kukei.eu instead of your default engine.

+

More information on how to configure it are available on Firefox website

+ +

Siri shortcut

+

For macOS users there's also a nice way to have kukei.eu always available, no matter what context.

+

You can use a Siri Shortcut that I prepared for you. Here's how to use it:

+ +

Here's how it works in the end on macOS:

+

+ +

+
+{{{ after }}}