284 Commits

Author SHA1 Message Date
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
Ben Busby
fb286398bc
Fix Wikiless auto update workflow
Wikiless updated their instance json with a couple of changes that broke
Farside's auto update workflow:
- The protocol for each instance is now included by default (no need to prepend
  "https://")
- The instances are differentiated between regular, onion, and i2p (no need to
  check for ".onion" in regular instance URLs)
2022-06-21 14:04:59 -06:00
github-actions
3654fee2b3 [CI] Auto update instances 2022-06-18 00:10:20 +00:00
github-actions
8714233bf3 [CI] Auto update instances 2022-06-17 00:10:05 +00:00
github-actions
6eda012332 [CI] Auto update instances 2022-06-16 00:09:25 +00:00
github-actions
a8e3bfdb43 [CI] Auto update instances 2022-06-15 00:11:13 +00:00
github-actions
4911410337 [CI] Auto update instances 2022-06-14 00:10:48 +00:00
Ben Busby
6210ed56e7
Include query params for all /_/ prefixed links
Query params were not included when using the "/_/" prefix for farside
links. This extracts the logic for parsing query params into a function
that is then used for both /_/ and non-/_/ links.
2022-06-13 10:20:39 -06:00
github-actions
213658ae6c [CI] Auto update instances 2022-06-13 00:11:04 +00:00