integrations.html 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. {{ define "title"}}{{ t "page.integrations.title" }}{{ end }}
  2. {{ define "page_header"}}
  3. <section class="page-header" aria-labelledby="page-header-title">
  4. <h1 id="page-header-title">{{ t "page.integrations.title" }}</h1>
  5. {{ template "settings_menu" dict "user" .user }}
  6. </section>
  7. {{ end }}
  8. {{ define "content"}}
  9. <form method="post" autocomplete="off" action="{{ route "updateIntegration" }}" class="integration-form">
  10. <input type="hidden" name="csrf" value="{{ .csrf }}">
  11. {{ if .errorMessage }}
  12. <div role="alert" class="alert alert-error">{{ .errorMessage }}</div>
  13. {{ end }}
  14. <details {{ if .form.AppriseEnabled }}open{{ end }}>
  15. <summary>Apprise</summary>
  16. <div class="form-section">
  17. <label>
  18. <input type="checkbox" name="apprise_enabled" value="1" {{ if .form.AppriseEnabled }}checked{{ end }}> {{ t "form.integration.apprise_activate" }}
  19. </label>
  20. <label for="form-apprise-url">{{ t "form.integration.apprise_url" }}</label>
  21. <input type="url" name="apprise_url" id="form-apprise-url" value="{{ .form.AppriseURL }}" placeholder="http://apprise:8080" spellcheck="false">
  22. <label for="form-apprise-services-urls">{{ t "form.integration.apprise_services_url" }}
  23. <a href="https://github.com/caronc/apprise/wiki" {{ if $.user.OpenExternalLinksInNewTab }}target="_blank"{{ end }}>
  24. {{ icon "external-link" }}
  25. </a>
  26. </label>
  27. <input type="text" name="apprise_services_url" id="form-apprise-services-urls" value="{{ .form.AppriseServicesURL }}" placeholder="tgram://<token>/<chat_id>/,matrix://" spellcheck="false">
  28. <div class="buttons">
  29. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  30. </div>
  31. </div>
  32. </details>
  33. <details {{ if .form.BetulaEnabled }}open{{ end }}>
  34. <summary>Betula</summary>
  35. <div class="form-section">
  36. <label>
  37. <input type="checkbox" name="betula_enabled" value="1" {{ if .form.BetulaEnabled }}checked{{ end }}> {{ t "form.integration.betula_activate" }}
  38. </label>
  39. <label for="form-betula-url">{{ t "form.integration.betula_url" }}</label>
  40. <input type="url" name="betula_url" id="form-betula-url" value="{{ .form.BetulaURL }}" placeholder="http://links.bouncepaw.com" spellcheck="false">
  41. <label for="form-betula-token">{{ t "form.integration.betula_token" }}</label>
  42. <input type="text" name="betula_token" id="form-betula-token" value="{{ .form.BetulaToken }}" spellcheck="false">
  43. <div class="buttons">
  44. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  45. </div>
  46. </div>
  47. </details>
  48. <details {{ if .form.CuboxEnabled }}open{{ end }}>
  49. <summary>Cubox</summary>
  50. <div class="form-section">
  51. <label>
  52. <input type="checkbox" name="cubox_enabled" value="1" {{ if .form.CuboxEnabled }}checked{{ end }}> {{ t "form.integration.cubox_activate" }}
  53. </label>
  54. <label for="form-cubox-api-link">{{ t "form.integration.cubox_api_link" }}</label>
  55. <input type="url" name="cubox_api_link" id="form-cubox-api-link" value="{{ .form.CuboxAPILink }}" placeholder="https://cubox.pro/c/api/save/xxx" spellcheck="false">
  56. <div class="buttons">
  57. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  58. </div>
  59. </div>
  60. </details>
  61. <details {{ if .form.DiscordEnabled }}open{{ end }}>
  62. <summary>Discord</summary>
  63. <div class="form-section">
  64. <label>
  65. <input type="checkbox" name="discord_enabled" value="1" {{ if .form.DiscordEnabled }}checked{{ end }}> {{ t "form.integration.discord_activate" }}
  66. </label>
  67. <label for="form-discord-webhook-link">{{ t "form.integration.discord_webhook_link" }}</label>
  68. <input type="url" name="discord_webhook_link" id="form-discord-webhook-link" value="{{ .form.DiscordWebhookLink }}" placeholder="https://discord.com/api/webhooks/xxx/xxx" spellcheck="false">
  69. <div class="buttons">
  70. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  71. </div>
  72. </div>
  73. </details>
  74. <details {{ if .form.EspialEnabled }}open{{ end }}>
  75. <summary>Espial</summary>
  76. <div class="form-section">
  77. <label>
  78. <input type="checkbox" name="espial_enabled" value="1" {{ if .form.EspialEnabled }}checked{{ end }}> {{ t "form.integration.espial_activate" }}
  79. </label>
  80. <label for="form-espial-url">{{ t "form.integration.espial_endpoint" }}</label>
  81. <input type="url" name="espial_url" id="form-espial-url" value="{{ .form.EspialURL }}" placeholder="https://esp.ae8.org" spellcheck="false">
  82. <label for="form-espial-api-key">{{ t "form.integration.espial_api_key" }}</label>
  83. <input type="text" name="espial_api_key" id="form-espial-api-key" value="{{ .form.EspialAPIKey }}" spellcheck="false">
  84. <label for="form-espial-tags">{{ t "form.integration.espial_tags" }}</label>
  85. <input type="text" name="espial_tags" id="form-espial-tags" value="{{ .form.EspialTags }}" spellcheck="false">
  86. <div class="buttons">
  87. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  88. </div>
  89. </div>
  90. </details>
  91. <details {{ if .form.FeverEnabled }}open{{ end }}>
  92. <summary>Fever</summary>
  93. <div class="form-section">
  94. <label>
  95. <input type="checkbox" name="fever_enabled" value="1" {{ if .form.FeverEnabled }}checked{{ end }}> {{ t "form.integration.fever_activate" }}
  96. </label>
  97. <label for="form-fever-username">{{ t "form.integration.fever_username" }}</label>
  98. <input type="text" name="fever_username" id="form-fever-username" value="{{ .form.FeverUsername }}" autocomplete="username" spellcheck="false">
  99. <label for="form-fever-password">{{ t "form.integration.fever_password" }}</label>
  100. <input type="password" name="fever_password" id="form-fever-password" value="{{ .form.FeverPassword }}" autocomplete="new-password">
  101. <p>{{ t "form.integration.fever_endpoint" }} <strong>{{ rootURL }}{{ route "feverEndpoint" }}</strong></p>
  102. <div class="buttons">
  103. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  104. </div>
  105. </div>
  106. </details>
  107. <details {{ if .form.GoogleReaderEnabled }}open{{ end }}>
  108. <summary>Google Reader</summary>
  109. <div class="form-section">
  110. <label>
  111. <input type="checkbox" name="googlereader_enabled" value="1" {{ if .form.GoogleReaderEnabled }}checked{{ end }}> {{ t "form.integration.googlereader_activate" }}
  112. </label>
  113. <label for="form-googlereader-username">{{ t "form.integration.googlereader_username" }}</label>
  114. <input type="text" name="googlereader_username" id="form-googlereader-username" value="{{ .form.GoogleReaderUsername }}" autocomplete="username" spellcheck="false">
  115. <label for="form-googlereader-password">{{ t "form.integration.googlereader_password" }}</label>
  116. <input type="password" name="googlereader_password" id="form-googlereader-password" value="{{ .form.GoogleReaderPassword }}" autocomplete="new-password">
  117. <p>{{ t "form.integration.googlereader_endpoint" }} <strong>{{ rootURL }}{{ route "login" }}</strong></p>
  118. <div class="buttons">
  119. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  120. </div>
  121. </div>
  122. </details>
  123. <details {{ if .form.InstapaperEnabled }}open{{ end }}>
  124. <summary>Instapaper</summary>
  125. <div class="form-section">
  126. <label>
  127. <input type="checkbox" name="instapaper_enabled" value="1" {{ if .form.InstapaperEnabled }}checked{{ end }}> {{ t "form.integration.instapaper_activate" }}
  128. </label>
  129. <label for="form-instapaper-username">{{ t "form.integration.instapaper_username" }}</label>
  130. <input type="text" name="instapaper_username" id="form-instapaper-username" value="{{ .form.InstapaperUsername }}" spellcheck="false">
  131. <label for="form-instapaper-password">{{ t "form.integration.instapaper_password" }}</label>
  132. <input type="password" name="instapaper_password" id="form-instapaper-password" value="{{ .form.InstapaperPassword }}" autocomplete="new-password">
  133. <div class="buttons">
  134. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  135. </div>
  136. </div>
  137. </details>
  138. <details {{ if .form.LinkAceEnabled }}open{{ end }}>
  139. <summary>LinkAce</summary>
  140. <div class="form-section">
  141. <label>
  142. <input type="checkbox" name="linkace_enabled" value="1" {{ if .form.LinkAceEnabled }}checked{{ end }}> {{ t "form.integration.linkace_activate" }}
  143. </label>
  144. <label for="form-linkace-url">{{ t "form.integration.linkace_endpoint" }}</label>
  145. <input type="url" name="linkace_url" id="form-linkace-url" value="{{ .form.LinkAceURL }}" placeholder="http://linkace-url:port" spellcheck="false">
  146. <label for="form-linkace-api-key">{{ t "form.integration.linkace_api_key" }}</label>
  147. <input type="text" name="linkace_api_key" id="form-linkace-api-key" value="{{ .form.LinkAceAPIKey }}" spellcheck="false">
  148. <label for="form-linkace-tags">{{ t "form.integration.linkace_tags" }}</label>
  149. <input type="text" name="linkace_tags" id="form-linkace-tags" value="{{ .form.LinkAceTags }}" spellcheck="false">
  150. <label>
  151. <input type="checkbox" name="linkace_is_private" value="1" {{ if .form.LinkAcePrivate }}checked{{ end }}> {{ t "form.integration.linkace_is_private" }}
  152. </label>
  153. <label>
  154. <input type="checkbox" name="linkace_check_disabled" value="1" {{ if .form.LinkAceCheckDisabled }}checked{{ end }}> {{ t "form.integration.linkace_check_disabled" }}
  155. </label>
  156. <div class="buttons">
  157. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  158. </div>
  159. </div>
  160. </details>
  161. <details {{ if .form.LinkdingEnabled }}open{{ end }}>
  162. <summary>Linkding</summary>
  163. <div class="form-section">
  164. <label>
  165. <input type="checkbox" name="linkding_enabled" value="1" {{ if .form.LinkdingEnabled }}checked{{ end }}> {{ t "form.integration.linkding_activate" }}
  166. </label>
  167. <label for="form-linkding-url">{{ t "form.integration.linkding_endpoint" }}</label>
  168. <input type="url" name="linkding_url" id="form-linkding-url" value="{{ .form.LinkdingURL }}" placeholder="https://linkding.com" spellcheck="false">
  169. <label for="form-linkding-api-key">{{ t "form.integration.linkding_api_key" }}</label>
  170. <input type="text" name="linkding_api_key" id="form-linkding-api-key" value="{{ .form.LinkdingAPIKey }}" spellcheck="false">
  171. <label for="form-linkding-tags">{{ t "form.integration.linkding_tags" }}</label>
  172. <input type="text" name="linkding_tags" id="form-linkding-tags" value="{{ .form.LinkdingTags }}" spellcheck="false">
  173. <label>
  174. <input type="checkbox" name="linkding_mark_as_unread" value="1" {{ if .form.LinkdingMarkAsUnread }}checked{{ end }}> {{ t "form.integration.linkding_bookmark" }}
  175. </label>
  176. <div class="buttons">
  177. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  178. </div>
  179. </div>
  180. </details>
  181. <details {{ if .form.LinktacoEnabled }}open{{ end }}>
  182. <summary>LinkTaco</summary>
  183. <div class="form-section">
  184. <label>
  185. <input type="checkbox" name="linktaco_enabled" value="1" {{ if .form.LinktacoEnabled }}checked{{ end }}> {{ t "form.integration.linktaco_activate" }}
  186. </label>
  187. <label for="form-linktaco-api-token">{{ t "form.integration.linktaco_api_token" }}</label>
  188. <input type="password" name="linktaco_api_token" id="form-linktaco-api-token" value="{{ .form.LinktacoAPIToken }}" spellcheck="false">
  189. <p class="hint">{{ t "form.integration.linktaco_api_token_hint" }} <a href="https://linktaco.com/oauth2/personal" target="_blank" rel="noopener noreferrer">https://linktaco.com/oauth2/personal</a></p>
  190. <label for="form-linktaco-org-slug">{{ t "form.integration.linktaco_org_slug" }}</label>
  191. <input type="text" name="linktaco_org_slug" id="form-linktaco-org-slug" value="{{ .form.LinktacoOrgSlug }}" placeholder="my-organization" spellcheck="false">
  192. <label for="form-linktaco-tags">{{ t "form.integration.linktaco_tags" }}</label>
  193. <input type="text" name="linktaco_tags" id="form-linktaco-tags" value="{{ .form.LinktacoTags }}" placeholder="miniflux, bookmarks" spellcheck="false">
  194. <p class="hint">{{ t "form.integration.linktaco_tags_hint" }}</p>
  195. <label for="form-linktaco-visibility">{{ t "form.integration.linktaco_visibility" }}</label>
  196. <select name="linktaco_visibility" id="form-linktaco-visibility">
  197. <option value="PUBLIC" {{ if eq .form.LinktacoVisibility "PUBLIC" }}selected{{ end }}>{{ t "form.integration.linktaco_visibility_public" }}</option>
  198. <option value="PRIVATE" {{ if eq .form.LinktacoVisibility "PRIVATE" }}selected{{ end }}>{{ t "form.integration.linktaco_visibility_private" }}</option>
  199. </select>
  200. <p class="hint">{{ t "form.integration.linktaco_visibility_hint" }}</p>
  201. <div class="buttons">
  202. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  203. </div>
  204. </div>
  205. </details>
  206. <details {{ if .form.LinkwardenEnabled }}open{{ end }}>
  207. <summary>Linkwarden</summary>
  208. <div class="form-section">
  209. <label>
  210. <input type="checkbox" name="linkwarden_enabled" value="1" {{ if .form.LinkwardenEnabled }}checked{{ end }}> {{ t "form.integration.linkwarden_activate" }}
  211. </label>
  212. <label for="form-linkwarden-url">{{ t "form.integration.linkwarden_endpoint" }}</label>
  213. <input type="url" name="linkwarden_url" id="form-linkwarden-url" value="{{ .form.LinkwardenURL }}" placeholder="https://linkwarden.app" spellcheck="false">
  214. <label for="form-linkwarden-api-key">{{ t "form.integration.linkwarden_api_key" }}</label>
  215. <input type="text" name="linkwarden_api_key" id="form-linkwarden-api-key" value="{{ .form.LinkwardenAPIKey }}" spellcheck="false">
  216. <div class="buttons">
  217. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  218. </div>
  219. </div>
  220. </details>
  221. <details {{ if .form.MatrixBotEnabled }}open{{ end }}>
  222. <summary>Matrix Bot</summary>
  223. <div class="form-section">
  224. <label>
  225. <input type="checkbox" name="matrix_bot_enabled" value="1" {{ if .form.MatrixBotEnabled }}checked{{ end }}> {{ t "form.integration.matrix_bot_activate" }}
  226. </label>
  227. <label for="form-matrix-bot-user">{{ t "form.integration.matrix_bot_user" }}</label>
  228. <input type="text" name="matrix_bot_user" id="form-matrix-bot-user" value="{{ .form.MatrixBotUser }}" spellcheck="false">
  229. <label for="form-matrix-password">{{ t "form.integration.matrix_bot_password" }}</label>
  230. <input type="password" name="matrix_bot_password" id="form-matrix-password" value="{{ .form.MatrixBotPassword }}" spellcheck="false">
  231. <label for="form-matrix-url">{{ t "form.integration.matrix_bot_url" }}</label>
  232. <input type="url" name="matrix_bot_url" id="form-matrix-url" value="{{ .form.MatrixBotURL }}" spellcheck="false">
  233. <label for="form-matrix-chat-id">{{ t "form.integration.matrix_bot_chat_id" }}</label>
  234. <input type="text" name="matrix_bot_chat_id" id="form-matrix-chat-id" value="{{ .form.MatrixBotChatID }}" spellcheck="false">
  235. <div class="buttons">
  236. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  237. </div>
  238. </div>
  239. </details>
  240. <details {{ if .form.NotionEnabled }}open{{ end }}>
  241. <summary>Notion</summary>
  242. <div class="form-section">
  243. <label>
  244. <input type="checkbox" name="notion_enabled" value="1" {{ if .form.NotionEnabled }}checked{{ end }}> {{ t "form.integration.notion_activate" }}
  245. </label>
  246. <label for="form-notion-token">{{ t "form.integration.notion_token" }}</label>
  247. <input type="password" name="notion_token" id="form-notion-token" value="{{ .form.NotionToken }}" spellcheck="false">
  248. <label for="form-notion-page-id">{{ t "form.integration.notion_page_id" }}</label>
  249. <input type="text" name="notion_page_id" id="form-notion-page-id" value="{{ .form.NotionPageID }}" spellcheck="false">
  250. <div class="buttons">
  251. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  252. </div>
  253. </div>
  254. </details>
  255. <details {{ if .form.NtfyEnabled }}open{{ end }}>
  256. <summary>Ntfy</summary>
  257. <div class="form-section">
  258. <label>
  259. <input type="checkbox" name="ntfy_enabled" value="1" {{ if .form.NtfyEnabled }}checked{{ end }}> {{ t "form.integration.ntfy_activate" }}
  260. </label>
  261. <label for="form-ntfy-topic">{{ t "form.integration.ntfy_topic" }}</label>
  262. <input type="text" name="ntfy_topic" id="form-ntfy-topic" value="{{ .form.NtfyTopic }}" spellcheck="false">
  263. <label for="form-ntfy-url">{{ t "form.integration.ntfy_url" }}</label>
  264. <input type="url" name="ntfy_url" id="form-ntfy-url" value="{{ .form.NtfyURL }}" placeholder="https://ntfy.sh" spellcheck="false">
  265. <label for="form-ntfy-api-token">{{ t "form.integration.ntfy_api_token" }}</label>
  266. <input type="text" name="ntfy_api_token" id="form-ntfy-api-token" value="{{ .form.NtfyAPIToken }}" spellcheck="false">
  267. <label for="form-ntfy-username">{{ t "form.integration.ntfy_username" }}</label>
  268. <input type="text" name="ntfy_username" id="form-ntfy-username" value="{{ .form.NtfyUsername }}" spellcheck="false">
  269. <label for="form-ntfy-password">{{ t "form.integration.ntfy_password" }}</label>
  270. <input type="text" name="ntfy_password" id="form-ntfy-password" value="{{ .form.NtfyPassword }}" spellcheck="false">
  271. <label for="form-ntfy-icon-url">{{ t "form.integration.ntfy_icon_url" }}</label>
  272. <input type="url" name="ntfy_icon_url" id="form-ntfy-icon-url" value="{{ .form.NtfyIconURL }}" spellcheck="false">
  273. <label>
  274. <input type="checkbox" name="ntfy_internal_links" value="1" {{ if .form.NtfyInternalLinks }}checked{{ end }}> {{ t "form.integration.ntfy_internal_links" }}
  275. </label>
  276. <div class="buttons">
  277. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  278. </div>
  279. </div>
  280. </details>
  281. <details {{ if .form.NunuxKeeperEnabled }}open{{ end }}>
  282. <summary>Nunux Keeper</summary>
  283. <div class="form-section">
  284. <label>
  285. <input type="checkbox" name="nunux_keeper_enabled" value="1" {{ if .form.NunuxKeeperEnabled }}checked{{ end }}> {{ t "form.integration.nunux_keeper_activate" }}
  286. </label>
  287. <label for="form-nunux-keeper-url">{{ t "form.integration.nunux_keeper_endpoint" }}</label>
  288. <input type="url" name="nunux_keeper_url" id="form-nunux-keeper-url" value="{{ .form.NunuxKeeperURL }}" placeholder="https://api.nunux.org/keeper" spellcheck="false">
  289. <label for="form-nunux-keeper-api-key">{{ t "form.integration.nunux_keeper_api_key" }}</label>
  290. <input type="text" name="nunux_keeper_api_key" id="form-nunux-keeper-api-key" value="{{ .form.NunuxKeeperAPIKey }}" spellcheck="false">
  291. <div class="buttons">
  292. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  293. </div>
  294. </div>
  295. </details>
  296. <details {{ if .form.OmnivoreEnabled }}open{{ end }}>
  297. <summary>Omnivore</summary>
  298. <div class="form-section">
  299. <label>
  300. <input type="checkbox" name="omnivore_enabled" value="1" {{ if .form.OmnivoreEnabled }}checked{{ end }}> {{ t "form.integration.omnivore_activate" }}
  301. </label>
  302. <label for="form-omnivore-api-key">{{ t "form.integration.omnivore_api_key" }}</label>
  303. <input type="text" name="omnivore_api_key" id="form-omnivore-api-key" value="{{ .form.OmnivoreAPIKey }}" spellcheck="false">
  304. <label for="form-omnivore-url">{{ t "form.integration.omnivore_url" }}</label>
  305. <input type="url" name="omnivore_url" id="form-omnivore-url" value="{{ .form.OmnivoreURL }}" placeholder="https://api-prod.omnivore.app/api/graphql" spellcheck="false">
  306. <div class="buttons">
  307. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  308. </div>
  309. </div>
  310. </details>
  311. <details {{ if .form.KarakeepEnabled }}open{{ end }}>
  312. <summary>Karakeep</summary>
  313. <div class="form-section">
  314. <label>
  315. <input type="checkbox" name="karakeep_enabled" value="1" {{ if .form.KarakeepEnabled }}checked{{ end }}> {{ t "form.integration.karakeep_activate" }}
  316. </label>
  317. <label for="form-karakeep-api-key">{{ t "form.integration.karakeep_api_key" }}</label>
  318. <input type="text" name="karakeep_api_key" id="form-karakeep-api-key" value="{{ .form.KarakeepAPIKey }}" spellcheck="false">
  319. <label for="form-karakeep-url">{{ t "form.integration.karakeep_url" }}</label>
  320. <input type="url" name="karakeep_url" id="form-karakeep-url" value="{{ .form.KarakeepURL }}" placeholder="https://try.karakeep.app/api/v1/bookmarks" spellcheck="false">
  321. <div class="buttons">
  322. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  323. </div>
  324. </div>
  325. </details>
  326. <details {{ if .form.PinboardEnabled }}open{{ end }}>
  327. <summary>Pinboard</summary>
  328. <div class="form-section">
  329. <label>
  330. <input type="checkbox" name="pinboard_enabled" value="1" {{ if .form.PinboardEnabled }}checked{{ end }}> {{ t "form.integration.pinboard_activate" }}
  331. </label>
  332. <label for="form-pinboard-token">{{ t "form.integration.pinboard_token" }}</label>
  333. <input type="password" name="pinboard_token" id="form-pinboard-token" value="{{ .form.PinboardToken }}" autocomplete="new-password">
  334. <label for="form-pinboard-tags">{{ t "form.integration.pinboard_tags" }}</label>
  335. <input type="text" name="pinboard_tags" id="form-pinboard-tags" value="{{ .form.PinboardTags }}" spellcheck="false">
  336. <label>
  337. <input type="checkbox" name="pinboard_mark_as_unread" value="1" {{ if .form.PinboardMarkAsUnread }}checked{{ end }}> {{ t "form.integration.pinboard_bookmark" }}
  338. </label>
  339. <div class="buttons">
  340. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  341. </div>
  342. </div>
  343. </details>
  344. <details {{ if .form.PushoverEnabled }}open{{ end }}>
  345. <summary>Pushover</summary>
  346. <div class="form-section">
  347. <label>
  348. <input type="checkbox" name="pushover_enabled" value="1" {{ if .form.PushoverEnabled }}checked{{ end }}> {{ t "form.integration.pushover_activate" }}
  349. </label>
  350. <label for="form-pushover-token">{{ t "form.integration.pushover_token" }}</label>
  351. <input type="text" name="pushover_token" id="form-pushover-token" value="{{ .form.PushoverToken }}" spellcheck="false">
  352. <label for="form-pushover-user">{{ t "form.integration.pushover_user" }}</label>
  353. <input type="text" name="pushover_user" id="form-pushover-user" value="{{ .form.PushoverUser }}" spellcheck="false">
  354. <label for="form-pushover-device">{{ t "form.integration.pushover_device" }}</label>
  355. <input type="text" name="pushover_device" id="form-pushover-device" value="{{ .form.PushoverDevice }}" spellcheck="false">
  356. <label for="form-pushover-prefix">{{ t "form.integration.pushover_prefix" }}</label>
  357. <input type="text" name="pushover_prefix" id="form-pushover-prefix" value="{{ .form.PushoverPrefix }}" spellcheck="false" placeholder="https://api.pushover.net">
  358. <div class="buttons">
  359. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  360. </div>
  361. </div>
  362. </details>
  363. <details {{ if .form.RaindropEnabled }}open{{ end }}>
  364. <summary>Raindrop</summary>
  365. <div class="form-section">
  366. <label>
  367. <input type="checkbox" name="raindrop_enabled" value="1" {{ if .form.RaindropEnabled }}checked{{ end }}> {{ t "form.integration.raindrop_activate" }}
  368. </label>
  369. <label for="form-raindrop-token">{{ t "form.integration.raindrop_token" }}</label>
  370. <input type="text" name="raindrop_token" id="form-raindrop-token" value="{{ .form.RaindropToken }}" spellcheck="false">
  371. <label for="form-raindrop-collection-id">{{ t "form.integration.raindrop_collection_id" }}</label>
  372. <input type="text" name="raindrop_collection_id" id="form-raindrop-collection-id" value="{{ .form.RaindropCollectionID }}" spellcheck="false">
  373. <label for="form-raindrop-tags">{{ t "form.integration.raindrop_tags" }}</label>
  374. <input type="text" name="raindrop_tags" id="form-raindrop-tags" value="{{ .form.RaindropTags }}" spellcheck="false">
  375. <div class="buttons">
  376. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  377. </div>
  378. </div>
  379. </details>
  380. <details {{ if .form.ReadeckEnabled }}open{{ end }}>
  381. <summary>Readeck</summary>
  382. <div class="form-section">
  383. <label>
  384. <input type="checkbox" name="readeck_enabled" value="1" {{ if .form.ReadeckEnabled }}checked{{ end }}> {{ t "form.integration.readeck_activate" }}
  385. </label>
  386. <label>
  387. <input type="checkbox" name="readeck_only_url" value="1" {{ if .form.ReadeckOnlyURL }}checked{{ end }}> {{ t "form.integration.readeck_only_url" }}
  388. </label>
  389. <label for="form-readeck-url">{{ t "form.integration.readeck_endpoint" }}</label>
  390. <input type="url" name="readeck_url" id="form-readeck-url" value="{{ .form.ReadeckURL }}" placeholder="https://readeck.com" spellcheck="false">
  391. <label for="form-readeck-api-key">{{ t "form.integration.readeck_api_key" }}</label>
  392. <input type="text" name="readeck_api_key" id="form-readeck-api-key" value="{{ .form.ReadeckAPIKey }}" spellcheck="false">
  393. <label for="form-readeck-labels">{{ t "form.integration.readeck_labels" }}</label>
  394. <input type="text" name="readeck_labels" id="form-readeck-labels" value="{{ .form.ReadeckLabels }}" spellcheck="false">
  395. <div class="buttons">
  396. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  397. </div>
  398. </div>
  399. </details>
  400. <details {{ if .form.ReadwiseEnabled }}open{{ end }}>
  401. <summary>Readwise Reader</summary>
  402. <div class="form-section">
  403. <label>
  404. <input type="checkbox" name="readwise_enabled" value="1" {{ if .form.ReadwiseEnabled }}checked{{ end }}> {{ t "form.integration.readwise_activate" }}
  405. </label>
  406. <label for="form-readwise-api-key">{{ t "form.integration.readwise_api_key" }}</label>
  407. <input type="text" name="readwise_api_key" id="form-readwise-api-key" value="{{ .form.ReadwiseAPIKey }}" spellcheck="false">
  408. <p><a href="https://readwise.io/access_token" {{ if $.user.OpenExternalLinksInNewTab }}target="_blank"{{ end }}>{{ t "form.integration.readwise_api_key_link" }}</a></p>
  409. <div class="buttons">
  410. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  411. </div>
  412. </div>
  413. </details>
  414. <details {{ if .form.RSSBridgeEnabled }}open{{ end }}>
  415. <summary>RSS-Bridge</summary>
  416. <div class="form-section">
  417. <label>
  418. <input type="checkbox" name="rssbridge_enabled" value="1" {{ if .form.RSSBridgeEnabled }}checked{{ end }}> {{ t "form.integration.rssbridge_activate" }}
  419. </label>
  420. <label for="form-rssbridge-url">{{ t "form.integration.rssbridge_url" }}</label>
  421. <input type="url" name="rssbridge_url" id="form-rssbridge-url" value="{{ .form.RSSBridgeURL }}" spellcheck="false">
  422. <label for="form-rssbridge-token">{{ t "form.integration.rssbridge_token" }}</label>
  423. <input type="password" name="rssbridge_token" id="form-rssbridge-token" value="{{ .form.RSSBridgeToken }}" spellcheck="false">
  424. <div class="buttons">
  425. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  426. </div>
  427. </div>
  428. </details>
  429. <details {{ if .form.ShaarliEnabled }}open{{ end }}>
  430. <summary>Shaarli</summary>
  431. <div class="form-section">
  432. <label>
  433. <input type="checkbox" name="shaarli_enabled" value="1" {{ if .form.ShaarliEnabled }}checked{{ end }}> {{ t "form.integration.shaarli_activate" }}
  434. </label>
  435. <label for="form-shaarli-url">{{ t "form.integration.shaarli_endpoint" }}</label>
  436. <input type="url" name="shaarli_url" id="form-shaarli-url" value="{{ .form.ShaarliURL }}" placeholder="https://shaarli.example.org" spellcheck="false">
  437. <label for="form-shaarli-api-secret">{{ t "form.integration.shaarli_api_secret" }}</label>
  438. <input type="password" name="shaarli_api_secret" id="form-shaarli-api-secret" value="{{ .form.ShaarliAPISecret }}" autocomplete="new-password">
  439. <div class="buttons">
  440. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  441. </div>
  442. </div>
  443. </details>
  444. <details {{ if .form.ShioriEnabled }}open{{ end }}>
  445. <summary>Shiori</summary>
  446. <div class="form-section">
  447. <label>
  448. <input type="checkbox" name="shiori_enabled" value="1" {{ if .form.ShioriEnabled }}checked{{ end }}> {{ t "form.integration.shiori_activate" }}
  449. </label>
  450. <label for="form-shiori-url">{{ t "form.integration.shiori_endpoint" }}</label>
  451. <input type="url" name="shiori_url" id="form-shiori-url" value="{{ .form.ShioriURL }}" placeholder="https://shiori.example.org" spellcheck="false">
  452. <label for="form-shiori-username">{{ t "form.integration.shiori_username" }}</label>
  453. <input type="text" name="shiori_username" id="form-shiori-username" value="{{ .form.ShioriUsername }}" spellcheck="false">
  454. <label for="form-shiori-password">{{ t "form.integration.shiori_password" }}</label>
  455. <input type="password" name="shiori_password" id="form-shiori-password" value="{{ .form.ShioriPassword }}" autocomplete="new-password">
  456. <div class="buttons">
  457. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  458. </div>
  459. </div>
  460. </details>
  461. <details {{ if .form.SlackEnabled }}open{{ end }}>
  462. <summary>Slack</summary>
  463. <div class="form-section">
  464. <label>
  465. <input type="checkbox" name="slack_enabled" value="1" {{ if .form.SlackEnabled }}checked{{ end }}> {{ t "form.integration.slack_activate" }}
  466. </label>
  467. <label for="form-slack-webhook-link">{{ t "form.integration.slack_webhook_link" }}</label>
  468. <input type="url" name="slack_webhook_link" id="form-slack-webhook-link" value="{{ .form.SlackWebhookLink }}" placeholder="https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX" spellcheck="false">
  469. <div class="buttons">
  470. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  471. </div>
  472. </div>
  473. </details>
  474. <details {{ if .form.TelegramBotEnabled }}open{{ end }}>
  475. <summary>Telegram Bot</summary>
  476. <div class="form-section">
  477. <label>
  478. <input type="checkbox" name="telegram_bot_enabled" value="1" {{ if .form.TelegramBotEnabled }}checked{{ end }}> {{ t "form.integration.telegram_bot_activate" }}
  479. </label>
  480. <label for="form-telegram-bot-token">{{ t "form.integration.telegram_bot_token" }}</label>
  481. <input type="text" name="telegram_bot_token" id="form-telegram-bot-token" value="{{ .form.TelegramBotToken }}" placeholder="bot123456:Abcdefg" spellcheck="false">
  482. <label for="form-telegram-chat-id">{{ t "form.integration.telegram_chat_id" }}</label>
  483. <input type="text" name="telegram_bot_chat_id" id="form-telegram-chat-id" value="{{ .form.TelegramBotChatID }}" spellcheck="false">
  484. <label for="form-telegram-topic-id">{{ t "form.integration.telegram_topic_id" }}</label>
  485. <input type="number" name="telegram_bot_topic_id" id="form-telegram-topic-id" {{ if .form.TelegramBotTopicID }}value="{{ .form.TelegramBotTopicID }}"{{ end }}>
  486. <label>
  487. <input type="checkbox" name="telegram_bot_disable_web_page_preview" value="1" {{ if .form.TelegramBotDisableWebPagePreview }}checked{{ end }}> {{ t "form.integration.telegram_bot_disable_web_page_preview" }}
  488. </label>
  489. <label>
  490. <input type="checkbox" name="telegram_bot_disable_notification" value="1" {{ if .form.TelegramBotDisableNotification }}checked{{ end }}> {{ t "form.integration.telegram_bot_disable_notification" }}
  491. </label>
  492. <label>
  493. <input type="checkbox" name="telegram_bot_disable_buttons" value="1" {{ if .form.TelegramBotDisableButtons }}checked{{ end }}> {{ t "form.integration.telegram_bot_disable_buttons" }}
  494. </label>
  495. <div class="buttons">
  496. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  497. </div>
  498. </div>
  499. </details>
  500. <details {{ if .form.WallabagEnabled }}open{{ end }}>
  501. <summary>Wallabag</summary>
  502. <div class="form-section">
  503. <label>
  504. <input type="checkbox" name="wallabag_enabled" value="1" {{ if .form.WallabagEnabled }}checked{{ end }}> {{ t "form.integration.wallabag_activate" }}
  505. </label>
  506. <label>
  507. <input type="checkbox" name="wallabag_only_url" value="1" {{ if .form.WallabagOnlyURL }}checked{{ end }}> {{ t "form.integration.wallabag_only_url" }}
  508. </label>
  509. <label for="form-wallabag-url">{{ t "form.integration.wallabag_endpoint" }}</label>
  510. <input type="url" name="wallabag_url" id="form-wallabag-url" value="{{ .form.WallabagURL }}" spellcheck="false">
  511. <label for="form-wallabag-client-id">{{ t "form.integration.wallabag_client_id" }}</label>
  512. <input type="text" name="wallabag_client_id" id="form-wallabag-client-id" value="{{ .form.WallabagClientID }}" spellcheck="false">
  513. <label for="form-wallabag-client-secret">{{ t "form.integration.wallabag_client_secret" }}</label>
  514. <input type="password" name="wallabag_client_secret" id="form-wallabag-client-secret" value="{{ .form.WallabagClientSecret }}" autocomplete="new-password">
  515. <label for="form-wallabag-username">{{ t "form.integration.wallabag_username" }}</label>
  516. <input type="text" name="wallabag_username" id="form-wallabag-username" value="{{ .form.WallabagUsername }}" spellcheck="false">
  517. <label for="form-wallabag-password">{{ t "form.integration.wallabag_password" }}</label>
  518. <input type="password" name="wallabag_password" id="form-wallabag-password" value="{{ .form.WallabagPassword }}" autocomplete="new-password">
  519. <div class="buttons">
  520. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  521. </div>
  522. </div>
  523. </details>
  524. <details {{ if .form.WebhookEnabled }}open{{ end }}>
  525. <summary>Webhook</summary>
  526. <div class="form-section">
  527. <label>
  528. <input type="checkbox" name="webhook_enabled" value="1" {{ if .form.WebhookEnabled }}checked{{ end }}> {{ t "form.integration.webhook_activate" }}
  529. </label>
  530. <label for="form-webhook-url">{{ t "form.integration.webhook_url" }}</label>
  531. <input type="url" name="webhook_url" id="form-webhook-url" value="{{ .form.WebhookURL }}" placeholder="https://username:password@example.org" spellcheck="false">
  532. {{ if .form.WebhookSecret }}
  533. <label for="form-webhook-secret">{{ t "form.integration.webhook_secret" }}</label>
  534. <input type="text" name="webhook_secret" id="form-webhook-secret" value="{{ .form.WebhookSecret }}" spellcheck="false" readonly>
  535. {{ end }}
  536. <div class="buttons">
  537. <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
  538. </div>
  539. </div>
  540. </details>
  541. </form>
  542. <h3>{{ t "page.integration.bookmarklet" }}</h3>
  543. <div class="panel">
  544. <p>{{ t "page.integration.bookmarklet.help" }}</p>
  545. <div class="bookmarklet">
  546. <a href="javascript:location.href='{{ rootURL }}{{ route "bookmarklet" }}?uri='+encodeURIComponent(window.location.href)">{{ t "page.integration.bookmarklet.name" }}</a>
  547. </div>
  548. <p>{{ t "page.integration.bookmarklet.instructions" }}</p>
  549. </div>
  550. {{ end }}