340 Commits

Author SHA1 Message Date
mithereal
84caea3af2 refactor 2022-09-17 14:10:07 -07:00
mithereal
03e46f81f8 add error handling 2022-09-17 03:59:48 -07:00
mithereal
0e17984d6f race condition i banish thee 2022-09-17 00:01:39 -07:00
mithereal
b5378f85c6 add moduledocs for tasks 2022-08-11 16:23:33 -07:00
mithereal
f39d6be013 fix init 2022-08-10 17:52:33 -07:00
Jason Clark
36d5b253a2
Merge branch 'main' into main 2022-08-09 14:08:52 -07:00
github-actions
d77040b7a4 [CI] Auto update instances 2022-08-09 00:11:24 +00:00
github-actions
e6b47888ee [CI] Auto update instances 2022-08-08 00:09:40 +00:00
github-actions
f24232af35 [CI] Auto update instances 2022-08-07 00:12:35 +00:00
github-actions
3861b93604 [CI] Auto update instances 2022-08-06 00:10:23 +00:00
github-actions
6d40562166 [CI] Auto update instances 2022-08-05 00:12:08 +00:00
Ben Busby
e1e46dcd92
Remove cloudflare filter from update workflow
The cloudflare filter, when performed as part of the github action
workflow, doesn't seem to work nearly as reliably when run on an actual
machine.

The farside server will instead run the un-cloudflare script whenever it
pulls in new changes to services-full.json, which should be a much more
reliable approach to filtering out cloudflare instances.
2022-08-04 13:16:58 -06:00
github-actions
e16d4bb330 [CI] Auto update instances 2022-08-04 00:11:16 +00:00
Ben Busby
768351cfc3
Add sr.ht link to index list view, update instance list 2022-08-03 10:58:22 -06:00
github-actions
9989237589 [CI] Auto update instances 2022-08-03 00:12:50 +00:00
Ben Busby
80698331cb
Fix readme logo spacing [skip ci] 2022-08-02 13:33:20 -06:00
Ben Busby
3be0c1b992
Remove leftover markdown table in readme [skip ci] 2022-08-02 13:26:22 -06:00
Ben Busby
ddd89ac8e8
Use html tables in readme [skip ci]
Sourcehut doesn't support markdown table formatting, but does support
html tables.
2022-08-02 13:25:12 -06:00
mithereal
666635f40f fix poll check 2022-08-02 10:40:13 -07:00
jlund
6a6bc2d5a1
Add "unofficialbird.com" Nitter instance [skip ci] (#58) 2022-08-02 09:21:08 -06:00
uranuspucksaxophone
7b36eaac59
Center README.md logo and badges [skip ci] (#56) 2022-08-02 09:20:26 -06:00
Ben Busby
650f28f1d5
[CI] Check for NOERROR return status in dig query 2022-08-01 22:37:58 -06:00
github-actions
6bfc92fb58 [CI] Auto update instances 2022-08-02 04:24:46 +00:00
Ben Busby
0749d01206
Add missing flag for sed replacement in update workflow 2022-08-01 22:20:51 -06:00
mithereal
2d5b31d61e remove check after update 2022-08-01 11:07:11 -07:00
Ben Busby
3c776d55b0
Auto update bibliogram instances w/ instance api
Closes #57
2022-08-01 12:04:53 -06:00
mithereal
28e4545f65 refactor check for empty instances 2022-07-31 19:26:36 -07:00
mithereal
da4735fe2b add 1 min fallback poll to recheck servers w/o instances 2022-07-31 16:42:14 -07:00
mithereal
075f471358 add timeout to heroku 2022-07-31 16:08:34 -07:00
mithereal
e2ca414f79 show fallback if there are no instances avail 2022-07-31 16:07:28 -07:00
mithereal
9b7c544466 add env var to control timeout 2022-07-31 15:15:50 -07:00
mithereal
4930ba353e fix init/update logic 2022-07-31 14:38:50 -07:00
Ben Busby
3460986481
Handle dig return code 9 in update workflow
If dig returns exit code 9 (no reply from server) when checking an
instance for cloudflare records, it shouldn't fail the CI build but
rather just skip adding the instance to the non-cloudflare services
list.

This should be re-evaluated soon to see if the CI build routinely has
issues with getting a server reply. If so, a different approach needs to
be taken to check if an instance is using cloudflare.
2022-07-31 11:47:28 -06:00
alvv-z
431ea613d1
Fix spelling of quetre (#55) 2022-07-31 11:05:48 -06:00
mithereal
f903f8442a fix test 2022-07-30 21:33:05 -07:00
mithereal
e9cca35a54 run as local service 2022-07-30 21:22:34 -07:00
mithereal
876bc2136b do not log in prod 2022-07-30 20:34:14 -07:00
mithereal
b73a8b4a4b update readme 2022-07-30 19:07:33 -07:00
mithereal
ca1e96470d config option update_file now contains updated json of working instances after sync 2022-07-30 18:57:00 -07:00
mithereal
a6e0c34abe refactor 2022-07-30 17:15:49 -07:00
mithereal
a76046a41b refactor 2022-07-30 16:25:49 -07:00
mithereal
d69b859910 add deploy to heroku 2022-07-29 23:11:34 -07:00
mithereal
7bd91cbcad fix reload 2022-07-29 22:56:17 -07:00
mithereal
a992934e11 fix test url issue 2022-07-29 21:55:54 -07:00
Jason Clark
75c36ae6af
Update lib/farside.ex
Co-authored-by: Ben Busby <contact@benbusby.com>
2022-07-29 21:12:50 -07:00
mithereal
c1ec9e9a6b refactor, remove unnecessary dependencies, speed up instance check query 2022-07-28 13:51:09 -07:00
Ben Busby
11b8e8466a
Remove dead/broken nitter instances 2022-07-28 09:45:01 -06:00
Ben Busby
e611375e75
Force remove cf filter output in auto update workflow 2022-07-28 09:19:25 -06:00
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