miniflux.1 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. .\" Manpage for miniflux.
  2. .TH "MINIFLUX" "1" "June 8, 2019" "\ \&" "\ \&"
  3. .SH NAME
  4. miniflux \- Minimalist and opinionated feed reader
  5. .SH SYNOPSIS
  6. \fBminiflux\fR [-vic] [-create-admin] [-debug] [-flush-sessions] [-info] [-migrate]
  7. [-reset-feed-errors] [-reset-password] [-version] [-config-file] [-config-dump]
  8. .SH DESCRIPTION
  9. \fBminiflux\fR is a minimalist and opinionated feed reader.
  10. .SH OPTIONS
  11. .PP
  12. .B \-c
  13. .RS 4
  14. Load configuration file\&.
  15. .RE
  16. .PP
  17. .B \-config-file
  18. .RS 4
  19. Load configuration file\&.
  20. .RE
  21. .PP
  22. .B \-config-dump
  23. .RS 4
  24. Print parsed configuration values\&.
  25. .RE
  26. .PP
  27. .B \-create-admin
  28. .RS 4
  29. Create admin user\&.
  30. .RE
  31. .PP
  32. .B \-debug
  33. .RS 4
  34. Show debug logs\&.
  35. .RE
  36. .PP
  37. .B \-flush-sessions
  38. .RS 4
  39. Flush all sessions (disconnect users)\&.
  40. .RE
  41. .PP
  42. .B \-i
  43. .RS 4
  44. Show application information\&.
  45. .RE
  46. .PP
  47. .B \-info
  48. .RS 4
  49. Show application information\&.
  50. .RE
  51. .PP
  52. .B \-migrate
  53. .RS 4
  54. Run SQL migrations\&.
  55. .RE
  56. .PP
  57. .B \-reset-feed-errors
  58. .RS 4
  59. Clear all feed errors for all users\&.
  60. .RE
  61. .PP
  62. .B \-reset-password
  63. .RS 4
  64. Reset user password\&.
  65. .RE
  66. .PP
  67. .B \-v
  68. .RS 4
  69. Show application version\&.
  70. .RE
  71. .PP
  72. .B \-version
  73. .RS 4
  74. Show application version\&.
  75. .RE
  76. .SH CONFIGURATION FILE
  77. The configuration file is a text file that follow these rules:
  78. .LP
  79. - Miniflux expects each line to be in KEY=VALUE format.
  80. .br
  81. - Lines beginning with # are processed as comments and ignored.
  82. .br
  83. - Blank lines are ignored.
  84. .br
  85. - There is no variable interpolation.
  86. .PP
  87. Keys are the same as the environment variables described below.
  88. .br
  89. Environment variables override the values defined in the config file.
  90. .SH ENVIRONMENT
  91. .TP
  92. .B DEBUG
  93. Set the value to 1 to enable debug logs\&.
  94. .TP
  95. .B LOG_DATE_TIME
  96. Display the date and time in log messages\&.
  97. .TP
  98. .B WORKER_POOL_SIZE
  99. Number of background workers (default is 5)\&.
  100. .TP
  101. .B POLLING_FREQUENCY
  102. Refresh interval in minutes for feeds (default is 60 minutes)\&.
  103. .TP
  104. .B BATCH_SIZE
  105. Number of feeds to send to the queue for each interval (default is 10)\&.
  106. .TP
  107. .B POLLING_SCHEDULER
  108. Scheduler used for polling feeds. Possible values are "round_robin" (default) or "entry_frequency"\&.
  109. .TP
  110. .B SCHEDULER_ENTRY_FREQUENCY_MAX_INTERVAL
  111. Maximum interval in minutes for the entry frequency scheduler (default is 24 hours)\&.
  112. .TP
  113. .B SCHEDULER_ENTRY_FREQUENCY_MIN_INTERVAL
  114. Minimum interval in minutes for the entry frequency scheduler (default is 5 minutes)\&.
  115. .TP
  116. .B DATABASE_URL
  117. Postgresql connection parameters\&.
  118. .br
  119. Default is "user=postgres password=postgres dbname=miniflux2 sslmode=disable"\&.
  120. .TP
  121. .B DATABASE_MAX_CONNS
  122. Maximum number of database connections (default is 20)\&.
  123. .TP
  124. .B DATABASE_MIN_CONNS
  125. Minimum number of database connections (default is 1)\&.
  126. .TP
  127. .B LISTEN_ADDR
  128. Address to listen on. Default is 127.0.0.1:8080\&.
  129. .br
  130. Use absolute path to listen on Unix socket (/var/run/miniflux.sock)\&.
  131. .TP
  132. .B PORT
  133. Override LISTEN_ADDR to 0.0.0.0:$PORT\&.
  134. .TP
  135. .B BASE_URL
  136. Base URL to generate HTML links and base path for cookies\&.
  137. .br
  138. Default is http://localhost/\&.
  139. .TP
  140. .B CLEANUP_FREQUENCY_HOURS
  141. Cleanup job frequency, remove old sessions and archive read entries\&.
  142. .br
  143. Default is 24 hours\&.
  144. .TP
  145. .B CLEANUP_ARCHIVE_READ_DAYS
  146. Number of days after marking read items as removed\&.
  147. .br
  148. Default is 60 days\&.
  149. .TP
  150. .B CLEANUP_REMOVE_SESSIONS_DAYS
  151. Number of days after removing old sessions from the database\&.
  152. .br
  153. Default is 30 days\&.
  154. .TP
  155. .B HTTPS
  156. Forces cookies to use secure flag and send HSTS header\&.
  157. .TP
  158. .B DISABLE_HSTS
  159. Disable HTTP Strict Transport Security header if \fBHTTPS\fR is set\&.
  160. .TP
  161. .B DISABLE_HTTP_SERVICE
  162. Set the value to 1 to disable the HTTP service\&.
  163. .TP
  164. .B DISABLE_SCHEDULER_SERVICE
  165. Set the value to 1 to disable the internal scheduler service\&.
  166. .TP
  167. .B CERT_FILE
  168. Path to SSL certificate\&.
  169. .TP
  170. .B KEY_FILE
  171. Path to SSL private key\&.
  172. .TP
  173. .B CERT_DOMAIN
  174. Use Let's Encrypt to get automatically a certificate for this domain\&.
  175. .TP
  176. .B CERT_CACHE
  177. Let's Encrypt cache directory (default is /tmp/cert_cache)\&.
  178. .TP
  179. .B OAUTH2_PROVIDER
  180. OAuth2 provider to use\&. Only google is supported\&.
  181. .TP
  182. .B OAUTH2_CLIENT_ID
  183. OAuth2 client ID\&.
  184. .TP
  185. .B OAUTH2_CLIENT_SECRET
  186. OAuth2 client secret\&.
  187. .TP
  188. .B OAUTH2_REDIRECT_URL
  189. OAuth2 redirect URL\&.
  190. .TP
  191. .B OAUTH2_OIDC_DISCOVERY_ENDPOINT
  192. OpenID Connect discovery endpoint\&.
  193. .TP
  194. .B OAUTH2_USER_CREATION
  195. Set to 1 to authorize OAuth2 user creation\&.
  196. .TP
  197. .B RUN_MIGRATIONS
  198. Set to 1 to run database migrations\&.
  199. .TP
  200. .B CREATE_ADMIN
  201. Set to 1 to create an admin user from environment variables\&.
  202. .TP
  203. .B ADMIN_USERNAME
  204. Admin user login, used only if \fBCREATE_ADMIN\fR is enabled\&.
  205. .TP
  206. .B ADMIN_PASSWORD
  207. Admin user password, used only if \fBCREATE_ADMIN\fR is enabled\&.
  208. .TP
  209. .B POCKET_CONSUMER_KEY
  210. Pocket consumer API key for all users\&.
  211. .TP
  212. .B PROXY_IMAGES
  213. Avoids mixed content warnings for external images: http-only, all, or none\&.
  214. .br
  215. Default is http-only\&.
  216. .TP
  217. .B HTTP_CLIENT_TIMEOUT
  218. Time limit in seconds before the HTTP client cancel the request\&.
  219. .br
  220. Default is 20 seconds\&.
  221. .TP
  222. .B HTTP_CLIENT_MAX_BODY_SIZE
  223. Maximum body size for HTTP requests in Mebibyte (MiB)\&.
  224. .br
  225. Default is 15 MiB\&.
  226. .TP
  227. .B AUTH_PROXY_HEADER
  228. Proxy authentication HTTP header\&.
  229. .TP
  230. .B AUTH_PROXY_USER_CREATION
  231. Set to 1 to create users based on proxy authentication information\&.
  232. .SH AUTHORS
  233. .P
  234. Miniflux is written and maintained by Fr\['e]d\['e]ric Guillot\&.
  235. .SH "COPYRIGHT"
  236. .P
  237. Miniflux is released under the Apache 2.0 license\&.