From 8e01b15bed6c0c3d385885b860681b8e92e2887c Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Fri, 9 Apr 2021 23:56:14 -0400 Subject: [PATCH 1/3] Direct wget output in Docker healthcheck to stdout wget's default behavior to download contents to a file is not always a valid method to use as a Docker healthcheck, due to permission issues. This circumvents any issues there by redirecting the healthcheck output to stdout, which shouldn't cause any issues regardless of context. Fixes #272 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 50bbf87..df50793 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,6 +68,6 @@ COPY whoogle.env . EXPOSE $EXPOSE_PORT HEALTHCHECK --interval=30s --timeout=5s \ - CMD wget --no-verbose --tries=1 http://localhost:${EXPOSE_PORT}/ || exit 1 + CMD wget -qO- --no-verbose --tries=1 http://localhost:${EXPOSE_PORT}/ || exit 1 CMD misc/tor/start-tor.sh & ./run From 87fc1a7aae7f1beedb603cb68a9138a12db0ee31 Mon Sep 17 00:00:00 2001 From: FlawCra Date: Mon, 12 Apr 2021 16:02:37 +0200 Subject: [PATCH 2/3] Add public instance to readme (#273) https://search.flawcra.cc --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3b217bc..629bef1 100644 --- a/README.md +++ b/README.md @@ -365,6 +365,8 @@ A lot of the app currently piggybacks on Google's existing support for fetching - [https://whoogle.kavin.rocks](https://whoogle.kavin.rocks) or [http://whoogledq5f5wly5p4i2ohnvjwlihnlg4oajjum2oeddfwqdwupbuhqd.onion](http://whoogledq5f5wly5p4i2ohnvjwlihnlg4oajjum2oeddfwqdwupbuhqd.onion) - [https://search.garudalinux.org](https://search.garudalinux.org) - [https://whooglesearch.net/](https://whooglesearch.net/) +- [https://search.whoogle.tech/](https://search.whoogle.tech/) +- [https://search.flawcra.cc/](https://search.flawcra.cc/) ## Screenshots #### Desktop From 0dcf3e2764e0840296d161f9a74effe0e88abe69 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Mon, 12 Apr 2021 10:22:34 -0400 Subject: [PATCH 3/3] Replace remaining hardcoded theme values Both light and dark themes have been updated to remove the leftover hardcoded values (mostly related to the search suggestion styling). See discussion in #247. --- app/static/css/dark-theme.css | 13 +++++++------ app/static/css/light-theme.css | 10 +++++----- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/app/static/css/dark-theme.css b/app/static/css/dark-theme.css index 732e4f0..1994869 100644 --- a/app/static/css/dark-theme.css +++ b/app/static/css/dark-theme.css @@ -15,7 +15,7 @@ label { } li a { - color: #4b8eaa !important; + color: var(--whoogle-dark-result-url) !important; } li { @@ -112,17 +112,18 @@ select { } .autocomplete-items { - border: 1px solid #685e79; + border: 1px solid var(--whoogle-dark-element-bg); } .autocomplete-items div { - color: #fff; - background-color: #222; - border-bottom: 1px solid #242424; + color: var(--whoogle-dark-text); + background-color: var(--whoogle-dark-page-bg); + border-bottom: 1px solid var(--whoogle-dark-element-bg); } .autocomplete-items div:hover { - background-color: #404040; + background-color: var(--whoogle-dark-element-bg); + color: var(--whoogle-dark-contrast-text) !important; } .autocomplete-active { diff --git a/app/static/css/light-theme.css b/app/static/css/light-theme.css index 2548400..de76eb6 100644 --- a/app/static/css/light-theme.css +++ b/app/static/css/light-theme.css @@ -15,7 +15,7 @@ label { } li a { - color: #4b8eaa !important; + color: var(--whoogle-result-url) !important; } li { @@ -112,16 +112,16 @@ input { } .autocomplete-items { - border: 1px solid #d4d4d4; + border: 1px solid var(--whoogle-element-bg); } .autocomplete-items div { - background-color: #fff; - border-bottom: 1px solid #d4d4d4; + background-color: var(--whoogle-page-bg); + border-bottom: 1px solid var(--whoogle-element-bg); } .autocomplete-items div:hover { - background-color: #e9e9e9; + background-color: var(--whoogle-element-bg); } .autocomplete-active {