From 4dbc8eb13f8eb1ac5ac8d795cc953f5481f6d367 Mon Sep 17 00:00:00 2001 From: Andrew Wray Date: Tue, 8 Jul 2025 08:06:31 +0100 Subject: [PATCH 1/2] Rewrite SEA blog post with project details --- content/blog/post/2025-07-07-sea.md | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 content/blog/post/2025-07-07-sea.md diff --git a/content/blog/post/2025-07-07-sea.md b/content/blog/post/2025-07-07-sea.md new file mode 100644 index 0000000..a64c2a4 --- /dev/null +++ b/content/blog/post/2025-07-07-sea.md @@ -0,0 +1,33 @@ +--- +type: post +title: Introducing Search Engine Adapter +author: Andrew Wray +subtitle: One URL for Google, ChatGPT, and Wikipedia +summary: SEA routes search queries to different services with nginx. +date: 2025-07-07 +tags: ["sea", "nginx", "search"] +--- + +Our [previous post](/post/2025-06-01-chatgpt-default-search-engine/) +explained how to make ChatGPT your search engine. +Search Engine Adapter (SEA) builds on that idea. + +SEA is a lightweight nginx proxy that chooses between Google, the ChatGPT API, +or Wikipedia based on keywords in your query. +It compiles nginx config files from a simple TOML source using Go, resulting in +a small and secure deployment. + +## Key Features + +* Dynamic keyword routing with nginx's `map` directive +* One HTTPS endpoint easily secured with Let's Encrypt +* Minimal dependencies and small attack surface + +You can configure SEA using `config-example.toml`, then compile the final +`nginx.conf`. Once deployed, every search is forwarded to the matching service. + +A live instance is available at for +anyone who wants to try it. + +The project is hosted on [GitHub](https://github.com/dense-analysis/sea). We +welcome feedback and contributions. From 39be133c711ddeaf3a5fda4ff7984d6eeee2b615 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 8 Jul 2025 09:23:57 +0100 Subject: [PATCH 2/2] Update the blog post with a little better formatting and examples --- content/blog/post/2025-07-07-sea.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/content/blog/post/2025-07-07-sea.md b/content/blog/post/2025-07-07-sea.md index a64c2a4..8bf8b6a 100644 --- a/content/blog/post/2025-07-07-sea.md +++ b/content/blog/post/2025-07-07-sea.md @@ -8,9 +8,12 @@ date: 2025-07-07 tags: ["sea", "nginx", "search"] --- -Our [previous post](/post/2025-06-01-chatgpt-default-search-engine/) +Our [previous post](/blog/post/2025-06-01-chatgpt-default-search-engine/) explained how to make ChatGPT your search engine. -Search Engine Adapter (SEA) builds on that idea. + + +[Search Engine Adapter (SEA)](https://github.com/dense-analysis/sea) +builds on that idea. SEA is a lightweight nginx proxy that chooses between Google, the ChatGPT API, or Wikipedia based on keywords in your query. @@ -19,15 +22,18 @@ a small and secure deployment. ## Key Features -* Dynamic keyword routing with nginx's `map` directive -* One HTTPS endpoint easily secured with Let's Encrypt -* Minimal dependencies and small attack surface +* Dynamic keyword routing with nginx's `map` directive. +* One HTTPS endpoint easily secured with Let's Encrypt. +* Minimal dependencies and small attack surface. You can configure SEA using `config-example.toml`, then compile the final `nginx.conf`. Once deployed, every search is forwarded to the matching service. -A live instance is available at for -anyone who wants to try it. - -The project is hosted on [GitHub](https://github.com/dense-analysis/sea). We -welcome feedback and contributions. +A live instance is available at +[https://search.denseanalysis.org/?q=%s](https://search.denseanalysis.org/?q=who+is+w0rp+and+what+is+ALE) +for anyone who wants to try it. The instance does not log any access or error +logs, so Dense Analysis pledges not to spy on your searches, but don't trust us. +The configuration and program to make it are available on +[GitHub](https://github.com/dense-analysis/sea), and you may deploy your own +instance locally, remotely, or wherever you want. We welcome feedback and +contributions!