Commit graph

292 commits

Author SHA1 Message Date
Ben Busby 8fbe016cdb
Support libremdb and querte (imdb and quora alts)
Includes support for redirecting via full url, ie:

-> farside.link/https://www.imdb.com/title/tt0133093/

will redirect to a libremdb instance.

Closes #48
2022-07-27 17:14:15 -06:00
Ben Busby bf59789c45
Add tools dir, include script for removing cf instances
This new dir will probably stay fairly empty, but this script could come
in handy for anyone seeking to add a new instance (for services that
aren't supported by the auto update workflow).
2022-07-27 16:58:29 -06:00
Ben Busby a526d03fa2
Add support for librex search
See: https://github.com/hnhx/librex

Closes #47
2022-07-27 16:56:34 -06:00
Ben Busby 2e7d4355c5
Use full service list in auto update workflow 2022-07-27 16:36:31 -06:00
Ben Busby 3597799cf3
Add note about Cloudflare to readme [skip ci] 2022-07-27 15:46:07 -06:00
Ben Busby 592e492a62
Use full service list for tests
The filtered service list isn't guaranteed to have more than one
instance per service, which fails a test that was designed to ensure
back-to-back requests don't use the same instance. Using the full
services json file more accurately tests the intended functionality for
Farside.
2022-07-27 14:12:48 -06:00
Ben Busby 00225fdbc6
Exclude Cloudflare instances from services.json by default
This updates the services json file to exclude all instances that are
detected to be using Cloudflare nameservers.

A separate "services-full.json" file will continue to be tracked in the
repo, which will include the full list of all instances for each
service and can be used with the `FARSIDE_SERVICES_JSON` environment
variable for anyone wanting to access the full instance list for each
service.

See #43
2022-07-27 14:08:57 -06:00
Grant Bacon 7248af0d5f
Include n.l5.ca as a nitter instance (#51) 2022-07-27 13:55:07 -06:00
Ben Busby a6dabe8bf3
Make conn values and services path configurable at runtime
Connection values (such as redis server port and the port to run farside
on) as well as the services json file to use can now be set via
environment variables:

FARSIDE_PORT sets the port for Farside to run on
FARSIDE_REDIS_PORT sets the redis server port for Farside to use
FARSIDE_SERVICES_JSON sets the services json file for Farside to use

This partially addresses the move towards de-listing Cloudflare
instances by default by allowing different services json files to be
used with different redis servers.

See #43
2022-07-27 13:53:33 -06:00
github-actions 7045b62ccf [CI] Auto update instances 2022-07-27 00:12:25 +00:00
github-actions e431eadb62 [CI] Auto update instances 2022-07-26 00:10:41 +00:00
github-actions 84900b6c00 [CI] Auto update instances 2022-07-25 00:10:41 +00:00
github-actions 4c3913b418 [CI] Auto update instances 2022-07-24 00:12:11 +00:00
github-actions 796a3da0cf [CI] Auto update instances 2022-07-23 00:10:53 +00:00
github-actions c88caf2833 [CI] Auto update instances 2022-07-22 00:11:27 +00:00
github-actions 0dc96613e8 [CI] Auto update instances 2022-07-21 00:10:26 +00:00
github-actions 80a5170bcc [CI] Auto update instances 2022-07-20 00:11:04 +00:00
github-actions 70631fef9a [CI] Auto update instances 2022-07-19 00:11:50 +00:00
github-actions b0b539ecd0 [CI] Auto update instances 2022-07-18 00:09:56 +00:00
github-actions 707ca81b44 [CI] Auto update instances 2022-07-17 00:10:55 +00:00
github-actions b7b687d327 [CI] Auto update instances 2022-07-16 00:12:10 +00:00
github-actions dcad90826d [CI] Auto update instances 2022-07-15 00:11:37 +00:00
github-actions 0a2ff01d35 [CI] Auto update instances 2022-07-14 00:11:53 +00:00
Ben Busby 1b88e67ed0
Exclude i2p address from searx(ng) auto update 2022-07-13 10:53:27 -06:00
Ben Busby 0202677a94
Remove dead instances from non-auto updated services 2022-07-13 10:38:12 -06:00
github-actions 431c087f42 [CI] Auto update instances 2022-07-13 00:11:30 +00:00
github-actions 1e9fb1a973 [CI] Auto update instances 2022-07-12 00:10:06 +00:00
github-actions d4213ba691 [CI] Auto update instances 2022-07-11 00:10:10 +00:00
github-actions 9f19a3db1f [CI] Auto update instances 2022-07-10 00:12:13 +00:00
github-actions be2ea5d213 [CI] Auto update instances 2022-07-09 00:10:04 +00:00
github-actions beb6d5b45d [CI] Auto update instances 2022-07-08 00:12:14 +00:00
github-actions 39e31b87f3 [CI] Auto update instances 2022-07-07 00:11:40 +00:00
github-actions 826a0c5dff [CI] Auto update instances 2022-07-05 00:09:17 +00:00
github-actions 232ae3f91b [CI] Auto update instances 2022-07-04 00:11:31 +00:00
github-actions c230499f64 [CI] Auto update instances 2022-07-03 00:11:53 +00:00
github-actions 21a8856b3e [CI] Auto update instances 2022-07-02 00:10:41 +00:00
github-actions 85aeaaf75d [CI] Auto update instances 2022-07-01 00:10:58 +00:00
github-actions 4a85af3121 [CI] Auto update instances 2022-06-30 00:10:12 +00:00
github-actions 7d42f7e177 [CI] Auto update instances 2022-06-29 00:09:25 +00:00
github-actions f1edff4477 [CI] Auto update instances 2022-06-28 00:11:59 +00:00
github-actions e73c602a80 [CI] Auto update instances 2022-06-27 00:10:19 +00:00
github-actions c9800af82e [CI] Auto update instances 2022-06-26 00:11:37 +00:00
github-actions 50e52a2f07 [CI] Auto update instances 2022-06-25 00:09:59 +00:00
github-actions e30dd7509a [CI] Auto update instances 2022-06-24 00:09:15 +00:00
github-actions faa9231d27 [CI] Auto update instances 2022-06-23 00:09:26 +00:00
github-actions 5bc5d3032f [CI] Auto update instances 2022-06-22 00:11:46 +00:00
Ben Busby 58e9fa572a
Add note to demo table in readme
The demo table doesn't include all available services that are supported by
Farside, and likely shouldn't anyways since it already clutters up the readme a
bit. The existing demos should give a good enough idea of how Farside works and
how to use it.
2022-06-21 16:17:39 -06:00
Ben Busby 32259f849b
Add proxitok (TikTok frontend)
Closes #19
2022-06-21 16:12:12 -06:00
Ben Busby d280f961f5
Prepend /u/ for Bibliogram redirects if not present
Bibliogram links require a "/u/" prefix when viewing a user's profile,
which does not match Instagram's URL paradigm. This adds a bit of logic
for Bibliogram links to prepend this prefix if the user is not visiting
a post (indicated by a "/p/" prefix, which Bibliogram and Instagram BOTH
use) or the home page of an instance (indicated by an empty path value).
2022-06-21 15:53:16 -06:00
Ben Busby 52833ef89e
Redirect youtu.be links to the correct instance
Farside was previously only looking for links containing "youtube.com"
when performing the redirect for full URLs to youtube, which obviously
doesn't work for youtu.be shortened links. This updates the matching
logic to use a regex element for every key in the services map in order
to match against multiple possible domains for each parent service.

Fixes #40
2022-06-21 15:01:23 -06:00