6 Commits

Author SHA1 Message Date
Ben Busby
356ea3b3c2
Use originally requested service if not using URL redirect
The specified service (i.e. whoogle) should be used for the redirect if
explicitly stated, rather than randomly fetching an instance for the
provided URL.

For instance:

- farside.link/https://google.com/search?q=balatro can redirect to a
  whoogle or searxng instance.
- farside.link/whoogle/search?q=balatro will always redirect to a
  whoogle instance.
2025-02-25 16:42:23 -07:00
Ben Busby
e2ac4a20f8
Add missing tent mapping 2025-02-25 16:01:05 -07:00
Ben Busby
f3ab726cec
Add missing handling for 4get and LibreY, remove LibreX 2025-02-25 15:38:33 -07:00
Will
37b0df5c36
Add missing services from services.json to mappings (#190) 2025-02-25 11:07:25 -07:00
Ben Busby
6e64a93fd1
Update breezewiki routing behavior, update readme
BreezeWiki requires the subdomain of a fandom link to be preserved when
routing, otherwise the redirect doesn't work correctly.

Cleaned up readme examples
2025-01-27 12:17:20 -07:00
Ben Busby
b5bad4defc
Rewrite project, add daily update of services list
The project was rewritten from Elixir to Go, primarily because:

- I don't write Elixir anymore and don't want to maintain a project in a
  language I no longer write
- I already write Go for other projects, including my day job, so it's
  a safer bet for a project that I want to maintain long term
- Go allows me to build portable executables that will make it easier
  for others to run farside on their own machines

The Go version of Farsside also has a built in task to fetch the latest
services{-full}.json file from the repo and ingest it, which makes
running a farside server a lot simpler.

It also automatically fetches the latest instance state from
https://farside.link unless configured as a primary farside node, which
will allow others to use farside without increasing traffic to all
instances that are queried by farside (just to the farside node itself).
2025-01-21 13:46:29 -07:00