Commit graph

144 commits

Author SHA1 Message Date
Mitarashi
aee222eb62 Merge branch 'embedded' of https://github.com/LainLayer/nitter into embedded 2022-01-14 20:36:06 +02:00
Mitarashi
d29186bf8f stylistic changes 2022-01-14 20:35:01 +02:00
alqeeu
1e027f5edf
Update src/routes/embed.nim
Co-authored-by: Zed <zedeus@pm.me>
2022-01-14 20:33:01 +02:00
Mitarashi
ac0edc0a41 made twitter embed links redirect to nitter ones 2022-01-14 20:24:06 +02:00
Mitarashi
875a2c5387 moved themes to be handled in renderHead and changed path to /embed 2022-01-14 19:34:10 +02:00
Mitarashi
0d3469df66 changed code to be not shit 2022-01-14 19:01:47 +02:00
Mitarashi
7f15993a74 crude implementation of embedding tweets 2022-01-14 15:23:53 +02:00
Zed
0e5da8c305 Reimplement titleize without regex 2022-01-10 16:18:10 +01:00
Zed
63b9e8dbc1 Cleanup 2022-01-10 00:45:35 +01:00
Zed
db74fa8893 Remove capture group from titleization regex 2022-01-10 00:37:04 +01:00
Zed
c042c84203 Add auto theme that uses Twitter dark
Closes #332
2022-01-10 00:36:13 +01:00
Zed
8c2e0c66e2 Render markdown files with a tool 2022-01-09 23:35:56 +01:00
Zed
ffcac982d0 Style fixes 2022-01-06 03:57:14 +01:00
Zed
d4c6876bc9 Add more info to /.tokens endpoint 2022-01-06 00:42:18 +01:00
Zed
f9c9b0d3a4 Add /.tokens debug endpoint to see token pool 2022-01-05 22:49:16 +01:00
Zed
bb981df657 Improve and simplify preferences page behavior 2022-01-03 02:40:28 +01:00
Zed
1ce6ff2b2f Improve search and list error messages 2021-12-30 23:48:57 +01:00
Zed
aed31b2269 Add slug-based list RSS endpoint for compatibility 2021-12-30 20:55:10 +01:00
jackyzy823
db090faf36 use separator in rss key for redis cache 2021-12-30 08:36:43 +01:00
jackyzy823
35bb5f9132 Rework list api 2021-12-30 08:36:43 +01:00
Zed
d96550fcce Minor code improvements 2021-12-30 04:18:40 +01:00
Zed
80f7bc0a02 Cleanup 2021-12-30 01:48:48 +01:00
Zed
b0a5e38b3f Merge branch 'intent-userid' 2021-12-30 01:45:41 +01:00
Zed
ddc2be8439 Make gzip handling more robust 2021-12-30 01:39:00 +01:00
jackyzy823
52af6b2746 Implement user_id to screen_name router 2021-12-28 09:30:55 +01:00
Zed
0a8fd2fce2 Improve enableRSS logic 2021-12-28 06:21:22 +01:00
Zed
73b5b60ac3 Add license headers
Closes #413
2021-12-27 02:37:38 +01:00
Zed
2a40dd8059 Skip rail request if profile is protected 2021-12-26 05:02:57 +01:00
Zed
7af71ec480 Fix compiler warnings 2021-12-20 04:18:44 +01:00
decoy-walrus
15e1ba1322
Hack in support for the new twitter video format (#381)
This change adds ".m4s" and ".mp4" to the regex that modifies m3u8 playlist files proxied from twitter, and adds ".m4s" to the list of extensions proxied through nitter. The net effect is the new video format that twitter is using now should be supported.
2021-05-08 18:05:31 +02:00
Zed
e1b3e9db76 Add proper http support
Fixes #223
2021-01-08 02:36:06 +01:00
Zed
ed7ecf7c8d Preload profile/tweet images, banners, and icons 2021-01-08 00:50:10 +01:00
Zed
384b0a2033 Fix profile caching logic to ignore empty profiles 2021-01-07 22:04:01 +01:00
Zed
320cb47bce Switch to supersnappy, update frosty 2020-11-15 01:21:56 +01:00
Zed
1d0f95b79d Fix card video preview 2020-11-09 21:24:34 +01:00
Zed
af634231b9 Support card previews 2020-11-09 21:20:33 +01:00
Zed
3107ab0ab8 Fix content-length crash 2020-11-07 23:02:27 +01:00
Zed
bde3c3662d Silence some warnings 2020-06-22 03:50:16 +02:00
Zed
33f0ab0ba5 Always show retweets unless excluded in search 2020-06-17 14:12:38 +02:00
Zed
77da2e32c6 Use old api to optimize photo rails 2020-06-17 00:20:34 +02:00
Zed
6167e7dc49 Refactor fetch helper, fix list pagination 2020-06-15 16:44:14 +02:00
Zed
bd386b3acf Proper support for gif avatars
Fixes #160
2020-06-10 18:34:56 +02:00
Zed
61d27efd69 Optimize profile caching strategy 2020-06-09 18:19:20 +02:00
Zed
db45433ec4 Optimize usage of cookie preferences 2020-06-09 16:45:21 +02:00
Zed
310c5e936d Optional base64 support for proxy urls 2020-06-09 15:22:58 +02:00
Zed
40ef23956a Catch connection closed errors 2020-06-07 08:23:05 +02:00
Zed
47c87f7068 Strip https://pbs.twimg.com from image urls 2020-06-07 07:55:57 +02:00
Zed
181ef3bca7 Use snappy for rss compression, refactor 2020-06-06 09:27:25 +02:00
Zed
68a5ac20b6 Proxy media instead of using file cache 2020-06-06 04:39:22 +02:00
Zed
2fe0d8daae Fix wrong error message when rss timeline is empty 2020-06-05 16:49:30 +02:00