feat(glance): add rss feeds

This commit is contained in:
Mohammad Rafiq 2025-04-06 23:13:08 +08:00
parent 85d062d0da
commit c45876bb7d
No known key found for this signature in database

View file

@ -1,27 +1,7 @@
let let
glancePort = 8080; glancePort = 8080;
newsFeedColumn = { homeColumn = {
size = "full"; size = "full";
widgets = [
{
title = "Feed";
type = "rss";
style = "detailed-list";
feeds = [
{
title = "Bloomberg";
url = "https://feeds.bloomberg.com/markets/news.rss";
}
{
title = "Fox Business";
url = "https://moxie.foxbusiness.com/google-publisher/markets.xml";
}
];
}
];
};
serviceMonitoringColumn = {
size = "small";
widgets = [ widgets = [
{ {
title = "Services"; title = "Services";
@ -41,6 +21,17 @@ let
} }
]; ];
} }
{
title = "Feed";
type = "rss";
style = "detailed-list";
feeds = [
{
title = "selfh.st";
url = "https://selfh.st/rss/";
}
];
}
]; ];
}; };
in in
@ -55,8 +46,7 @@ in
{ {
name = "Home"; name = "Home";
columns = [ columns = [
serviceMonitoringColumn homeColumn
newsFeedColumn
]; ];
} }
]; ];