integrations.html 40 KB

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