``` [02:41:27] <Arya[verncc][m]> prologic: can you update ~vern instance location from canada to US for spyda? too lazy to send a patch for it :P [06:59:39] <prologic> Sure ```
45 lines
2.4 KiB
Markdown
45 lines
2.4 KiB
Markdown
# spyda
|
|
|
|
A privacy first search engine.
|
|
|
|
## Building
|
|
|
|
To build spyda, simply run `make`. The only dependencies you need installed to run the makefile are [go-minify](https://github.com/tdewolff/minify) and golang itself.
|
|
|
|
## Usage
|
|
|
|
```
|
|
-E, --admin-email string default admin user email (default "support@spyda.dev")
|
|
-N, --admin-name string default admin user name (default "Administrator")
|
|
-u, --base-url string base url to use (default "http://0.0.0.0:8000")
|
|
-b, --bind string [int]:<port> to bind to (default "0.0.0.0:8000")
|
|
--cookie-secret string cookie secret to use secure sessions (default "INVALID CONFIG VALUE - PLEASE CHANGE THIS VALUE")
|
|
-d, --data string data directory (default "./data")
|
|
-D, --debug enable debug logging
|
|
-m, --description string set the instance description (default " 🕸 spyda is a privacy first search engine and web crawler.")
|
|
-n, --name string set the instance name (default "spyda.dev")
|
|
-T, --results-per-page int maximum results per page to display (default 10)
|
|
--session-expiry duration timeout for sessions to expire (default 240h0m0s)
|
|
--smtp-from string SMTP From to use for email sending (default "INVALID CONFIG VALUE - PLEASE CHANGE THIS VALUE")
|
|
--smtp-host string SMTP Host to use for email sending (default "smtp.gmail.com")
|
|
--smtp-pass string SMTP Pass to use for email sending (default "INVALID CONFIG VALUE - PLEASE CHANGE THIS VALUE")
|
|
--smtp-port int SMTP Port to use for email sending (default 587)
|
|
--smtp-user string SMTP User to use for email sending (default "INVALID CONFIG VALUE - PLEASE CHANGE THIS VALUE")
|
|
-s, --store string store to use (default "bitcask://spyda.db")
|
|
-t, --theme string set the default theme (default "dark")
|
|
-v, --version display version information
|
|
```
|
|
|
|
Cookie secret can be generated with `openssl rand -hex 32`
|
|
|
|
A basic spyda server would look like this: `./spyda --cookie-secret xxx -n "Your Spyda Instance" -s bitcask://./data/spyda.db`
|
|
|
|
## Instances
|
|
|
|
| Instance | Country |
|
|
|--------------------|----------------------|
|
|
| https://spyda.dev | Unknown (Cloudflare) |
|
|
| https://sy.vern.cc | US |
|
|
| http://sy.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion | US |
|
|
| http://vernbzytqve2yzdud5pndkhwnkhqb2vfjtu7r42tj5savjrabsaq.b32.i2p | US |
|