-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
60 lines (40 loc) · 1.83 KB
/
README
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
#------------------------------------------------------------------------------#
_ _
__ _ ___ __ _ __| | ___ _ __ ___ (_) ___
/ _` |/ __/ _` |/ _` |/ _ \ '_ ` _ \| |/ __|
| (_| | (_| (_| | (_| | __/ | | | | | | (__
\__,_|\___\__,_|\__,_|\___|_| |_| |_|_|\___|
__ _
_ __ __ _ _ __ ___ _ _ / _| ___ ___ __| |
| '_ \ / _` | '_ \ / _ \ '__| | |_ / _ \/ _ \/ _` |
| |_) | (_| | |_) | __/ | | _| __/ __/ (_| |
| .__/ \__,_| .__/ \___|_| |_| \___|\___|\__,_|
|_| |_|
#------------------------------------------------------------------------------#
NAME
news - an RSS feed aggregator
DESCRIPTION
Science moves fast, and if you don't have fast tools you won't be fast
enough!
INSTALLATION
Put RSS urls in rss_urls, there are premade files in lists/
Install pycurl:
./install_pycurl.sh
Use news:
python3 news.py
Loop news until ctrl-c:
./news.sh
Defaults for news.py:
# color theme for 'dark' and 'light' terminals
THEME = 'dark'
# file containing RSS urls
RSS_URL_FILE = 'rss_urls'
# numer of items to show
N_SHOW_LINES = 1000
# maximum number of description characters to show
MAX_DESCRIPTION_LEN = 150
# if nonzero, will randomly shuffle news dates with std equal to this value
MAX_DAYS_HISTORY = 0.1
AUTHOR
Author: Jiarui Wang
Email: [email protected]