Skip to content

Commit 4da61b7

Browse files
authored
chore: prepare 2025-01-26 release (#4424)
1 parent 8b1ba00 commit 4da61b7

File tree

3 files changed

+19
-28
lines changed

3 files changed

+19
-28
lines changed

README.md

+14-18
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Requires minimum PHP 7.4.
2929
|![Screenshot #3](/static/screenshot-3.png?raw=true)|![Screenshot #4](/static/screenshot-4.png?raw=true)|
3030
|![Screenshot #5](/static/screenshot-5.png?raw=true)|![Screenshot #6](/static/screenshot-6.png?raw=true)|
3131

32-
## A subset of bridges (16/447)
32+
## A subset of bridges (15/447)
3333

3434
* `CssSelectorBridge`: [Scrape out a feed using CSS selectors](https://rss-bridge.org/bridge01/#bridge-CssSelectorBridge)
3535
* `FeedMergeBridge`: [Combine multiple feeds into one](https://rss-bridge.org/bridge01/#bridge-FeedMergeBridge)
@@ -44,7 +44,6 @@ Requires minimum PHP 7.4.
4444
* `ThePirateBayBridge:` [Fetches torrents by search/user/category](https://rss-bridge.org/bridge01/#bridge-ThePirateBayBridge)
4545
* `TikTokBridge`: [Fetches posts by username](https://rss-bridge.org/bridge01/#bridge-TikTokBridge)
4646
* `TwitchBridge`: [Fetches videos from channel](https://rss-bridge.org/bridge01/#bridge-TwitchBridge)
47-
* `VkBridge`: [Fetches posts from user/group](https://rss-bridge.org/bridge01/#bridge-VkBridge)
4847
* `XPathBridge`: [Scrape out a feed using XPath expressions](https://rss-bridge.org/bridge01/#bridge-XPathBridge)
4948
* `YoutubeBridge`: [Fetches videos by username/channel/playlist/search](https://rss-bridge.org/bridge01/#bridge-YoutubeBridge)
5049
* `YouTubeCommunityTabBridge`: [Fetches posts from a channel's community tab](https://rss-bridge.org/bridge01/#bridge-YouTubeCommunityTabBridge)
@@ -72,27 +71,27 @@ useradd --shell /bin/bash --create-home rss-bridge
7271

7372
cd /var/www
7473

75-
# Create folder and change ownership
74+
# Create folder and change its ownership to rss-bridge
7675
mkdir rss-bridge && chown rss-bridge:rss-bridge rss-bridge/
7776

78-
# Become user
77+
# Become rss-bridge
7978
su rss-bridge
8079

81-
# Fetch latest master
80+
# Clone master branch into existing folder
8281
git clone https://github.com/RSS-Bridge/rss-bridge.git rss-bridge/
8382
cd rss-bridge
8483

85-
# Copy over the default config
84+
# Copy over the default config (OPTIONAL)
8685
cp -v config.default.ini.php config.ini.php
8786

88-
# Give full permissions only to owner (rss-bridge)
89-
chmod 700 -R ./
87+
# Recursively give full permissions to user/owner
88+
chmod 700 --recursive ./
9089

91-
# Give read and execute to others (nginx and php-fpm)
90+
# Give read and execute to others on folder ./static
9291
chmod o+rx ./ ./static
9392

94-
# Give read to others (nginx)
95-
chmod o+r -R ./static
93+
# Recursively give give read to others on folder ./static
94+
chmod o+r --recursive ./static
9695
```
9796

9897
Nginx config:
@@ -110,30 +109,27 @@ server {
110109
error_log /var/log/nginx/rss-bridge.error.log;
111110
log_not_found off;
112111
113-
# Intentionally not setting a root folder here
114-
115-
# autoindex is off by default but feels good to explicitly turn off
116-
autoindex off;
112+
# Intentionally not setting a root folder
117113
118114
# Static content only served here
119115
location /static/ {
120116
alias /var/www/rss-bridge/static/;
121117
}
122118
123-
# Pass off to php-fpm when location is exactly /
119+
# Pass off to php-fpm only when location is EXACTLY == /
124120
location = / {
125121
root /var/www/rss-bridge/;
126122
include snippets/fastcgi-php.conf;
127123
fastcgi_read_timeout 45s;
128124
fastcgi_pass unix:/run/php/rss-bridge.sock;
129125
}
130126
131-
# Reduce spam
127+
# Reduce log noise
132128
location = /favicon.ico {
133129
access_log off;
134130
}
135131
136-
# Reduce spam
132+
# Reduce log noise
137133
location = /robots.txt {
138134
access_log off;
139135
}

config.default.ini.php

+4-9
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,15 @@
2121
;enabled_bridges[] = ThePirateBay
2222
;enabled_bridges[] = TikTokBridge
2323
;enabled_bridges[] = Twitch
24-
;enabled_bridges[] = Vk
2524
;enabled_bridges[] = XPathBridge
2625
;enabled_bridges[] = Youtube
2726
;enabled_bridges[] = YouTubeCommunityTabBridge
2827
enabled_bridges[] = *
2928

30-
; Defines the timezone used by RSS-Bridge
31-
; Find a list of supported timezones at
32-
; https://www.php.net/manual/en/timezones.php
33-
; timezone = "UTC" (default)
3429
timezone = "UTC"
3530

3631
; Display a system message to users.
37-
message = ""
32+
;message = "Hello world"
3833

3934
; Whether to enable debug mode.
4035
enable_debug_mode = false
@@ -52,12 +47,12 @@
5247
[http]
5348

5449
; Operation timeout in seconds
55-
timeout = 15
50+
timeout = 5
5651

5752
; Operation retry count in case of curl error
58-
retries = 2
53+
retries = 1
5954

60-
; User agent
55+
; Curl user agent
6156
useragent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"
6257

6358
; Max http response size in MB

lib/Configuration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
final class Configuration
99
{
10-
private const VERSION = '2025-01-02';
10+
private const VERSION = '2025-01-26';
1111

1212
private static $config = [];
1313

0 commit comments

Comments
 (0)