<commit_before>rssr
====

A simple python3 rssr reader

Installation
------------

```sh
sudo chmod +x install-all.sh
./install-all.sh
```

Dependecies
-----------

 * python3
 * python3-feedparser
 * python3-lxml
 * surf (only by default, you can use any web browser you want, just run `rss-read -c YOUR_WEB_BROWSER`, also write this to the `rss` shell script)

Cron
----

If you want to pull new articles from your feeds, use cron:

```sh
crontab -e
```

An editor should open. Jump to the end and write:

```sh
0 0,4,8,12,16,20 * * * /usr/bin/rssr-pull
```

Close the editor and your done. From this moment cron will execute `rssr-pull` every four hours.

Feeds
-----

Feeds are in `~/.rssr/feeds`. To add new feed, just open this file and write the feed url at a newline.<commit_msg>Adding feeds using echo<commit_after>rssr
====

A simple python3 rssr reader

Installation
------------

```sh
sudo chmod +x install-all.sh
./install-all.sh
```

Dependecies
-----------

 * python3
 * python3-feedparser
 * python3-lxml
 * surf (only by default, you can use any web browser you want, just run `rss-read -c YOUR_WEB_BROWSER`, also write this to the `rss` shell script)

Cron
----

If you want to pull new articles from your feeds, use cron:

```sh
crontab -e
```

An editor should open. Jump to the end and write:

```sh
0 0,4,8,12,16,20 * * * /usr/bin/rssr-pull
```

Close the editor and your done. From this moment cron will execute `rssr-pull` every four hours.

Feeds
-----

Feeds are in `~/.rssr/feeds`.

Adding a new feed is pretty simple:

```sh
echo FEED_URL >> ~/.rssr/feeds
```
{'fraction_non_alphanumeric': 0.14789175582127123, 'fraction_numerical': 0.01762114537444934, 'mean_word_length': 3.005037783375315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7089848', 'n_tokens_mistral': 585, 'n_tokens_neox': 545, 'n_words': 215}