-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Allen
committed
Oct 12, 2024
1 parent
3a37134
commit 235307b
Showing
11 changed files
with
259 additions
and
89 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
PUBLIC_UI_VERSION=dev | ||
|
||
# hearchco webui | ||
PUBLIC_URI=https://hearchco.pi.local | ||
|
||
# searxNG | ||
PUBLIC_SEARXNG=true | ||
API_URI=https://search.pi.local | ||
# allow self-signed https certificates (to searxng api) | ||
NODE_TLS_REJECT_UNAUTHORIZED=0 | ||
|
||
# PUBLIC_API_URI is the webui which your devices should reach | ||
# PUBLIC_API_URI must be allowed in cors (http headers) searxNG settings.yml | ||
PUBLIC_API_URI=https://hearchco.pi.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#nodejs 21.5.0 | ||
nodejs 18.19.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
# Hearchco frontend repository built using SvelteKit & TailwindCSS | ||
## SearxNG frontend built using SvelteKit & TailwindCSS | ||
Adopted from [Hearchco/frontend](https://github.com/hearchco/frontend) | ||
|
||
## FAQ | ||
POC POC POC | ||
|
||
|
||
## Install | ||
``` | ||
cd /opt | ||
git clone https://github.com/allendema/searxng-svelte.git | ||
cd searxng-svelte | ||
make install | ||
``` | ||
|
||
## Setup | ||
|
||
## Edit `.env` file with your domain. | ||
## Add HTTP Headers for your frontend domain to searxNG settings.yml and restart it. | ||
In 'server' -> 'default\_http\_headers' section: | ||
```yaml | ||
Access-Control-Allow-Origin: "https://*.pi.local" | ||
Access-Control-Allow-Methods: "GET, POST" | ||
Access-Control-Allow-Headers: "Content-Type, Authorization" | ||
``` | ||
`make dev` | ||
|
||
then visit your domain/webui to search! | ||
|
||
## TODO | ||
- fix image previews | ||
- copy search url | ||
- systemd service | ||
- use [bunJS](https://bun.sh/) instead of yarn/pnpm. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.