2024-09-03 22:53:57 -04:00
|
|
|
mod net;
|
2025-01-10 07:32:12 -05:00
|
|
|
use db::initialize;
|
|
|
|
use iced::{application, widget::{self, button, column, markdown, row, text}, Settings, Theme};
|
2024-09-03 22:53:57 -04:00
|
|
|
use net::load_rss;
|
|
|
|
use rss::Channel;
|
|
|
|
mod ui;
|
|
|
|
mod html;
|
2025-01-10 07:32:12 -05:00
|
|
|
mod db;
|
2025-05-29 12:07:36 -04:00
|
|
|
mod files;
|
2024-09-03 22:53:57 -04:00
|
|
|
|
2025-01-10 07:32:12 -05:00
|
|
|
|
|
|
|
|
2025-05-29 12:07:36 -04:00
|
|
|
//build CLI first, then create GUI
|
2025-01-10 07:32:12 -05:00
|
|
|
|
2025-05-29 12:07:36 -04:00
|
|
|
/*
|
|
|
|
TO DO:
|
|
|
|
1) Create basic CLI interactions
|
|
|
|
2) Create comprehensive Schema
|
|
|
|
3) Add/remove subscriptions
|
|
|
|
4)
|
2025-01-10 07:32:12 -05:00
|
|
|
|
2025-05-29 12:07:36 -04:00
|
|
|
*/
|
2024-09-03 22:53:57 -04:00
|
|
|
|
2025-05-29 12:07:36 -04:00
|
|
|
pub fn main() {
|
|
|
|
db::initialize();
|
|
|
|
db::add_feed("https://gabe.rocks/rss");
|
2024-09-03 22:53:57 -04:00
|
|
|
|
2025-05-29 12:07:36 -04:00
|
|
|
}
|
2024-09-03 22:53:57 -04:00
|
|
|
|
|
|
|
|