Commit graph

132 commits

Author SHA1 Message Date
b27296e317 Add Docker image and compose with documentation 2022-06-07 11:46:39 +02:00
40f4770e17 Fix links.json creation 2022-06-07 10:44:52 +02:00
Dylan
e28789a09d Added og:description on videos for Telegram users 2022-06-05 13:36:18 +01:00
Dylan
faed7482f4
Update requirements.txt 2022-06-05 02:10:54 +01:00
Dylan
a5b2eb6cd0 Restore old behavior of showing error message 2022-06-04 13:53:14 +01:00
Dylan
16dfc509d3 Small log message when an unofficial API call succeeds 2022-06-03 23:27:33 +01:00
Dylan
174a20d896 Use unofficial API when official API fails 2022-06-02 17:07:48 +01:00
Dylan
e64dee9349 Temporary redirect for failing links due to API ratelimiting 2022-06-02 01:09:04 +01:00
Dylan
f0f709f62e use yt-dlp 2022-06-01 21:52:47 +01:00
Dylan
0f77b2e0a4 Merge branch 'main' of github.com:dylanpdx/BetterTwitFix 2022-06-01 19:26:22 +00:00
Dylan
285c8f70f8 Service auto-restart 2022-06-01 19:25:23 +00:00
Dylan
ffcde09b97 Return HTTP 400 if missing query parameters 2022-05-30 01:25:53 +01:00
Dylan
891db049af Fixed incorrect TTL being set 2022-05-27 23:18:58 +01:00
Dylan
797b670d0e Do not combine single image tweets 2022-05-26 18:11:30 +01:00
Dylan
728785278b Fixed direct video linking 2022-05-26 16:48:24 +01:00
Dylan
ec1f4dc284 Image check in lambda handler 2022-05-26 16:13:31 +01:00
Dylan
77b972a1b2 Switched to using ThreadPoolExecutor 2022-05-26 16:10:29 +01:00
Dylan
4feb1b65d6 Optimized image downloads 2022-05-26 15:01:12 +01:00
Dylan
2819b504a3 Add quality argument 2022-05-26 02:01:43 +01:00
Dylan
2399788fdc Misc code cleanup; Fixed Discord not embedding 301 redirects issue 2022-05-26 01:29:47 +01:00
Dylan
7a021916f0 Use proper mime type 2022-05-26 00:58:28 +01:00
Dylan
a06a89825c Fixed formatting 2022-05-25 23:56:48 +01:00
Dylan
6717fd464a Documented combination_method 2022-05-25 23:55:41 +01:00
Dylan
022edb5122 Moved combineImg to own module; created AWS dockerfile; added combination_method config 2022-05-25 23:48:55 +01:00
Dylan
d7e0cb9089 Changed scaling method 2022-05-25 17:28:03 +01:00
Dylan
55ea554357 Re-scale image down 2022-05-25 16:30:51 +01:00
Dylan
b457760fae Use JPEG for final combined img 2022-05-25 01:20:27 +01:00
Dylan
39a9ffd512 Method to embed combined tweet images. WIP & may be CPU intensive 2022-05-25 00:49:22 +01:00
Dylan
a6efd26447 Oops- Updated other two error msgs 2022-05-23 20:33:11 +01:00
Dylan
e81beb975c Improved Fail link message 2022-05-23 19:02:54 +01:00
Dylan
55c956ad4e Error checking for loading cache json file 2022-05-22 15:19:28 +01:00
Dylan
014f9d0e8d TTL for cache entries 2022-05-22 15:19:17 +01:00
Dylan
f640ac69a1
Merge pull request #2 from cabiste69/patch-1
Minor cleaning
2022-05-21 16:13:26 +01:00
cabiste
08d686c652
minor cleaning 2022-05-20 23:14:58 +01:00
Dylan
7eff745550 Clarifications in readme 2022-05-18 18:23:11 +01:00
Dylan
8df211090c
Merge pull request #1 from Fam0r/main
Use the best bitrate video for twitter embeds
2022-05-17 17:14:30 +01:00
Dylan
5a2a4e6316 Display how many total images in the post 2022-05-17 14:55:49 +01:00
Fam0r
681f191502 Use the best bitrate video for twitter embeds 2022-05-17 09:40:40 +03:00
Dylan
82fe66af48 Work in progress code for combining up to 4 images 2022-05-16 20:18:18 +01:00
Dylan
fba1256efd Fixed infinite redirect(?) 2022-05-15 01:42:22 +01:00
Dylan
85c682ab11 Updated gitignore 2022-05-15 01:15:15 +01:00
Dylan
954ae9f811 Update requirements 2022-05-15 00:32:08 +01:00
Dylan
5dc0d42542 Updated readme 2022-05-14 00:24:58 +01:00
Dylan
819e2f1e31 Modified image embeds 2022-05-13 20:43:07 +00:00
Dylan
87ba86ba50 Removed tracking/stats, anything non-embed related 2022-05-13 20:04:27 +01:00
Dylan
7a0b2660c5 Name changes & removed links.json 2022-05-13 19:50:39 +01:00
Dylan
66a6af4cc3 Initial changes 2022-05-13 17:00:16 +00:00
Robin Universe
5b58c0d9bc
Merge pull request #52 from DorukSega/main
Latest Section Update
2022-05-13 07:23:58 -05:00
Doruk
ba6059bb59 Adjustment to latest.html file 2022-05-13 15:13:16 +03:00
Doruk
d2903baefe Slight Adjustment to /latest/ view
Added Better Cookies
Added the option
2022-05-13 15:11:47 +03:00