parent
e9d9ac4d9a
commit
a9f758cd9b
8 changed files with 45 additions and 48 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::collections::{HashMap, VecDeque};
|
||||
|
||||
use based::{get_pg, request::api::ToAPI, result::LogNoneAndPass, ui::components::Shell};
|
||||
use based::{get_pg, request::api::ToAPI, result::LogNoneAndPass, ui::components::prelude::Shell};
|
||||
use ollama_rs::generation::embeddings::request::{EmbeddingsInput, GenerateEmbeddingsRequest};
|
||||
use serde::Serialize;
|
||||
use serde_json::json;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use std::{io::Read, path::PathBuf};
|
||||
|
||||
use based::{request::RequestContext, ui::components::Shell};
|
||||
use based::{request::RequestContext, ui::components::prelude::Shell};
|
||||
use maud::html;
|
||||
|
||||
use crate::{blacklist::check_blacklist, conf::get_config, render_page};
|
||||
|
|
|
@ -223,6 +223,8 @@ impl WebsiteArchive {
|
|||
cmd.push(&url);
|
||||
|
||||
run_command(&cmd);
|
||||
|
||||
index_path(&self.get_domain(domain), path).await;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
use based::request::{RequestContext, StringResponse};
|
||||
use based::ui::components::Shell;
|
||||
use based::{
|
||||
request::{RequestContext, StringResponse},
|
||||
ui::components::prelude::Shell,
|
||||
};
|
||||
use maud::PreEscaped;
|
||||
|
||||
pub mod ai;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use based::asset::AssetRoutes;
|
||||
use based::get_pg;
|
||||
use based::ui::components::{NavBar, Shell};
|
||||
use based::ui::components::prelude::*;
|
||||
use based::ui::prelude::*;
|
||||
use rocket::routes;
|
||||
use webarc::ai::EmbedStore;
|
||||
|
|
|
@ -1,26 +1,20 @@
|
|||
use std::{collections::HashMap, io::Read, path::PathBuf, sync::Arc};
|
||||
|
||||
use based::ui::components::prelude::*;
|
||||
use based::ui::prelude::*;
|
||||
use based::{
|
||||
page,
|
||||
request::{
|
||||
api::GeneratedPager, assets::DataResponse, respond_html, respond_json, RequestContext,
|
||||
StringResponse,
|
||||
},
|
||||
ui::{
|
||||
components::{
|
||||
prelude::{InfinityScroll, Timeline, TimelineElement, Tooltip},
|
||||
ColoredSpinner, Search, Shell,
|
||||
},
|
||||
primitives::flex::Column,
|
||||
UIWidget,
|
||||
},
|
||||
ui::primitives::flex::Column,
|
||||
};
|
||||
use chrono::NaiveDate;
|
||||
use maud::{html, PreEscaped};
|
||||
use rocket::{get, request::FromSegments, State};
|
||||
|
||||
pub mod component;
|
||||
use based::ui::prelude::*;
|
||||
use component::*;
|
||||
use serde_json::json;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue