mirror of
https://github.com/benbusby/farside.git
synced 2025-03-14 11:16:34 -04:00

Farside now supports redirecting based on a provided link to a "parent" service, if such a parent service is supported. For example, a link such as: farside.link/https://www.youtube.com/watch?v=dQw4w9WgXcQ will now redirect to any of the available YouTube related frontends. This works by matching against a mapping of "parent" service domains ("youtube.com", "reddit.com", etc) to a list of their respective frontend alternatives (["invidious", "piped"], ["libreddit", "teddit"], etc). A random element is chosen from this list, and the remainder of Farside's routing logic proceeds as if the user had chosen the service directly to begin with. Closes #37
18 lines
167 B
Plaintext
18 lines
167 B
Plaintext
/_build
|
|
/cover
|
|
/deps
|
|
/doc
|
|
/.fetch
|
|
erl_crash.dump
|
|
*.ez
|
|
*.beam
|
|
/config/*.secret.exs
|
|
.elixir_ls/
|
|
|
|
# Ignore results from update script
|
|
.update-result*
|
|
|
|
*.rdb
|
|
.idea/
|
|
*.iml
|