blob: 8c2a71326a4c93a58279d09ce99bf7fd7d1f98fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
---
title: "RSS Bridge"
date: 2021-07-05
tags: ["service"]
icon: "rss.svg"
short_desc: "Creates RSS feeds for normie sites like Facebook."
---
RSS Bridge is a useful utility you can use to help you avoid the big
tech sites, like Facebook and Twitter, which instead of the feed you
usually would see, will be a based and minimalist RSS feed.
You\'ll need a server or VPS. Nearly any Operating system is supported
but for this tutorial I\'m gonna presume you\'re using a Debian-based
OS. You\'ll also need a domain name pointing to your server\'s IP
address [which is explained in this tutorial.](/basic/dns)
## Installation
### Setting Up and Configuring
First things first you\'ll need to make sure that you\'ve hardened you
SSH so that password authentication is disabled and you\'ll also want to
setup Fail2Ban. There\'s a great tutorial on how to do this [which can be read here.](/sshkeys)
Next we\'ll install the required packages:
```sh
apt install -y curl unzip nginx certbot php-fpm php-mysql php-cli php-mbstring php-curl php-xml php-sqlite3 php-json
```
We now have to create the website configuration file. Create/open the a
file below:
```sh
nano /etc/nginx/sites-available/rss-bridge
```
And add the following content:
```nginx
server {
listen 80;
listen [::]:80;
root /var/www/rss-bridge;
index index.php index.html index.htm index.nginx-debian.html;
server_name rss-bridge.thesiah.xyz;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}
```
After you have saved the file, you need to create a symlink so the
server actually will read the file.
```sh
ln -s /etc/nginx/sites-available/rss-bridge /etc/nginx/sites-enabled/rss-bridge
```
Then we have to create the folder where the service will reside in.
```sh
mkdir -p /var/www/rss-bridge
cd /var/www/rss-bridge
```
Lets download the latest version of RSS-Bridge in the directory.
The newest version can be found
[here](https://github.com/RSS-Bridge/rss-bridge/releases), at the time of
writing that is \"RSS-Bridge 2021-04-25.\"
```sh
wget https://github.com/RSS-Bridge/rss-bridge/archive/refs/tags/2021-04-25.zip
```
Unzip the file:
```sh
unzip 2021-04-25.zip
```
This will create a directory called rss-bridge-version-number, we now
want to move all the file contents of the newly created directory to the
one we are in
```sh
mv rss-bridge-2021-04-25/* .
rm -rf rss-bridge-2021-04-25 2021-04-25.zip
```
Now all we need to do is grant read/write permissions and reload the web
server.
```sh
chown -R www-data:www-data /var/www/rss-bridge
systemctl reload nginx
```
That\'s it, you should now have a working rss-bridge installed. But you
should definately get an SSL certifcate installed [which is done briefly here](/basic/certbot).
- [handskemager.xyz](https://handskemager.xyz)
- Bitcoin: `bc1qhfjgwjzksf2auqjefwpvq20wvyugq3lhqgkxvu`{.crypto}
- Monero:
`88cPx6Gzv5RWRRJLstUt6hACF1BRKPp1RMka1ukyu2iuHT7iqzkNfMogYq3YdDAC8AAYRqmqQMkCgBXiwdD5Dvqw3LsPGLU`{.crypto}
|