add NewsBlur (#1171)

This commit is contained in:
acendrou 2026-02-09 10:03:27 +01:00 committed by GitHub
parent 3f7b186920
commit c93d74d468
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 0 deletions

BIN
src/assets/newsblur.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -36,6 +36,8 @@ export const defaultConfig = {
bazqux: false,
local: false,
follow: true,
newsblur: false,
newsblurDomain: "https://www.newsblur.com",
},
refreshTimeout: 2 * 60 * 60,
}

View File

@ -4,6 +4,7 @@ import MinifluxLogo from "data-base64:~/assets/miniflux.ico"
import FreshRSSLogo from "data-base64:~/assets/freshrss.svg"
import TinyTinyRSSLogo from "data-base64:~/assets/ttrss.png"
import FeedlyLogo from "data-base64:~/assets/feedly.png"
import NewsBlurLogo from "data-base64:~/assets/newsblur.png"
export const logoMap = new Map<string, string>([
["follow", FollowLogo],
@ -12,4 +13,5 @@ export const logoMap = new Map<string, string>([
["freshrss", FreshRSSLogo],
["ttrss", TinyTinyRSSLogo],
["feedly", FeedlyLogo],
["newsblur", NewsBlurLogo],
])

View File

@ -139,4 +139,12 @@ export const quickSubscriptions: ({
themeColor: "#f28f34",
getSubscribePath: (data) => data.url.replace(/^https?:\/\//, ""),
},
{
name: "NewsBlur",
projectUrl: "https://newsblur.com/",
key: "newsblur",
subscribeDomainKey: "newsblurDomain" ,
themeColor: "#eebd10",
getSubscribePath: (data) => `/?url=${data.encodedUrl}`,
},
]