Repository navigation
Expand file tree
/
Copy pathrssreader_configuration.sample.lua
More file actions
155 lines (155 loc) · 6.16 KB
/
Copy pathrssreader_configuration.sample.lua
File metadata and controls
155 lines (155 loc) · 6.16 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
return {
accounts = {
{
name = "NewsBlur 1", -- you can set a custom name
type = "newsblur",
active = false, -- set to true to enable this account
auth = {
username = "user name",
password = "password",
},
},
{
name = "CommaFeed 1", -- you can set a custom name
type = "commafeed",
active = false, -- set to true to enable this account
auth = {
base_url = "https://www.commafeed.com/rest",
username = "user name",
password = "password",
},
},
{
name = "Fever API",
type = "fever",
active = false,
auth = {
base_url = "https://example.com/fever",
username = "your_username", --use either username+password or api_key
password = "your_password",
-- api_key = "your_direct_api_key", --use either username+password or api_key
},
options = {
default_folder = nil,
},
},
{
name = "My Miniflux",
type = "miniflux",
active = false,
auth = {
base_url = "http://localhost:8080",
api_key = "your_miniflux_api_key",
},
options = {
default_folder = nil,
},
},
{
name = "My Feedbin",
type = "feedbin",
active = false,
auth = {
username = "you@example.com", -- your Feedbin login email
password = "your_feedbin_password",
},
},
{
name = "My FreshRSS",
type = "freshrss",
active = false,
auth = {
base_url = "https://your-freshrss-domain.com",
username = "your_freshrss_username",
password = "your_api_password",
},
special_feeds = {
{
id = "feed/305",
title = "read-it-later",
},
-- Add more feeds as needed
},
},
{
name = "Sample", -- you can set a custom name but also rename in rssreader_local_defaults.lua
type = "local",
active = true, -- set to true to enable this account
},
{
name = "Local 2", -- you can set a custom name but also rename in rssreader_local_defaults.lua
type = "local",
active = false, -- set to true to enable this account
},
},
sanitizers = { -- available types = feedbin, fivefilters, fivefilters_rapidapi, diffbot, instaparser, instapaper
{
-- Feedbin's own full-article extraction. Free and needs no token,
-- but only applies to stories from a Feedbin account; other
-- stories go straight to the next sanitizer.
order = 0,
type = "feedbin",
active = false,
},
{
order = 1,
type = "fivefilters",
active = false,
base_url = "https://rss.com", -- your self host ftr instance
},
{
order = 2,
type = "fivefilters_rapidapi",
active = false,
-- get your key here: https://rapidapi.com/fivefilters/api/full-text-rss
token = "your_rapidapi_key",
-- base_url is optional; defaults to https://full-text-rss.p.rapidapi.com
--
-- The free plan includes 250 requests per month and then keeps
-- serving, billing every further call, so the plugin counts them
-- and stops on its own. Raise this if you are on a paid plan, or
-- set 0 for no ceiling. Omitted means 250.
monthly_request_limit = 250,
},
{
-- The free public endpoint (ftr.fivefilters.net) was discontinued and
-- now answers 410, so this entry only works with a base_url above.
order = 3,
type = "fivefilters",
active = false,
},
{
order = 3,
type = "diffbot",
active = false,
token = "your_diffbot_token", -- get your token here: https://app.diffbot.com/
},
{
order = 4,
type = "instaparser",
active = false,
token = "your_instaparser_token", -- get your token here: https://instaparser.com/
seconds_between_calls = 2, -- spacing between calls, shared by parallel downloads (Trial plan: max 1 call/s; 0 = no limit)
},
{
-- Instapaper's own parser: each article is saved to your Instapaper
-- account, its parsed text read back, and the bookmark deleted again
-- (links already in the account are left alone). Best used with a
-- separate Instapaper account kept for this.
order = 5,
type = "instapaper",
active = false,
-- personal access token: https://www.instapaper.com/developers/applications
token = "your_instapaper_access_token",
seconds_between_calls = 2, -- spacing between articles, shared by parallel downloads (0 = no limit)
},
},
features = {
default_folder_on_save = nil, -- set a folder to save new feeds to, if nil then default is home folder (example for kindle:"/mnt/us/documents/rss", for kobo: "/mnt/onboard/rss")
download_images_when_sanitize_successful = true, -- if sanitize functionality is successful, download images
download_images_when_sanitize_unsuccessful = false, -- if sanitize functionality is unsuccessful, download images (for the original html file)
show_images_in_preview = true, -- show images in preview screen
image_download_workers = 4, -- how many images to download at the same time (1 = one after the other)
sanitized_save_path = nil, -- path to save sanitized links, if nil uses default_folder_on_save, then home folder
},
}