Jill
64e93413dd
specify port with envvar PORT
2022-08-02 05:49:10 +02:00
Chloe
9495bcee59
Update twitfix.py
2022-08-01 23:15:46 +01:00
Chloe
5b6109a36b
Update twitfix.py
2022-07-30 20:16:22 +01:00
Chloe Carver-Brown
a72edf04ea
Removing the d. subdomain (Redundant)
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 23:59:49 +01:00
Chloe Carver-Brown
fa99301061
Fix?
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 23:54:48 +01:00
Chloe Carver-Brown
aa2a90e28e
sanity check
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 22:01:08 +01:00
Chloe Carver-Brown
efa6da6c56
lets try this instead
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 21:45:35 +01:00
Chloe Carver-Brown
b6935d0a1d
fuck
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 21:29:20 +01:00
Chloe Carver-Brown
4a48827793
?
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 21:25:53 +01:00
Chloe Carver-Brown
47cc17e75e
aa
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 20:59:37 +01:00
Chloe Carver-Brown
60c18d8bba
I hate twitter i hate twitter
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 20:58:22 +01:00
Chloe Carver-Brown
70d214afdf
remove redundant imagecount
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 20:32:34 +01:00
Chloe Carver-Brown
3c78007607
fix infinite redirect
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 20:15:50 +01:00
Chloe Carver-Brown
1ae75c23e1
hmm
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 19:52:25 +01:00
Chloe Carver-Brown
e3f061aba2
testing out displaying images in a tweet
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 19:36:54 +01:00
Chloe Carver-Brown
851a7084a6
im legally blind
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 19:12:36 +01:00
Chloe Carver-Brown
098eb53e39
forgot the double bracket
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 19:02:19 +01:00
Chloe
b5a49706c6
Merge branch 'Twxtter:main' into main
2022-05-26 18:53:31 +01:00
Chloe Carver-Brown
eeb1630211
Fuck you baltimore
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-26 18:49:48 +01:00
Chloe
0f0098e6d7
Update twitfix.py
2022-05-23 01:12:31 +01:00
Chloe
18264bed1b
debugging
2022-05-21 00:39:38 +01:00
Chloe Carver-Brown
a24dc40794
hopefully fix favicon
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-20 19:41:49 +01:00
Chloe
8fdc5ee492
Forgot a 0
2022-05-19 13:19:06 +01:00
Chloe Carver-Brown
b795a9fe82
nya
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-19 13:13:28 +01:00
Chloe Carver-Brown
0fe2027bc1
big fix for mp4 (I think)
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-19 13:00:36 +01:00
Chloe
25f21d1eb7
Update twitfix.py
2022-05-19 02:05:46 +01:00
Chloe
925d1c277c
Update twitfix.py
2022-05-18 21:53:30 +01:00
Chloe Carver-Brown
ef42c26a81
Updates and changes
...
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
2022-05-18 15:24:27 +01:00
Robin Universe
55f59c150f
Updated TwitFix to bring it inline with Prod
...
- Improve the Like / Retweet display
- Fix video descriptions being bad and broken
- Add NSFW status to the VNF
- Change embed color depending on NSFW status
- Fix video bitrate sorting for the third time ( all adys doing )
- Added a .json endpoint that allows you to get the raw VNF json for any tweet
- Fixed Videos type not being detected and cached, resulting in empty VNFs (no screen_name, likes, or RTs)
2022-05-10 18:40:09 -05:00
adryd
7bbcd75600
Fix tweet text content appearing in telegram
...
- Fix video quality sorting
- Fix screenName being empty
- Fix img accessed before declaration
- Hopefully tweet text content shows now in telegram
- Add flask_cors dependency
- Remove unnecesary react-helmet garbage
2022-05-03 11:13:34 -04:00
adryd
b201bdcf2e
Re-add quality sorting
2022-03-19 20:37:28 -04:00
Robin Universe
9f8e3807b2
Brought up to date with Live
...
Added:
- DB Table is now configured in the config file ( lets you run multiple instances on different tables, handy for testing )
- Added way to post any image in a multi-image tweet by using /2, /3, or /4
- Added @DorukSega 's implementation of the /latest page that actually looks nice
- Made it so all images are stored to the images object in the vnf ( first image is also stored in thumb for back compat )
Fixed:
- Made it so you can put .mp4 at the end of any tweet link and it'll work, even if the url has args
2022-03-07 06:52:39 -06:00
Robin Universe
0385227468
Tweet Types / QRTs / TOP / Cleanup
2022-02-20 16:13:18 -06:00
Robin Universe
71168a29b3
Added /dl/ and .mp4 endpoints
...
These still have some hard-coded paths built in, so take care to fix those before using
2022-01-17 17:36:43 -06:00
Robin Universe
713d1d81cf
FINALLY fixed the /info/ endpoint
2021-12-02 20:14:01 -06:00
Robin Universe
3ab59daf28
Several changes
...
1. Add the /latest/ endpoint
2. Fix a problem that was leading to infinite loops in some instances
3. Attempt to add Slack support via adding the useragent
4. Make the output a bit prettier and more descriptive
2021-12-02 18:58:36 -06:00
Robin Universe
f22ce5b77a
Added support for twitter urls with /statuses/, Made some changes to direct urls
2021-10-01 16:59:20 -05:00
jack1142
d9e4368ecc
Add Revolt's user agent
2021-08-17 04:11:23 +02:00
adryd
94ce8ba17e
Addresses #23
2021-08-02 21:52:13 -04:00
robinuniverse
35988b1272
Added a direct MP4 endpoint (/dir/ before the input url)
2021-07-21 16:36:05 -05:00
adryd
a59fe47cac
Fix link regex to match pre-snowflake tweet IDs
2021-07-20 00:17:57 -04:00
Izofeu
b56bee745b
Update twitfix.py
2021-07-16 22:25:43 +02:00
robinuniverse
5567498a20
Added automatic link redirecting for t.co links in non video tweets when using the API
2021-07-14 19:15:06 -05:00
robinuniverse
f3f62f3cb4
Added more config options for color, name, and repo, made clicking on the bare url directly redirect to the repo based on useragent, fixed one config that was being created with the wrong name, finally added a url config so oembed works on other servers without digging around in the html
2021-07-14 03:33:46 -05:00
robinuniverse
e276425b74
Removed some debug code, fixed a missed renamed var, fixed redirects on full url subpaths
2021-07-13 13:57:09 -05:00
nbtm
59c4bbf188
Changed variable and function naming conventions to match that of pythons spec
2021-07-14 03:19:24 +10:00
nbtm
c3c2dbb008
Changed variable and function naming conventions to match that of pythons spec
2021-07-14 03:18:50 +10:00
adryd
63570ea84b
Match twitter_url before checking user agent
2021-07-13 02:32:25 -04:00
adryd
4053f6373d
Just redirect to Twitter when it's not Discord calling
...
Signed-off-by: adryd <me@adryd.com>
2021-07-13 02:15:30 -04:00
robinuniverse
f90249fc05
Actually fixed broken descriptions (they were worse than we thought) (thanks maddie again)
2021-07-12 16:41:07 -05:00