Commit graph

86 commits

Author SHA1 Message Date
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
4ec2874008 Use staticDir to load about page
Fixes #414
Closes #406
2022-01-09 23:48:25 +01:00
Zed
f9c9b0d3a4 Add /.tokens debug endpoint to see token pool 2022-01-05 22:49:16 +01:00
Zed
18cf95ed77 Add enableDebug config to turn on logs 2022-01-05 19:20:01 +01:00
jackyzy823
6aa913ad62 Add http proxy config 2021-12-28 07:49:49 +01:00
Zed
0a8fd2fce2 Improve enableRSS logic 2021-12-28 06:21:22 +01:00
Zed
9b202e414b Merge branch 'config-rss-toggle' 2021-12-28 06:18:21 +01:00
Zed
99d3c46af5 Improve API error handling 2021-12-28 05:41:41 +01:00
Zed
6bcbe0ea9f Handle decompression errors 2021-12-28 05:13:47 +01:00
Zed
73b5b60ac3 Add license headers
Closes #413
2021-12-27 02:37:38 +01:00
Zed
9e413e1f8c Rename replaceUrl to replaceUrls 2021-12-27 02:27:49 +01:00
Timothy Bautista
2edf54d5b3 Add enableRSS setting in config file
Useful for instance owners who want to disable the RSS endpoint for
reasons such as abuse and not enough server resources to handle heavy
network traffic through that endpoint.

Resolves #437
2021-10-02 13:15:52 -06:00
3nprob
a859943871
Expand configuration (#368)
* Allow configuring httpMaxConns

default: 100

* Allow setting NITTER_CONF_FILE path env var

Co-authored-by: 3nprob <3nprob@3nprob>
2021-06-23 23:17:16 +02:00
Zed
e1b3e9db76 Add proper http support
Fixes #223
2021-01-08 02:36:06 +01:00
Zed
4e1d213488 Show error page when rate limited 2021-01-07 22:31:29 +01:00
Zed
375cb1a243 Fix removal of logging on release 2020-11-07 23:16:47 +01:00
Zed
bd97cea709 Update dependencies 2020-11-07 21:46:03 +01:00
Zed
3bd0488c66 Add http pool to reduce connection overhead 2020-11-07 21:31:03 +01:00
Zed
09b85464bd Reenable logging for non-release builds 2020-06-09 20:29:05 +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
1b9fa40237 Silence Jester's query warning 2020-06-07 09:28:56 +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
4a43209386 Update readme 2020-06-02 18:05:54 +02:00
Zed
81d6d1ac7f Misc. changes 2020-06-02 18:05:54 +02:00
Zed
312ff78628 Store preferences in cookies, add config defaults 2020-05-08 02:48:47 +02:00
Zed
8c50692299 Add periodic cache cleaner prevent slowdowns 2020-03-09 00:17:42 +01:00
Zed
1aa1487402 Add t.co and /cards link resolvers
For t.co links: https://t.co/.. -> nitter.net/t.co/..
For card links: https://cards.twitter.com/cards/.. -> nitter.net/cards/...
2019-12-30 11:41:09 +01:00
Zed
ebd7afe464 Support video embeds
Fixes #66
2019-12-06 15:15:56 +01:00
Zed
e91e7bcc1e Add hmacKey config field for video signing 2019-10-24 00:17:38 +02:00
Zed
a78eea9dce Fix 404 page 2019-10-21 07:59:22 +02:00
Zed
030d649300 Proper mimetype fix 2019-10-21 07:33:45 +02:00
Zed
147f16a262 Fix wrong mimetypes for images 2019-10-21 07:22:24 +02:00
Zed
cfcd471ffc Use sendFile, refactor mimetypes 2019-10-21 05:55:18 +02:00
Zed
de62eedea5 Refactor hostname to be a runtime option
Add a `hostname` field under Server in your conf file, see the
updated nitter.conf in the repo for an example. The compile-time
option (-d:hostname) is no longer used.
2019-10-21 05:19:00 +02:00
Zed
d52769009b Add /i/redirect support
Fixes #77
2019-10-18 00:45:54 +02:00
Zed
ebb89edef6 Use custom 404 page, halt on 404 instead of resp 2019-10-07 16:47:53 +02:00
Zed
43a2bd529c Improve endpoint parity with twitter 2019-09-23 16:12:20 +02:00
Zed
372ce7867c Add "not supported" page at /about/feature
Fixes #42
2019-09-23 02:03:18 +02:00
Zed
9e3138e51b Add list support 2019-09-21 01:08:30 +02:00
Zed
fd20fcf3ee Support /photo/1 endpoint
Fixes #43
2019-09-20 14:10:10 +02:00
Zed
30bab22dae Add user search 2019-09-17 21:17:36 +02:00
Zed
36484c73fd Support RSS feeds for /media and /replies 2019-09-15 12:10:43 +02:00
Zed
2e58b7e197 Add about page
Fixes #31
2019-09-09 04:41:20 +02:00
Zed
014f01bf88 Refactor routing code 2019-09-06 02:42:35 +02:00
Zed
1e55f21fa5 Use referer form data instead of relying on header 2019-09-05 22:40:36 +02:00
Zed
ac6f4e7d61 Add button to enable hls playback when disabled 2019-08-23 00:00:10 +02:00
Zed
1c43dd66a7 Support /i/web/status endpoint 2019-08-22 23:16:09 +02:00