From 3c7edb80d0663365c5828b95bf909af87bad857d Mon Sep 17 00:00:00 2001
From: XFFXFF <1247714429@qq.com>
Date: Mon, 15 May 2023 00:20:43 +0000
Subject: [PATCH 01/52] refactor: reduce connections created with RedisCache
---
.gitignore | 2 ++
src/cache/cacher.rs | 36 ++++++++++++++++--------------------
src/server/routes.rs | 12 +++++-------
3 files changed, 23 insertions(+), 27 deletions(-)
diff --git a/.gitignore b/.gitignore
index ea8c4bf..c39800b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
/target
+
+dump.rdb
\ No newline at end of file
diff --git a/src/cache/cacher.rs b/src/cache/cacher.rs
index 54d9a48..87a6c6d 100644
--- a/src/cache/cacher.rs
+++ b/src/cache/cacher.rs
@@ -10,9 +10,8 @@ use redis::{Client, Commands, Connection};
/// # Fields
///
/// * `redis_connection_url` - It stores the redis Connection url address.
-#[derive(Clone)]
pub struct RedisCache {
- redis_connection_url: String,
+ connection: Connection,
}
impl RedisCache {
@@ -21,10 +20,11 @@ impl RedisCache {
/// # Arguments
///
/// * `redis_connection_url` - It stores the redis Connection url address.
- pub fn new(redis_connection_url: String) -> Self {
- RedisCache {
- redis_connection_url,
- }
+ pub fn new(redis_connection_url: String) -> Result> {
+ let client = Client::open(redis_connection_url)?;
+ let connection = client.get_connection()?;
+ let redis_cache = RedisCache { connection };
+ Ok(redis_cache)
}
/// A helper function which computes the hash of the url and formats and returns it as string.
@@ -32,7 +32,7 @@ impl RedisCache {
/// # Arguments
///
/// * `url` - It takes an url as string.
- fn compute_url_hash(self, url: &str) -> String {
+ fn compute_url_hash(url: &str) -> String {
format!("{:?}", compute(url))
}
@@ -41,11 +41,9 @@ impl RedisCache {
/// # Arguments
///
/// * `url` - It takes an url as a string.
- pub fn cached_results_json(self, url: String) -> Result> {
- let hashed_url_string = self.clone().compute_url_hash(&url);
- let mut redis_connection: Connection =
- Client::open(self.redis_connection_url)?.get_connection()?;
- Ok(redis_connection.get(hashed_url_string)?)
+ pub fn cached_results_json(&mut self, url: &str) -> Result> {
+ let hashed_url_string = Self::compute_url_hash(url);
+ Ok(self.connection.get(hashed_url_string)?)
}
/// A function which caches the results by using the hashed `url` as the key and
@@ -57,20 +55,18 @@ impl RedisCache {
/// * `json_results` - It takes the json results string as an argument.
/// * `url` - It takes the url as a String.
pub fn cache_results(
- self,
+ &mut self,
json_results: String,
- url: String,
+ url: &str,
) -> Result<(), Box> {
- let hashed_url_string = self.clone().compute_url_hash(&url);
- let mut redis_connection: Connection =
- Client::open(self.redis_connection_url)?.get_connection()?;
+ let hashed_url_string = Self::compute_url_hash(url);
// put results_json into cache
- redis_connection.set(hashed_url_string.clone(), json_results)?;
+ self.connection.set(&hashed_url_string, json_results)?;
// Set the TTL for the key to 60 seconds
- redis_connection
- .expire::(hashed_url_string.clone(), 60)
+ self.connection
+ .expire::(hashed_url_string, 60)
.unwrap();
Ok(())
diff --git a/src/server/routes.rs b/src/server/routes.rs
index 1ee9f35..e97bc2b 100644
--- a/src/server/routes.rs
+++ b/src/server/routes.rs
@@ -73,7 +73,7 @@ pub async fn search(
let params = web::Query::::from_query(req.query_string())?;
//Initialize redis cache connection struct
- let redis_cache = RedisCache::new(config.redis_connection_url.clone());
+ let mut redis_cache = RedisCache::new(config.redis_connection_url.clone())?;
match ¶ms.q {
Some(query) => {
if query.trim().is_empty() {
@@ -117,7 +117,7 @@ pub async fn search(
};
// fetch the cached results json.
- let cached_results_json = redis_cache.clone().cached_results_json(page_url.clone());
+ let cached_results_json = redis_cache.cached_results_json(&page_url);
// check if fetched results was indeed fetched or it was an error and if so
// handle the data accordingly.
match cached_results_json {
@@ -128,12 +128,10 @@ pub async fn search(
}
Err(_) => {
let mut results_json: crate::search_results_handler::aggregation_models::SearchResults =
- aggregate(query, page).await?;
+ aggregate(query, page).await?;
results_json.add_style(config.style.clone());
- redis_cache.clone().cache_results(
- serde_json::to_string(&results_json)?,
- page_url.clone(),
- )?;
+ redis_cache
+ .cache_results(serde_json::to_string(&results_json)?, &page_url)?;
let page_content: String = hbs.render("search", &results_json)?;
Ok(HttpResponse::Ok().body(page_content))
}
From 2fc3ab42fe849af780a61d10cafe4b74bdda9663 Mon Sep 17 00:00:00 2001
From: B C SAMRUDH <114090255+bcsamrudh@users.noreply.github.com>
Date: Wed, 17 May 2023 22:53:10 +0530
Subject: [PATCH 02/52] Added an about page.
---
public/templates/about.html | 39 +++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 15 deletions(-)
diff --git a/public/templates/about.html b/public/templates/about.html
index 56c2165..9c4cbb0 100644
--- a/public/templates/about.html
+++ b/public/templates/about.html
@@ -1,20 +1,29 @@
{{>header this}}
- Websurfx
- a lightening fast, privacy respecting, secure meta search engine
-
- Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim
- labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet.
- Nisi anim cupidatat excepteur officia. Reprehenderit nostrud nostrud ipsum
- Lorem est aliquip amet voluptate voluptate dolor minim nulla est proident.
- Nostrud officia pariatur ut officia. Sit irure elit esse ea nulla sunt ex
- occaecat reprehenderit commodo officia dolor Lorem duis laboris cupidatat
- officia voluptate. Culpa proident adipisicing id nulla nisi laboris ex in
- Lorem sunt duis officia eiusmod. Aliqua reprehenderit commodo ex non
- excepteur duis sunt velit enim. Voluptate laboris sint cupidatat ullamco ut
- ea consectetur et est culpa et culpa duis.
+
+
+
Websurfx
+
+
+ A modern-looking, lightning-fast, privacy-respecting, secure meta search engine written in Rust. It provides a fast and secure search experience while respecting user privacy.
It aggregates results from multiple search engines and presents them in an unbiased manner, filtering out trackers and ads.
+
+
+ Some of the Top Features:
+
+ Lightning fast - Results load within milliseconds for an instant search experience.
+
+ Secure search - All searches are performed over an encrypted connection to prevent snooping.
+
+ Ad free results - All search results are ad free and clutter free for a clean search experience.
+
+ Privacy focused - Websurface does not track, store or sell your search data. Your privacy is our priority.
+
+ Free and Open source - The entire project's code is open source and available for free on GitHub under an GNU Affero General Public License.
+
+ Highly customizable - Websurface comes with 9 built-in color themes and supports creating custom themes effortlessly.
+
+
{{>footer}}
+
From 0a947cd400878658a40cdd4bdbfe91fb36305e56 Mon Sep 17 00:00:00 2001
From: B C SAMRUDH <114090255+bcsamrudh@users.noreply.github.com>
Date: Wed, 17 May 2023 22:54:16 +0530
Subject: [PATCH 03/52] Added the CSS code for about.html
---
public/static/themes/simple.css | 37 +++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/public/static/themes/simple.css b/public/static/themes/simple.css
index 97643e8..b9390e7 100644
--- a/public/static/themes/simple.css
+++ b/public/static/themes/simple.css
@@ -260,3 +260,40 @@ footer {
.page_navigation button:active {
filter: brightness(1.2);
}
+
+/* Styles for the about page */
+
+ .about-container article{
+ font-size: 1.5rem;
+ color:var(--fg);
+ padding-bottom: 10px;
+ }
+
+ .about-container article h1{
+ color: var(--2);
+ font-size: 2.8rem;
+ }
+
+ .about-container article div{
+ padding-bottom: 15px;
+ }
+
+ .about-container a{
+ color:var(--3);
+ }
+
+ .about-container article h2{
+ color: var(--3);
+ font-size: 1.8rem;
+ padding-bottom: 10px;
+ }
+
+ .about-container p{
+ color:var(--fg);
+ font-size: 1.6rem;
+ padding-bottom: 10px;
+ }
+
+ .about-container h3{
+ font-size: 1.5rem;
+ }
From 85e5868ac38fcf2516705c033677e695f22b79e3 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Thu, 18 May 2023 10:12:51 +0000
Subject: [PATCH 04/52] ci: remove releases automation github action
---
.github/workflows/releases.yml | 74 ----------------------------------
1 file changed, 74 deletions(-)
delete mode 100644 .github/workflows/releases.yml
diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml
deleted file mode 100644
index e46c5aa..0000000
--- a/.github/workflows/releases.yml
+++ /dev/null
@@ -1,74 +0,0 @@
-name: Releases
-on:
- push:
- branches:
- - "rolling"
-
-concurrency:
- group: "rolling-branch"
-
-jobs:
- changelog:
- if: github.repository == 'neon-mmd/websurfx'
- runs-on: ubuntu-latest
-
- steps:
- # Create a temporary, uniquely named branch to push release info to
- - name: create temporary branch
- uses: peterjgrainger/action-create-branch@v2.3.0
- id: create-branch
- with:
- branch: "release-from-${{ github.sha }}"
- sha: "${{ github.sha }}"
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- # check out the repository afterwards
- - uses: actions/checkout@v3
-
- # fetch branches and switch to the temporary branch
- - name: switch to new branch
- run: git fetch --all && git checkout --track origin/release-from-${{ github.sha }}
-
- # update app config with version
- - name: get-npm-version
- id: package-version
- uses: martinbeentjes/npm-get-version-action@master
- - name: update app config
- run: sed -i 's/0.0.0/${{ steps.package-version.outputs.current-version}}/g' config/app.json
-
- # create release info and push it upstream
- - name: conventional Changelog Action
- id: changelog
- uses: TriPSs/conventional-changelog-action@v3
- with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
- version-file: "./Cargo.toml"
- git-branch: "release-from-${{ github.sha }}"
- skip-on-empty: false
- skip-git-pull: true
-
- # create PR using GitHub CLI
- - name: create PR with release info
- id: create-pr
- run: gh pr create --base main --head release-from-${{ github.sha }} --title 'Merge new release into rolling' --body 'Created by Github action'
- env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- # merge PR using GitHub CLI
- - name: merge PR with release info
- id: merge-pr
- run: gh pr merge --admin --merge --subject 'Merge release info' --delete-branch
- env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- # release info is now in main so we can continue as before
- - name: create release with last commit
- uses: actions/create-release@v1
- if: steps.changelog.outputs.skipped == 'false'
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- tag_name: ${{ steps.changelog.outputs.tag }}
- release_name: ${{ steps.changelog.outputs.tag }}
- body: ${{ steps.changelog.outputs.clean_changelog }}
From 9a204b2f985c29020d8a177ed2894b98a1b4adc5 Mon Sep 17 00:00:00 2001
From: MD AL AMIN TALUKDAR <129589283+alamin655@users.noreply.github.com>
Date: Fri, 19 May 2023 17:13:11 +0530
Subject: [PATCH 05/52] Fix page_url assignment in search route
The page_url variable in the search route was not being properly assigned in certain cases. This commit fixes the issue by ensuring that page_url is assigned the correct value based on the search parameters.
In the match expression, the conditions have been adjusted to correctly handle the page number and construct the appropriate page_url. This ensures that the generated URL for the search page is accurate and reflects the search query and page number.
This change improves the functionality and reliability of the search route by correctly setting the page_url variable based on the provided search parameters.
---
src/server/routes.rs | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/server/routes.rs b/src/server/routes.rs
index e97bc2b..5116bac 100644
--- a/src/server/routes.rs
+++ b/src/server/routes.rs
@@ -81,11 +81,10 @@ pub async fn search(
.insert_header(("location", "/"))
.finish())
} else {
- // Initialize the page url as an empty string
- let mut page_url = String::new();
+ let page_url: String; // Declare the page_url variable without initializing it
- // Find whether the page is valid page number if not then return
- // the first page number and also construct the page_url accordingly
+ // ...
+
let page = match params.page {
Some(page_number) => {
if page_number <= 1 {
@@ -99,7 +98,7 @@ pub async fn search(
"http://{}:{}/search?q={}&page={}",
config.binding_ip_addr, config.port, query, page_number
);
-
+
page_number
}
}
@@ -111,11 +110,13 @@ pub async fn search(
req.uri(),
1
);
-
+
1
}
};
-
+
+ // Use the page_url variable as needed
+
// fetch the cached results json.
let cached_results_json = redis_cache.cached_results_json(&page_url);
// check if fetched results was indeed fetched or it was an error and if so
From ae2fdb557cd801a833e2e2c85b1dea14edd5e7c4 Mon Sep 17 00:00:00 2001
From: MD AL AMIN TALUKDAR <129589283+alamin655@users.noreply.github.com>
Date: Sat, 20 May 2023 08:01:24 +0530
Subject: [PATCH 06/52] Removed unnecessary comment
---
src/server/routes.rs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/server/routes.rs b/src/server/routes.rs
index 5116bac..ed2299f 100644
--- a/src/server/routes.rs
+++ b/src/server/routes.rs
@@ -114,9 +114,7 @@ pub async fn search(
1
}
};
-
- // Use the page_url variable as needed
-
+
// fetch the cached results json.
let cached_results_json = redis_cache.cached_results_json(&page_url);
// check if fetched results was indeed fetched or it was an error and if so
From 6e19246cb2a02f06d6e2ca3851d78b2f01f7bdb0 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Mon, 22 May 2023 13:07:37 +0300
Subject: [PATCH 07/52] fix: reduce the time to build user-agents
---
Cargo.lock | 1 +
Cargo.toml | 1 +
src/search_results_handler/user_agent.rs | 20 +++++++++++---------
3 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 85310e9..cec7cf7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3328,6 +3328,7 @@ dependencies = [
"handlebars",
"log",
"md5",
+ "once_cell",
"rand 0.8.5",
"redis",
"reqwest 0.11.17",
diff --git a/Cargo.toml b/Cargo.toml
index ce99ca3..efe9435 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,3 +21,4 @@ rlua = {version="*"}
redis = {version="*"}
md5 = {version="*"}
rand={version="*"}
+once_cell = {version="*"}
diff --git a/src/search_results_handler/user_agent.rs b/src/search_results_handler/user_agent.rs
index 09dd684..13166bf 100644
--- a/src/search_results_handler/user_agent.rs
+++ b/src/search_results_handler/user_agent.rs
@@ -1,13 +1,8 @@
//! This module provides the functionality to generate random user agent string.
-use fake_useragent::{Browsers, UserAgentsBuilder};
+use fake_useragent::{Browsers, UserAgents, UserAgentsBuilder};
-/// A function to generate random user agent to improve privacy of the user.
-///
-/// # Returns
-///
-/// A randomly generated user agent string.
-pub fn random_user_agent() -> String {
+static USER_AGENTS: once_cell::sync::Lazy = once_cell::sync::Lazy::new(|| {
UserAgentsBuilder::new()
.cache(false)
.dir("/tmp")
@@ -21,6 +16,13 @@ pub fn random_user_agent() -> String {
.set_mozilla(),
)
.build()
- .random()
- .to_string()
+});
+
+/// A function to generate random user agent to improve privacy of the user.
+///
+/// # Returns
+///
+/// A randomly generated user agent string.
+pub fn random_user_agent() -> String {
+ USER_AGENTS.random().to_string()
}
From ab20f08e42251dbb052ec5aa08534187d8283f03 Mon Sep 17 00:00:00 2001
From: gotoworq <110043355+gotoworq@users.noreply.github.com>
Date: Mon, 22 May 2023 14:44:46 -0400
Subject: [PATCH 08/52] Added logo, and changed logon to be on main page
---
public/images/websurfx_logo.png | Bin 0 -> 8264 bytes
public/templates/index.html | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
create mode 100644 public/images/websurfx_logo.png
diff --git a/public/images/websurfx_logo.png b/public/images/websurfx_logo.png
new file mode 100644
index 0000000000000000000000000000000000000000..9449e33ff4400ee97da4186599ead26e0ead74a7
GIT binary patch
literal 8264
zcmV-OAh+L%P)FK#oU~nHKzykz8ilj(NCUjet
zWyZ=T<=9wxH^RH#-CzE(5&Oe`ynh_AVTWVoSRZoO(n^#p%aV6RLJ}zwgg}A>MS!?5
z1I*oXcK7uCj;h=r-P6+008JhnIcap_OBOZ`=$_Qq;6@IdsEtC6fWo4qQNUz<(a9IW8?
zuTHSGP>WW-&igv<0!#TkwMhLs?g_TP;V)Ob=BQsc`S%d3X8(3T%~7AK{#nQUMU6cN
zRn@II>epkM_ZAO;;V(3!=BU3iw#fi(9#+?Zwb{)jTGtl!>n4A*v5mUDwy3`{w$adR
zCbpm9ck5b1)UTWTt%2>(`3N;d{gtsD24%}&`x*WM7F4c5>epaz*RcgrE7V_^@AW5Q
z!?9$SZi~LI73$ZqWl=NFL4~5VM*SuFxn{b5+o0xq9BYF5HQ&v(i|yI<2vB=gzmBbl
zntVW%%~qfQR5WGBBgSK2Qo0U`se$bIA2@eDB*#KU13+>tfV#J{Il!e71(&>08$d3LXb-N{0oEYO0wkL;|N9k#EZv97)eOabI#ZUmrC{Y}G?45yVvwiHVB
z#eo(z=Vc?quFZGLtes2~em0Rz__MLaCOU
z?eGZ48NW`6In+I5o6<}%-S6yuQakz?-qfq^J^@75z`Fo--q*3g*lg+pkePPObn&Ca
z8JU^`DU2t77rhNKmlm@lo2XtLuua|l&31UIfozkKb7=T^Lz{i`SN71a0qR!2jtvEF
z0jpmXA~9tTf5iMv&h+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cm{WhY7zGBz&fr(`NBXNH`)
z5z5Y!nE~4*VUd+3;efEnu__{Y2!Qz~N7YdCq3%O(18eT(z9wh#mVM^~aBM(Eb`C1H
zde^Zs>eOEWsCjv?mACI!_ncJvjsT!c%{gONoS|Qf$yOITAMI(qyJd*k!9JOGJsQTxN_J0rWJWs)^`0Sy@0<=l$BSZM+>Q
zDoXd@*V0kZSfH8tLcHsM(!Li%9ZdI;m6h>`n7$)3amuC0Op%nRXn+iaMfs?UnE~C4
zB+1H&xlyt*rL|W4U-_lWD8v_9AxTn-F0(Bqr22uB;?&aZLU>rR`;3_y4
zI94eaMRJyM2{5zyKqN_r%#7=3&NbQoI@XOk^*0@L>Td#;V|49$I{@H1$Y?8L<^HXi
z5!eQ({l2at>X)GQ`@JTxy}P-#s9!hyTLZP})U4Hqn(p?kjt8M@Ynl2><3Sj?&A~P>`BeBesQssA)PckE%^$
z%iP=Ys2l$Kh3#YV7x6$?{cSQ<_Yx0;t5dGK`y}ex!m14aN;e;LZ12vYB|fnwBx(qC
z_OA;obj!9e`7Ufbho{c|yTJp*d-utZg;RBF8+Xxwns4jI;cj?et60k0feNc%%Z**F
z+p~)M4+QR#_uH_~wv)qCXa8z(m(8#J-dadmD+Mdup%R%IMxFgD<1TkR)Nns7uljbf
z`YzPj@4|z_`xQ|_{cY0BWhOQ&N^f&KP&?epk4mZ1u>TMGr4mw5JtNEj0000header this}}
-
+
{{>search_bar}}
From ff325153f06dbcb18c78a30dbf6c076996f75d7a Mon Sep 17 00:00:00 2001
From: XFFXFF <1247714429@qq.com>
Date: Tue, 23 May 2023 00:31:46 +0000
Subject: [PATCH 09/52] add format and clippy checks to the CI jobs
---
.github/workflows/rust_format.yml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/rust_format.yml b/.github/workflows/rust_format.yml
index d865c8c..c300863 100644
--- a/.github/workflows/rust_format.yml
+++ b/.github/workflows/rust_format.yml
@@ -19,7 +19,16 @@ jobs:
profile: minimal
toolchain: stable
components: rustfmt, clippy
-
+ - name: Format
+ uses: actions-rs/cargo@v1
+ with:
+ command: fmt
+ args: -- --check
+ - name: Clippy
+ uses: actions-rs/cargo@v1
+ with:
+ command: clippy
+ args: --all-features --all-targets --all
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
From cecffe41555d76ed254ead5a7cebf277e6b98172 Mon Sep 17 00:00:00 2001
From: XFFXFF <1247714429@qq.com>
Date: Tue, 23 May 2023 09:34:46 +0000
Subject: [PATCH 10/52] make format happy
---
src/cache/mod.rs | 2 +-
src/search_results_handler/aggregation_models.rs | 2 +-
src/server/routes.rs | 10 +++++-----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/cache/mod.rs b/src/cache/mod.rs
index 91a91ca..de7dd4e 100644
--- a/src/cache/mod.rs
+++ b/src/cache/mod.rs
@@ -1 +1 @@
-pub mod cacher;
+pub mod cacher;
diff --git a/src/search_results_handler/aggregation_models.rs b/src/search_results_handler/aggregation_models.rs
index 4fe670e..b6e6b81 100644
--- a/src/search_results_handler/aggregation_models.rs
+++ b/src/search_results_handler/aggregation_models.rs
@@ -116,7 +116,7 @@ impl RawSearchResult {
}
}
-/// A named struct to store, serialize, deserialize the all the search results scraped and
+/// A named struct to store, serialize, deserialize the all the search results scraped and
/// aggregated from the upstream search engines.
///
/// # Fields
diff --git a/src/server/routes.rs b/src/server/routes.rs
index ed2299f..85c522d 100644
--- a/src/server/routes.rs
+++ b/src/server/routes.rs
@@ -81,10 +81,10 @@ pub async fn search(
.insert_header(("location", "/"))
.finish())
} else {
- let page_url: String; // Declare the page_url variable without initializing it
+ let page_url: String; // Declare the page_url variable without initializing it
// ...
-
+
let page = match params.page {
Some(page_number) => {
if page_number <= 1 {
@@ -98,7 +98,7 @@ pub async fn search(
"http://{}:{}/search?q={}&page={}",
config.binding_ip_addr, config.port, query, page_number
);
-
+
page_number
}
}
@@ -110,11 +110,11 @@ pub async fn search(
req.uri(),
1
);
-
+
1
}
};
-
+
// fetch the cached results json.
let cached_results_json = redis_cache.cached_results_json(&page_url);
// check if fetched results was indeed fetched or it was an error and if so
From 05272884bac1e6068f58180e964227126b9f9067 Mon Sep 17 00:00:00 2001
From: XFFXFF <1247714429@qq.com>
Date: Mon, 22 May 2023 01:13:06 +0000
Subject: [PATCH 11/52] supports the option to add a random delay
---
src/config_parser/parser.rs | 13 +++++++++++++
src/search_results_handler/aggregator.rs | 10 +++++++---
src/server/routes.rs | 2 +-
websurfx/config.lua | 5 +++++
4 files changed, 26 insertions(+), 4 deletions(-)
diff --git a/src/config_parser/parser.rs b/src/config_parser/parser.rs
index 4625bd8..21a9bf5 100644
--- a/src/config_parser/parser.rs
+++ b/src/config_parser/parser.rs
@@ -20,6 +20,14 @@ pub struct Config {
pub binding_ip_addr: String,
pub style: Style,
pub redis_connection_url: String,
+ pub aggregator: AggreatorConfig,
+}
+
+/// Configuration options for the aggregator.
+#[derive(Clone)]
+pub struct AggreatorConfig {
+ /// Whether to introduce a random delay before sending the request to the search engine.
+ pub random_delay: bool,
}
impl Config {
@@ -41,6 +49,8 @@ impl Config {
.load(&fs::read_to_string("./websurfx/config.lua")?)
.exec()?;
+ let aggregator_config = globals.get::<_, rlua::Table>("aggregator")?;
+
Ok(Config {
port: globals.get::<_, u16>("port")?,
binding_ip_addr: globals.get::<_, String>("binding_ip_addr")?,
@@ -49,6 +59,9 @@ impl Config {
globals.get::<_, String>("colorscheme")?,
),
redis_connection_url: globals.get::<_, String>("redis_connection_url")?,
+ aggregator: AggreatorConfig {
+ random_delay: aggregator_config.get::<_, bool>("random_delay")?,
+ },
})
})
}
diff --git a/src/search_results_handler/aggregator.rs b/src/search_results_handler/aggregator.rs
index 5133094..8b86972 100644
--- a/src/search_results_handler/aggregator.rs
+++ b/src/search_results_handler/aggregator.rs
@@ -29,6 +29,7 @@ use crate::engines::{duckduckgo, searx};
///
/// * `query` - Accepts a string to query with the above upstream search engines.
/// * `page` - Accepts an u32 page number.
+/// * `random_delay` - Accepts a boolean value to add a random delay before making the request.
///
/// # Error
///
@@ -38,14 +39,17 @@ use crate::engines::{duckduckgo, searx};
pub async fn aggregate(
query: &str,
page: u32,
+ random_delay: bool,
) -> Result> {
let user_agent: String = random_user_agent();
let mut result_map: HashMap = HashMap::new();
// Add a random delay before making the request.
- let mut rng = rand::thread_rng();
- let delay_secs = rng.gen_range(1..10);
- std::thread::sleep(Duration::from_secs(delay_secs));
+ if random_delay {
+ let mut rng = rand::thread_rng();
+ let delay_secs = rng.gen_range(1..10);
+ std::thread::sleep(Duration::from_secs(delay_secs));
+ }
// fetch results from upstream search engines simultaneously/concurrently.
let (ddg_map_results, searx_map_results) = join!(
diff --git a/src/server/routes.rs b/src/server/routes.rs
index 85c522d..0f84cc9 100644
--- a/src/server/routes.rs
+++ b/src/server/routes.rs
@@ -127,7 +127,7 @@ pub async fn search(
}
Err(_) => {
let mut results_json: crate::search_results_handler::aggregation_models::SearchResults =
- aggregate(query, page).await?;
+ aggregate(query, page, config.aggregator.random_delay).await?;
results_json.add_style(config.style.clone());
redis_cache
.cache_results(serde_json::to_string(&results_json)?, &page_url)?;
diff --git a/websurfx/config.lua b/websurfx/config.lua
index 916a9b3..7dfd515 100644
--- a/websurfx/config.lua
+++ b/websurfx/config.lua
@@ -19,3 +19,8 @@ theme = "simple" -- the theme name which should be used for the website
-- Caching
redis_connection_url = "redis://127.0.0.1:8082" -- redis connection url address on which the client should connect on.
+
+-- Aggregator
+aggregator = {
+ random_delay = false, -- whether to add random delay before sending the request to the search engine
+}
\ No newline at end of file
From 9773cee38dd312696bd17168e5758176a5563b8e Mon Sep 17 00:00:00 2001
From: XFFXFF <1247714429@qq.com>
Date: Tue, 23 May 2023 00:56:44 +0000
Subject: [PATCH 12/52] change the 'aggregator' option to 'production_use'
---
src/config_parser/parser.rs | 15 +++++++++++----
websurfx/config.lua | 7 +++----
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/src/config_parser/parser.rs b/src/config_parser/parser.rs
index 21a9bf5..4b73a73 100644
--- a/src/config_parser/parser.rs
+++ b/src/config_parser/parser.rs
@@ -49,7 +49,16 @@ impl Config {
.load(&fs::read_to_string("./websurfx/config.lua")?)
.exec()?;
- let aggregator_config = globals.get::<_, rlua::Table>("aggregator")?;
+ let production_use = globals.get::<_, bool>("production_use")?;
+ let aggregator_config = if production_use {
+ AggreatorConfig {
+ random_delay: true,
+ }
+ } else {
+ AggreatorConfig {
+ random_delay: false,
+ }
+ };
Ok(Config {
port: globals.get::<_, u16>("port")?,
@@ -59,9 +68,7 @@ impl Config {
globals.get::<_, String>("colorscheme")?,
),
redis_connection_url: globals.get::<_, String>("redis_connection_url")?,
- aggregator: AggreatorConfig {
- random_delay: aggregator_config.get::<_, bool>("random_delay")?,
- },
+ aggregator: aggregator_config
})
})
}
diff --git a/websurfx/config.lua b/websurfx/config.lua
index 7dfd515..1c0be7d 100644
--- a/websurfx/config.lua
+++ b/websurfx/config.lua
@@ -20,7 +20,6 @@ theme = "simple" -- the theme name which should be used for the website
-- Caching
redis_connection_url = "redis://127.0.0.1:8082" -- redis connection url address on which the client should connect on.
--- Aggregator
-aggregator = {
- random_delay = false, -- whether to add random delay before sending the request to the search engine
-}
\ No newline at end of file
+production_use = false -- whether to use production mode or not
+-- if production_use is set to true
+ -- there will be a random delay before sending the request to the search engines, this is to prevent the search engines from blocking the ip address
\ No newline at end of file
From 4b70a74ff6196a00d8878333ab4b56b065427230 Mon Sep 17 00:00:00 2001
From: zhou fan <1247714429@qq.com>
Date: Tue, 23 May 2023 17:30:36 +0800
Subject: [PATCH 13/52] Update websurfx/config.lua
Co-authored-by: neon_arch
---
websurfx/config.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/websurfx/config.lua b/websurfx/config.lua
index 1c0be7d..c30f376 100644
--- a/websurfx/config.lua
+++ b/websurfx/config.lua
@@ -20,6 +20,6 @@ theme = "simple" -- the theme name which should be used for the website
-- Caching
redis_connection_url = "redis://127.0.0.1:8082" -- redis connection url address on which the client should connect on.
-production_use = false -- whether to use production mode or not
+production_use = false -- whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users)
-- if production_use is set to true
- -- there will be a random delay before sending the request to the search engines, this is to prevent the search engines from blocking the ip address
\ No newline at end of file
+ -- There will be a random delay before sending the request to the search engines, this is to prevent DDoSing the upstream search engines from a large number of simultaneous requests.
\ No newline at end of file
From ea013e718edae23136befa9609100960431ab5f4 Mon Sep 17 00:00:00 2001
From: XFFXFF <1247714429@qq.com>
Date: Tue, 23 May 2023 10:00:35 +0000
Subject: [PATCH 14/52] make format happy
---
src/config_parser/parser.rs | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/config_parser/parser.rs b/src/config_parser/parser.rs
index 4b73a73..f8dac14 100644
--- a/src/config_parser/parser.rs
+++ b/src/config_parser/parser.rs
@@ -51,9 +51,7 @@ impl Config {
let production_use = globals.get::<_, bool>("production_use")?;
let aggregator_config = if production_use {
- AggreatorConfig {
- random_delay: true,
- }
+ AggreatorConfig { random_delay: true }
} else {
AggreatorConfig {
random_delay: false,
@@ -68,7 +66,7 @@ impl Config {
globals.get::<_, String>("colorscheme")?,
),
redis_connection_url: globals.get::<_, String>("redis_connection_url")?,
- aggregator: aggregator_config
+ aggregator: aggregator_config,
})
})
}
From 89796a054f0b0b9535e40d13e4a4effc242737e6 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Tue, 23 May 2023 23:47:36 +0300
Subject: [PATCH 15/52] feat: add ability to put config file on different paths
---
src/config_parser/parser.rs | 44 ++++++++++++++++++++++++++++++++-----
1 file changed, 39 insertions(+), 5 deletions(-)
diff --git a/src/config_parser/parser.rs b/src/config_parser/parser.rs
index 4625bd8..66a9284 100644
--- a/src/config_parser/parser.rs
+++ b/src/config_parser/parser.rs
@@ -3,7 +3,7 @@
use super::parser_models::Style;
use rlua::Lua;
-use std::fs;
+use std::{format, fs, path::Path};
/// A named struct which stores the parsed config file options.
///
@@ -32,13 +32,13 @@ impl Config {
/// or io error if the config.lua file doesn't exists otherwise it returns a newly contructed
/// Config struct with all the parsed config options from the parsed config file.
pub fn parse() -> Result> {
- let lua = Lua::new();
-
- lua.context(|context| {
+ Lua::new().context(|context| -> Result> {
let globals = context.globals();
context
- .load(&fs::read_to_string("./websurfx/config.lua")?)
+ .load(&fs::read_to_string(
+ Config::handle_different_config_file_path()?,
+ )?)
.exec()?;
Ok(Config {
@@ -52,4 +52,38 @@ impl Config {
})
})
}
+ /// A helper function which returns an appropriate config file path checking if the config
+ /// file exists on that path.
+ ///
+ /// # Error
+ ///
+ /// Returns a `config file not found!!` error if the config file is not present under following
+ /// paths which are:
+ /// 1. `~/.config/websurfx/` if it not present here then it fallbacks to the next one (2)
+ /// 2. `/etc/xdg/websurfx/config.lua` if it is not present here then it fallbacks to the next
+ /// one (3).
+ /// 3. `websurfx/` (under project folder ( or codebase in other words)) if it is not present
+ /// here then it returns an error as mentioned above.
+ fn handle_different_config_file_path() -> Result> {
+ if Path::new(
+ format!(
+ "{}/.config/websurfx/config.lua",
+ std::env::var("HOME").unwrap()
+ )
+ .as_str(),
+ )
+ .exists()
+ {
+ Ok(format!(
+ "{}/.config/websurfx/config.lua",
+ std::env::var("HOME").unwrap()
+ ))
+ } else if Path::new("/etc/xdg/websurfx/config.lua").exists() {
+ Ok("/etc/xdg/websurfx/config.lua".to_string())
+ } else if Path::new("./websurfx/config.lua").exists() {
+ Ok("./websurfx/config.lua".to_string())
+ } else {
+ Err(format!("Config file not found!!").into())
+ }
+ }
}
From c5b62f1087781b0e98dcbe03d4ca155d08ffedf9 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Wed, 24 May 2023 10:50:08 +0300
Subject: [PATCH 16/52] chore: Bump version to v0.8.0
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index efe9435..d19acb2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "websurfx"
-version = "0.6.0"
+version = "0.8.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
From ea3f21139f3fcd25d2915838ffc83b5bf4ea3566 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Wed, 24 May 2023 11:53:40 +0300
Subject: [PATCH 17/52] chore: fix the lock error during build
---
Cargo.lock | 194 ++++++++++++++++++++++++++---------------------------
1 file changed, 97 insertions(+), 97 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index cec7cf7..02bf14f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,19 +4,19 @@ version = 3
[[package]]
name = "actix-codec"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57a7559404a7f3573127aab53c08ce37a6c6a315c374a31070f3c91cd1b4a7fe"
+checksum = "617a8268e3537fe1d8c9ead925fca49ef6400927ee7bc26750e90ecee14ce4b8"
dependencies = [
"bitflags",
"bytes 1.4.0",
"futures-core",
"futures-sink",
- "log",
"memchr",
"pin-project-lite",
- "tokio 1.28.0",
+ "tokio 1.28.1",
"tokio-util",
+ "tracing",
]
[[package]]
@@ -53,7 +53,7 @@ dependencies = [
"actix-service",
"actix-utils",
"ahash 0.8.3",
- "base64 0.21.0",
+ "base64 0.21.1",
"bitflags",
"brotli",
"bytes 1.4.0",
@@ -62,7 +62,7 @@ dependencies = [
"encoding_rs",
"flate2",
"futures-core",
- "h2 0.3.18",
+ "h2 0.3.19",
"http 0.2.9",
"httparse",
"httpdate",
@@ -75,7 +75,7 @@ dependencies = [
"rand 0.8.5",
"sha1",
"smallvec 1.10.0",
- "tokio 1.28.0",
+ "tokio 1.28.1",
"tokio-util",
"tracing",
"zstd",
@@ -111,7 +111,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15265b6b8e2347670eb363c47fc8c75208b4a4994b27192f345fcbe707804f3e"
dependencies = [
"futures-core",
- "tokio 1.28.0",
+ "tokio 1.28.1",
]
[[package]]
@@ -128,7 +128,7 @@ dependencies = [
"mio 0.8.6",
"num_cpus",
"socket2",
- "tokio 1.28.0",
+ "tokio 1.28.1",
"tracing",
]
@@ -201,7 +201,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2262160a7ae29e3415554a3f1fc04c764b1540c116aa524683208078b7a75bc9"
dependencies = [
"actix-router",
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"syn 1.0.109",
]
@@ -315,9 +315,9 @@ dependencies = [
[[package]]
name = "base64"
-version = "0.21.0"
+version = "0.21.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a"
+checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105"
[[package]]
name = "bit-set"
@@ -381,9 +381,9 @@ dependencies = [
[[package]]
name = "bumpalo"
-version = "3.12.1"
+version = "3.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b1ce199063694f33ffb7dd4e0ee620741495c32833cde5aa08f02a0bf96f0c8"
+checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1"
[[package]]
name = "byteorder"
@@ -605,7 +605,7 @@ dependencies = [
"itoa 1.0.6",
"matches",
"phf 0.10.1",
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"smallvec 1.10.0",
"syn 1.0.109",
@@ -628,7 +628,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
dependencies = [
"convert_case",
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"rustc_version 0.4.0",
"syn 1.0.109",
@@ -636,9 +636,9 @@ dependencies = [
[[package]]
name = "digest"
-version = "0.10.6"
+version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f"
+checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
"block-buffer",
"crypto-common",
@@ -730,7 +730,7 @@ version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"syn 1.0.109",
"synstructure",
@@ -959,9 +959,9 @@ dependencies = [
[[package]]
name = "h2"
-version = "0.3.18"
+version = "0.3.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17f8a914c2987b688368b5138aa05321db91f4090cf26118185672ad588bce21"
+checksum = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782"
dependencies = [
"bytes 1.4.0",
"fnv",
@@ -971,16 +971,16 @@ dependencies = [
"http 0.2.9",
"indexmap",
"slab",
- "tokio 1.28.0",
+ "tokio 1.28.1",
"tokio-util",
"tracing",
]
[[package]]
name = "handlebars"
-version = "4.3.6"
+version = "4.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "035ef95d03713f2c347a72547b7cd38cbc9af7cd51e6099fb62d586d4a6dee3a"
+checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d"
dependencies = [
"log",
"pest",
@@ -1035,7 +1035,7 @@ dependencies = [
"log",
"mac",
"markup5ever 0.11.0",
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"syn 1.0.109",
]
@@ -1149,7 +1149,7 @@ dependencies = [
"futures-channel",
"futures-core",
"futures-util",
- "h2 0.3.18",
+ "h2 0.3.19",
"http 0.2.9",
"http-body 0.4.5",
"httparse",
@@ -1157,7 +1157,7 @@ dependencies = [
"itoa 1.0.6",
"pin-project-lite",
"socket2",
- "tokio 1.28.0",
+ "tokio 1.28.1",
"tower-service",
"tracing",
"want 0.3.0",
@@ -1185,7 +1185,7 @@ dependencies = [
"bytes 1.4.0",
"hyper 0.14.26",
"native-tls",
- "tokio 1.28.0",
+ "tokio 1.28.1",
"tokio-native-tls",
]
@@ -1301,9 +1301,9 @@ dependencies = [
[[package]]
name = "js-sys"
-version = "0.3.62"
+version = "0.3.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68c16e1bfd491478ab155fd8b4896b86f9ede344949b641e61501e07c2b8b4d5"
+checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790"
dependencies = [
"wasm-bindgen",
]
@@ -1338,9 +1338,9 @@ checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1"
[[package]]
name = "linux-raw-sys"
-version = "0.3.7"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f"
+checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
[[package]]
name = "local-channel"
@@ -1631,9 +1631,9 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
- "syn 2.0.15",
+ "syn 2.0.16",
]
[[package]]
@@ -1749,9 +1749,9 @@ checksum = "6c435bf1076437b851ebc8edc3a18442796b30f1728ffea6262d59bbe28b077e"
dependencies = [
"pest",
"pest_meta",
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
- "syn 2.0.15",
+ "syn 2.0.16",
]
[[package]]
@@ -1863,7 +1863,7 @@ dependencies = [
"phf_generator 0.10.0",
"phf_shared 0.10.0",
"proc-macro-hack",
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"syn 1.0.109",
]
@@ -1942,9 +1942,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.56"
+version = "1.0.58"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
+checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8"
dependencies = [
"unicode-ident",
]
@@ -1974,7 +1974,7 @@ version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
]
[[package]]
@@ -2213,9 +2213,9 @@ dependencies = [
[[package]]
name = "regex"
-version = "1.8.1"
+version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370"
+checksum = "d1a59b5d8e97dee33696bf13c5ba8ab85341c002922fba050069326b9c498974"
dependencies = [
"aho-corasick",
"memchr",
@@ -2224,9 +2224,9 @@ dependencies = [
[[package]]
name = "regex-syntax"
-version = "0.7.1"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c"
+checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
[[package]]
name = "reqwest"
@@ -2264,16 +2264,16 @@ dependencies = [
[[package]]
name = "reqwest"
-version = "0.11.17"
+version = "0.11.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91"
+checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55"
dependencies = [
- "base64 0.21.0",
+ "base64 0.21.1",
"bytes 1.4.0",
"encoding_rs",
"futures-core",
"futures-util",
- "h2 0.3.18",
+ "h2 0.3.19",
"http 0.2.9",
"http-body 0.4.5",
"hyper 0.14.26",
@@ -2289,7 +2289,7 @@ dependencies = [
"serde",
"serde_json",
"serde_urlencoded 0.7.1",
- "tokio 1.28.0",
+ "tokio 1.28.1",
"tokio-native-tls",
"tower-service",
"url 2.3.1",
@@ -2410,9 +2410,9 @@ dependencies = [
[[package]]
name = "security-framework"
-version = "2.8.2"
+version = "2.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254"
+checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8"
dependencies = [
"bitflags",
"core-foundation",
@@ -2423,9 +2423,9 @@ dependencies = [
[[package]]
name = "security-framework-sys"
-version = "2.8.0"
+version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4"
+checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7"
dependencies = [
"core-foundation-sys",
"libc",
@@ -2482,22 +2482,22 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
[[package]]
name = "serde"
-version = "1.0.162"
+version = "1.0.163"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "71b2f6e1ab5c2b98c05f0f35b236b22e8df7ead6ffbf51d7808da7f8817e7ab6"
+checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.162"
+version = "1.0.163"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2a0814352fd64b58489904a44ea8d90cb1a91dcb6b4f5ebabc32c8318e93cb6"
+checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
- "syn 2.0.15",
+ "syn 2.0.16",
]
[[package]]
@@ -2680,7 +2680,7 @@ checksum = "f0f45ed1b65bf9a4bf2f7b7dc59212d1926e9eaf00fa998988e420fd124467c6"
dependencies = [
"phf_generator 0.7.24",
"phf_shared 0.7.24",
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"string_cache_shared",
]
@@ -2693,7 +2693,7 @@ checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988"
dependencies = [
"phf_generator 0.10.0",
"phf_shared 0.10.0",
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
]
@@ -2720,18 +2720,18 @@ version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"unicode-ident",
]
[[package]]
name = "syn"
-version = "2.0.15"
+version = "2.0.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822"
+checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"unicode-ident",
]
@@ -2742,7 +2742,7 @@ version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
"syn 1.0.109",
"unicode-xid 0.2.4",
@@ -2796,9 +2796,9 @@ version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
- "syn 2.0.15",
+ "syn 2.0.16",
]
[[package]]
@@ -2875,9 +2875,9 @@ dependencies = [
[[package]]
name = "tokio"
-version = "1.28.0"
+version = "1.28.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3c786bf8134e5a3a166db9b29ab8f48134739014a3eca7bc6bfa95d673b136f"
+checksum = "0aa32867d44e6f2ce3385e89dceb990188b8bb0fb25b0cf576647a6f98ac5105"
dependencies = [
"autocfg 1.1.0",
"bytes 1.4.0",
@@ -2940,9 +2940,9 @@ version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
- "syn 2.0.15",
+ "syn 2.0.16",
]
[[package]]
@@ -2952,7 +2952,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2"
dependencies = [
"native-tls",
- "tokio 1.28.0",
+ "tokio 1.28.1",
]
[[package]]
@@ -3037,7 +3037,7 @@ dependencies = [
"futures-core",
"futures-sink",
"pin-project-lite",
- "tokio 1.28.0",
+ "tokio 1.28.1",
"tracing",
]
@@ -3061,9 +3061,9 @@ dependencies = [
[[package]]
name = "tracing-core"
-version = "0.1.30"
+version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a"
+checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a"
dependencies = [
"once_cell",
]
@@ -3243,9 +3243,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "wasm-bindgen"
-version = "0.2.85"
+version = "0.2.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b6cb788c4e39112fbe1822277ef6fb3c55cd86b95cb3d3c4c1c9597e4ac74b4"
+checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73"
dependencies = [
"cfg-if 1.0.0",
"wasm-bindgen-macro",
@@ -3253,24 +3253,24 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.85"
+version = "0.2.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35e522ed4105a9d626d885b35d62501b30d9666283a5c8be12c14a8bdafe7822"
+checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb"
dependencies = [
"bumpalo",
"log",
"once_cell",
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
- "syn 2.0.15",
+ "syn 2.0.16",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.35"
+version = "0.4.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "083abe15c5d88556b77bdf7aef403625be9e327ad37c62c4e4129af740168163"
+checksum = "2d1985d03709c53167ce907ff394f5316aa22cb4e12761295c5dc57dacb6297e"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
@@ -3280,9 +3280,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.85"
+version = "0.2.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "358a79a0cb89d21db8120cbfb91392335913e4890665b1a7981d9e956903b434"
+checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258"
dependencies = [
"quote 1.0.27",
"wasm-bindgen-macro-support",
@@ -3290,28 +3290,28 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.85"
+version = "0.2.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4783ce29f09b9d93134d41297aded3a712b7b979e9c6f28c32cb88c973a94869"
+checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8"
dependencies = [
- "proc-macro2 1.0.56",
+ "proc-macro2 1.0.58",
"quote 1.0.27",
- "syn 2.0.15",
+ "syn 2.0.16",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.85"
+version = "0.2.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a901d592cafaa4d711bc324edfaff879ac700b19c3dfd60058d2b445be2691eb"
+checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93"
[[package]]
name = "web-sys"
-version = "0.3.62"
+version = "0.3.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16b5f940c7edfdc6d12126d98c9ef4d1b3d470011c47c76a6581df47ad9ba721"
+checksum = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -3319,7 +3319,7 @@ dependencies = [
[[package]]
name = "websurfx"
-version = "0.6.0"
+version = "0.8.0"
dependencies = [
"actix-files",
"actix-web",
@@ -3331,12 +3331,12 @@ dependencies = [
"once_cell",
"rand 0.8.5",
"redis",
- "reqwest 0.11.17",
+ "reqwest 0.11.18",
"rlua",
"scraper",
"serde",
"serde_json",
- "tokio 1.28.0",
+ "tokio 1.28.1",
]
[[package]]
From a7a28ed8c64d54c7f47a53106032d49c2aeef058 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Wed, 24 May 2023 12:01:36 +0300
Subject: [PATCH 18/52] chore: make websurfx directory and config file names as
constants
---
src/config_parser/parser.rs | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/src/config_parser/parser.rs b/src/config_parser/parser.rs
index 66a9284..bbeba86 100644
--- a/src/config_parser/parser.rs
+++ b/src/config_parser/parser.rs
@@ -5,6 +5,10 @@ use super::parser_models::Style;
use rlua::Lua;
use std::{format, fs, path::Path};
+// ------- Constants --------
+static COMMON_DIRECTORY_NAME: &str = "websurfx";
+static CONFIG_FILE_NAME: &str = "config.lua";
+
/// A named struct which stores the parsed config file options.
///
/// # Fields
@@ -67,20 +71,29 @@ impl Config {
fn handle_different_config_file_path() -> Result> {
if Path::new(
format!(
- "{}/.config/websurfx/config.lua",
- std::env::var("HOME").unwrap()
+ "{}/.config/{}/config.lua",
+ std::env::var("HOME").unwrap(),
+ COMMON_DIRECTORY_NAME
)
.as_str(),
)
.exists()
{
Ok(format!(
- "{}/.config/websurfx/config.lua",
- std::env::var("HOME").unwrap()
+ "{}/.config/{}/{}",
+ std::env::var("HOME").unwrap(),
+ COMMON_DIRECTORY_NAME,
+ CONFIG_FILE_NAME
))
- } else if Path::new("/etc/xdg/websurfx/config.lua").exists() {
+ } else if Path::new(
+ format!("/etc/xdg/{}/{}", COMMON_DIRECTORY_NAME, CONFIG_FILE_NAME).as_str(),
+ )
+ .exists()
+ {
Ok("/etc/xdg/websurfx/config.lua".to_string())
- } else if Path::new("./websurfx/config.lua").exists() {
+ } else if Path::new(format!("./{}/{}", COMMON_DIRECTORY_NAME, CONFIG_FILE_NAME).as_str())
+ .exists()
+ {
Ok("./websurfx/config.lua".to_string())
} else {
Err(format!("Config file not found!!").into())
From 29456650f1c86eb6bf690c92b3006ac8d1cfceb7 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Wed, 24 May 2023 17:37:41 +0300
Subject: [PATCH 19/52] feat: add ability to put the themes folder on different
paths
---
src/lib.rs | 16 ++++++++++---
src/server/routes.rs | 4 +++-
src/theme_handler/mod.rs | 1 +
src/theme_handler/theme_path_handler.rs | 31 +++++++++++++++++++++++++
4 files changed, 48 insertions(+), 4 deletions(-)
create mode 100644 src/theme_handler/mod.rs
create mode 100644 src/theme_handler/theme_path_handler.rs
diff --git a/src/lib.rs b/src/lib.rs
index c234658..0763c96 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -6,6 +6,7 @@ pub mod config_parser;
pub mod engines;
pub mod search_results_handler;
pub mod server;
+pub mod theme_handler;
use std::net::TcpListener;
@@ -15,6 +16,7 @@ use actix_files as fs;
use actix_web::{dev::Server, middleware::Logger, web, App, HttpServer};
use config_parser::parser::Config;
use handlebars::Handlebars;
+use theme_handler::theme_path_handler::handle_different_theme_path;
/// Runs the web server on the provided TCP listener and returns a `Server` instance.
///
@@ -39,8 +41,10 @@ use handlebars::Handlebars;
pub fn run(listener: TcpListener, config: Config) -> std::io::Result {
let mut handlebars: Handlebars = Handlebars::new();
+ let theme_folder_path: String = handle_different_theme_path()?;
+
handlebars
- .register_templates_directory(".html", "./public/templates")
+ .register_templates_directory(".html", format!("{}/templates", theme_folder_path))
.unwrap();
let handlebars_ref: web::Data = web::Data::new(handlebars);
@@ -51,8 +55,14 @@ pub fn run(listener: TcpListener, config: Config) -> std::io::Result {
.app_data(web::Data::new(config.clone()))
.wrap(Logger::default()) // added logging middleware for logging.
// Serve images and static files (css and js files).
- .service(fs::Files::new("/static", "./public/static").show_files_listing())
- .service(fs::Files::new("/images", "./public/images").show_files_listing())
+ .service(
+ fs::Files::new("/static", format!("{}/static", theme_folder_path))
+ .show_files_listing(),
+ )
+ .service(
+ fs::Files::new("/images", format!("{}/images", theme_folder_path))
+ .show_files_listing(),
+ )
.service(routes::robots_data) // robots.txt
.service(routes::index) // index page
.service(routes::search) // search page
diff --git a/src/server/routes.rs b/src/server/routes.rs
index 0f84cc9..bb6be27 100644
--- a/src/server/routes.rs
+++ b/src/server/routes.rs
@@ -8,6 +8,7 @@ use crate::{
cache::cacher::RedisCache,
config_parser::parser::Config,
search_results_handler::{aggregation_models::SearchResults, aggregator::aggregate},
+ theme_handler::theme_path_handler::handle_different_theme_path,
};
use actix_web::{get, web, HttpRequest, HttpResponse};
use handlebars::Handlebars;
@@ -146,7 +147,8 @@ pub async fn search(
/// Handles the route of robots.txt page of the `websurfx` meta search engine website.
#[get("/robots.txt")]
pub async fn robots_data(_req: HttpRequest) -> Result> {
- let page_content: String = read_to_string("./public/robots.txt")?;
+ let page_content: String =
+ read_to_string(format!("{}/robots.txt", handle_different_theme_path()?))?;
Ok(HttpResponse::Ok()
.content_type("text/plain; charset=ascii")
.body(page_content))
diff --git a/src/theme_handler/mod.rs b/src/theme_handler/mod.rs
new file mode 100644
index 0000000..3bbca9d
--- /dev/null
+++ b/src/theme_handler/mod.rs
@@ -0,0 +1 @@
+pub mod theme_path_handler;
diff --git a/src/theme_handler/theme_path_handler.rs b/src/theme_handler/theme_path_handler.rs
new file mode 100644
index 0000000..df3e5cc
--- /dev/null
+++ b/src/theme_handler/theme_path_handler.rs
@@ -0,0 +1,31 @@
+//! This module provides the functionality to handle theme folder present on different paths and
+//! provide one appropriate path on which it is present and can be used.
+
+use std::io::Error;
+use std::path::Path;
+
+// ------- Constants --------
+static THEME_DIRECTORY_NAME: &str = "public";
+
+/// A function which returns an appropriate theme directory path checking if the theme
+/// directory exists on that path.
+///
+/// # Error
+///
+/// Returns a `Theme (public) folder not found!!` error if the theme folder is not present under following
+/// paths which are:
+/// 1. `/opt/websurfx` if it not present here then it fallbacks to the next one (2)
+/// 2. Under project folder ( or codebase in other words) if it is not present
+/// here then it returns an error as mentioned above.
+pub fn handle_different_theme_path() -> Result {
+ if Path::new(format!("/opt/websurfx/{}/", THEME_DIRECTORY_NAME).as_str()).exists() {
+ Ok(format!("/opt/websurfx/{}", THEME_DIRECTORY_NAME))
+ } else if Path::new(format!("./{}/", THEME_DIRECTORY_NAME).as_str()).exists() {
+ Ok(format!("./{}", THEME_DIRECTORY_NAME))
+ } else {
+ Err(Error::new(
+ std::io::ErrorKind::NotFound,
+ "Themes (public) folder not found!!",
+ ))
+ }
+}
From 42feda0c460fa47d0adf2553197b519aef94c295 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Wed, 24 May 2023 17:40:21 +0300
Subject: [PATCH 20/52] chore: Bump version to v0.9.0
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index d19acb2..76335f8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "websurfx"
-version = "0.8.0"
+version = "0.9.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
From 211f170178b12c6c40a033b7a70a91156132a89f Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Wed, 24 May 2023 17:46:35 +0300
Subject: [PATCH 21/52] chore: fix lock error during build
---
Cargo.lock | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 02bf14f..ef32619 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1242,9 +1242,9 @@ dependencies = [
[[package]]
name = "io-lifetimes"
-version = "1.0.10"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220"
+checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
dependencies = [
"hermit-abi 0.3.1",
"libc",
@@ -3319,7 +3319,7 @@ dependencies = [
[[package]]
name = "websurfx"
-version = "0.8.0"
+version = "0.9.0"
dependencies = [
"actix-files",
"actix-web",
From dc3308cb5f5e28f6dbebe80aafdc2bd2efcf2532 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Thu, 25 May 2023 11:50:37 +0300
Subject: [PATCH 22/52] chore: rename from theme to public
---
src/handler/mod.rs | 1 +
.../public_path_handler.rs} | 12 ++++++------
src/lib.rs | 12 ++++++------
src/server/routes.rs | 4 ++--
src/theme_handler/mod.rs | 1 -
5 files changed, 15 insertions(+), 15 deletions(-)
create mode 100644 src/handler/mod.rs
rename src/{theme_handler/theme_path_handler.rs => handler/public_path_handler.rs} (68%)
delete mode 100644 src/theme_handler/mod.rs
diff --git a/src/handler/mod.rs b/src/handler/mod.rs
new file mode 100644
index 0000000..daa5212
--- /dev/null
+++ b/src/handler/mod.rs
@@ -0,0 +1 @@
+pub mod public_path_handler;
diff --git a/src/theme_handler/theme_path_handler.rs b/src/handler/public_path_handler.rs
similarity index 68%
rename from src/theme_handler/theme_path_handler.rs
rename to src/handler/public_path_handler.rs
index df3e5cc..b99283e 100644
--- a/src/theme_handler/theme_path_handler.rs
+++ b/src/handler/public_path_handler.rs
@@ -5,7 +5,7 @@ use std::io::Error;
use std::path::Path;
// ------- Constants --------
-static THEME_DIRECTORY_NAME: &str = "public";
+static PUBLIC_DIRECTORY_NAME: &str = "public";
/// A function which returns an appropriate theme directory path checking if the theme
/// directory exists on that path.
@@ -17,11 +17,11 @@ static THEME_DIRECTORY_NAME: &str = "public";
/// 1. `/opt/websurfx` if it not present here then it fallbacks to the next one (2)
/// 2. Under project folder ( or codebase in other words) if it is not present
/// here then it returns an error as mentioned above.
-pub fn handle_different_theme_path() -> Result {
- if Path::new(format!("/opt/websurfx/{}/", THEME_DIRECTORY_NAME).as_str()).exists() {
- Ok(format!("/opt/websurfx/{}", THEME_DIRECTORY_NAME))
- } else if Path::new(format!("./{}/", THEME_DIRECTORY_NAME).as_str()).exists() {
- Ok(format!("./{}", THEME_DIRECTORY_NAME))
+pub fn handle_different_public_path() -> Result {
+ if Path::new(format!("/opt/websurfx/{}/", PUBLIC_DIRECTORY_NAME).as_str()).exists() {
+ Ok(format!("/opt/websurfx/{}", PUBLIC_DIRECTORY_NAME))
+ } else if Path::new(format!("./{}/", PUBLIC_DIRECTORY_NAME).as_str()).exists() {
+ Ok(format!("./{}", PUBLIC_DIRECTORY_NAME))
} else {
Err(Error::new(
std::io::ErrorKind::NotFound,
diff --git a/src/lib.rs b/src/lib.rs
index 0763c96..6b6d4fe 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,9 +4,9 @@
pub mod cache;
pub mod config_parser;
pub mod engines;
+pub mod handler;
pub mod search_results_handler;
pub mod server;
-pub mod theme_handler;
use std::net::TcpListener;
@@ -16,7 +16,7 @@ use actix_files as fs;
use actix_web::{dev::Server, middleware::Logger, web, App, HttpServer};
use config_parser::parser::Config;
use handlebars::Handlebars;
-use theme_handler::theme_path_handler::handle_different_theme_path;
+use handler::public_path_handler::handle_different_public_path;
/// Runs the web server on the provided TCP listener and returns a `Server` instance.
///
@@ -41,10 +41,10 @@ use theme_handler::theme_path_handler::handle_different_theme_path;
pub fn run(listener: TcpListener, config: Config) -> std::io::Result {
let mut handlebars: Handlebars = Handlebars::new();
- let theme_folder_path: String = handle_different_theme_path()?;
+ let public_folder_path: String = handle_different_public_path()?;
handlebars
- .register_templates_directory(".html", format!("{}/templates", theme_folder_path))
+ .register_templates_directory(".html", format!("{}/templates", public_folder_path))
.unwrap();
let handlebars_ref: web::Data = web::Data::new(handlebars);
@@ -56,11 +56,11 @@ pub fn run(listener: TcpListener, config: Config) -> std::io::Result {
.wrap(Logger::default()) // added logging middleware for logging.
// Serve images and static files (css and js files).
.service(
- fs::Files::new("/static", format!("{}/static", theme_folder_path))
+ fs::Files::new("/static", format!("{}/static", public_folder_path))
.show_files_listing(),
)
.service(
- fs::Files::new("/images", format!("{}/images", theme_folder_path))
+ fs::Files::new("/images", format!("{}/images", public_folder_path))
.show_files_listing(),
)
.service(routes::robots_data) // robots.txt
diff --git a/src/server/routes.rs b/src/server/routes.rs
index bb6be27..ead1612 100644
--- a/src/server/routes.rs
+++ b/src/server/routes.rs
@@ -7,8 +7,8 @@ use std::fs::read_to_string;
use crate::{
cache::cacher::RedisCache,
config_parser::parser::Config,
+ handler::public_path_handler::handle_different_public_path,
search_results_handler::{aggregation_models::SearchResults, aggregator::aggregate},
- theme_handler::theme_path_handler::handle_different_theme_path,
};
use actix_web::{get, web, HttpRequest, HttpResponse};
use handlebars::Handlebars;
@@ -148,7 +148,7 @@ pub async fn search(
#[get("/robots.txt")]
pub async fn robots_data(_req: HttpRequest) -> Result> {
let page_content: String =
- read_to_string(format!("{}/robots.txt", handle_different_theme_path()?))?;
+ read_to_string(format!("{}/robots.txt", handle_different_public_path()?))?;
Ok(HttpResponse::Ok()
.content_type("text/plain; charset=ascii")
.body(page_content))
diff --git a/src/theme_handler/mod.rs b/src/theme_handler/mod.rs
deleted file mode 100644
index 3bbca9d..0000000
--- a/src/theme_handler/mod.rs
+++ /dev/null
@@ -1 +0,0 @@
-pub mod theme_path_handler;
From de3d88c476c8b1d883749d850cdbfb468d6ad540 Mon Sep 17 00:00:00 2001
From: sathiyaIbe
Date: Fri, 26 May 2023 11:38:53 +0530
Subject: [PATCH 23/52] fix issue: #56 removed the meta seach engine link
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 1ea56f7..5e3dd4e 100644
--- a/README.md
+++ b/README.md
@@ -192,7 +192,7 @@ At present, we only support x86_64 architecture systems, but we would love to ha
## Why Websurfx?
-The primary purpose of the Websurfx project is to create a fast, secure, and privacy-focused [meta-search engine](https://en.wikipedia.org/wiki/Metasearch_engine). While there are numerous meta-search engines available, not all of them guarantee the security of their search engine, which is critical for maintaining privacy. Memory flaws, for example, can expose private or sensitive information, which is never a good thing. Also, there is the added problem of Spam, ads, and unorganic results which most engines don't have the full-proof answer to it till now but with Websurfx I finally put a full stop to this problem, also, Rust is used to write Websurfx, which ensures memory safety and removes such issues. Many meta-search engines also lack important features like advanced picture search, which is required by many graphic designers, content providers, and others. Websurfx attempts to improve the user experience by providing these and other features, such as proper NSFW blocking and Micro-apps or Quick results (like providing a calculator, currency exchanges, etc in the search results).
+The primary purpose of the Websurfx project is to create a fast, secure, and privacy-focused meta-search engine. While there are numerous meta-search engines available, not all of them guarantee the security of their search engine, which is critical for maintaining privacy. Memory flaws, for example, can expose private or sensitive information, which is never a good thing. Also, there is the added problem of Spam, ads, and unorganic results which most engines don't have the full-proof answer to it till now but with Websurfx I finally put a full stop to this problem, also, Rust is used to write Websurfx, which ensures memory safety and removes such issues. Many meta-search engines also lack important features like advanced picture search, which is required by many graphic designers, content providers, and others. Websurfx attempts to improve the user experience by providing these and other features, such as proper NSFW blocking and Micro-apps or Quick results (like providing a calculator, currency exchanges, etc in the search results).
## Why AGPLv3?
From eee06b92d7fd4e6accd53122361de7a94b73adc3 Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Fri, 26 May 2023 12:50:50 +0300
Subject: [PATCH 24/52] docs: revise and improve the documentation
---
docs/configuration.md | 14 ++++++++++--
docs/faq.md | 4 ++--
docs/installation.md | 53 ++++++++++++++++++++++++++++++++++++-------
docs/introduction.md | 2 +-
docs/theming.md | 43 ++++++++++++++++++++++++++++++++++-
5 files changed, 102 insertions(+), 14 deletions(-)
diff --git a/docs/configuration.md b/docs/configuration.md
index be0325a..bb10ba6 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1,6 +1,15 @@
# Configuration
-Everything in websurfx can be configured through the config file located at `websurfx/config.lua`.
+## Installed From Source
+
+If you have built `websurfx` from source then the configuration file will be located under project directory (codebase) at `websurfx/`
+
+> **Note**
+> If you have built websurfx with unstable/rolling/edge branch then you can copy the configuration file from `websurfx/config.lua` located under project directory (codebase) to `~/.config/websurfx/` and make the changes there and rerun the websurfx server. _This is only available from unstable/rolling/edge version_.
+
+## Installed From Package
+
+If you have installed `websurfx` using the package manager of your Linux distro then the default configuration file will be located at `/etc/xdg/websurfx/`. You can copy the default config to `~/.config/websurfx/` and make the changes there and rerun the websurfx server.
Some of the configuration options provided in the file are stated below. These are subdivided into three categories:
@@ -12,6 +21,7 @@ Some of the configuration options provided in the file are stated below. These a
- **port:** Port number on which server should be launched.
- **binding_ip_addr:** IP address on the which server should be launched.
+- **production_use:** Whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users). If production_use is set to true. There will be a random delay before sending the request to the search engines, this is to prevent DDoSing the upstream search engines from a large number of simultaneous requests. This is newly added option and hence is only available in the **edge version**.
## Website
@@ -39,4 +49,4 @@ Some of the configuration options provided in the file are stated below. These a
- **redis_connection_url:** Redis connection url address on which the client should connect on.
-[⬅️ Go back to Home](https://github.com/neon-mmd/websurfx/wiki).
+[⬅️ Go back to Home](./README.md)
diff --git a/docs/faq.md b/docs/faq.md
index 1805487..cbd3582 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -2,7 +2,7 @@
## Why Websurfx?
-The main goal of the Websurfx project is to provide a fast, secure, and privacy-focused [meta search engine](https://en.wikipedia.org/wiki/Metasearch_engine). While there are many meta search engines available, they do not always guarantee the security of their search engine, which is essential for ensuring privacy. For example, memory vulnerabilities can leak private or sensitive information, which is never good. Websurfx is written in Rust, which guarantees memory safety and eliminates such problems. Many meta search engines also lack key features such as advanced image search, which is required by many graphic designers, content creators, and others. Websurfx aims to provide these features and others, such as proper NSFW blocking, to improve the user experience.
+The primary purpose of the Websurfx project is to create a fast, secure, and privacy-focused [meta-search engine](https://en.wikipedia.org/wiki/Metasearch_engine). While there are numerous meta-search engines available, not all of them guarantee the security of their search engine, which is critical for maintaining privacy. Memory flaws, for example, can expose private or sensitive information, which is never a good thing. Also, there is the added problem of Spam, ads, and unorganic results which most engines don't have the full-proof answer to it till now but with Websurfx I finally put a full stop to this problem, also, Rust is used to write Websurfx, which ensures memory safety and removes such issues. Many meta-search engines also lack important features like advanced picture search, which is required by many graphic designers, content providers, and others. Websurfx attempts to improve the user experience by providing these and other features, such as proper NSFW blocking and Micro-apps or Quick results (like providing a calculator, currency exchanges, etc in the search results).
## Why AGPLv3?
@@ -12,4 +12,4 @@ Websurfx is released under the AGPLv3 license to ensure that the source code rem
Rust was chosen as the programming language for Websurfx due to its memory safety features, which can help prevent vulnerabilities and make the codebase more secure. Rust is also faster than C++, which helps to make Websurfx fast and responsive. In addition, Rust's ownership and borrowing system allows for safe concurrency and thread safety in the codebase.
-[⬅️ Go back to Home](https://github.com/neon-mmd/websurfx/wiki).
+[⬅️ Go back to Home](./README.md)
diff --git a/docs/installation.md b/docs/installation.md
index c9aa6f1..050be70 100644
--- a/docs/installation.md
+++ b/docs/installation.md
@@ -1,16 +1,47 @@
-# Stable
+# Install From Package
-To get started with Websurfx, clone the repository, edit the config file which is located in the `websurfx` directory and install redis server by following the instructions located [here](https://redis.io/docs/getting-started/) and then run the websurfx server and redis server using the following commands:
+## Arch Linux
+
+You can install `Websurfx` through the [Aur](https://aur.archlinux.org/packages/websurfx-git), Currently we only support `Rolling/Edge` version. You can install the rolling/edge version by running the following command (using [paru](https://github.com/Morganamilo/paru)):
+
+```bash
+paru -S websurfx-edge-git
+```
+
+After installing it you can run the websurfx server by running the following commands:
+
+``` bash
+redis-server --port 8082 &
+websurfx
+```
+
+Once you have started the server, open your preferred web browser and navigate to http://127.0.0.1:8080/ to start using Websurfx.
+
+If you want to change the port or the ip or any other configuration setting checkout the [configuration docs](./configuration.md).
+
+## Other Distros
+
+The package is currently not available on other Linux distros. With contribution and support it can be made available on other distros as well 🙂.
+
+# Install From Source
+
+## Stable
+
+To get started with Websurfx, clone the repository, edit the config file which is located in the `websurfx` directory and install redis server by following the instructions located [here](https://redis.io/docs/getting-started/) and then build and run the websurfx server by running the following commands:
```shell
git clone https://github.com/neon-mmd/websurfx.git
cd websurfx
-cargo build
+cargo build -r
redis-server --port 8082 &
./target/debug/websurfx
```
-# Rolling/Edge/Unstable
+Once you have started the server, open your preferred web browser and navigate to http://127.0.0.1:8080/ to start using Websurfx.
+
+If you want to change the port or the ip or any other configuration setting checkout the [configuration docs](./configuration.md).
+
+## Rolling/Edge/Unstable
If you want to use the rolling/edge branch, run the following commands instead:
@@ -18,13 +49,15 @@ If you want to use the rolling/edge branch, run the following commands instead:
git clone https://github.com/neon-mmd/websurfx.git
cd websurfx
git checkout rolling
-cargo build
+cargo build -r
redis-server --port 8082 &
./target/debug/websurfx
```
Once you have started the server, open your preferred web browser and navigate to http://127.0.0.1:8080/ to start using Websurfx.
+If you want to change the port or the ip or any other configuration setting checkout the [configuration docs](./configuration.md).
+
# Docker Deployment
Before you start, you will need [Docker](https://docs.docker.com/get-docker/) installed on your system first.
@@ -61,7 +94,11 @@ colorscheme = "catppuccin-mocha" -- the colorscheme name which should be used fo
theme = "simple" -- the theme name which should be used for the website
-- Caching
-redis_connection_url = "redis://redis:6379" -- redis connection url address on which the client should connect on.
+redis_connection_url = "redis://127.0.0.1:8082" -- redis connection url address on which the client should connect on.
+
+production_use = false -- whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users)
+-- if production_use is set to true
+ -- There will be a random delay before sending the request to the search engines, this is to prevent DDoSing the upstream search engines from a large number of simultaneous requests.
```
After this run the following command to deploy the app:
@@ -74,7 +111,7 @@ This will take around 5-10 mins for first deployment, afterwards the docker buil
## Unstable/Edge/Rolling
-For the unstable/rolling/edge version, follow the same steps as above with an addition of one command for cloning the repository which makes the cloning step as follows:
+For the unstable/rolling/edge version, follow the same steps as above (as mentioned for the stable version) with an addition of one command which has to be performed after cloning and changing directory into the repository which makes the cloning step as follows:
```bash
git clone https://github.com/neon-mmd/websurfx.git
@@ -82,4 +119,4 @@ cd websurfx
git checkout rolling
```
-[⬅️ Go back to Home](https://github.com/neon-mmd/websurfx/wiki).
+[⬅️ Go back to Home](./README.md)
diff --git a/docs/introduction.md b/docs/introduction.md
index 476f509..7b540fb 100644
--- a/docs/introduction.md
+++ b/docs/introduction.md
@@ -10,4 +10,4 @@ Most meta search engines tend to be slow, lack high level of customization and m
Websurfx is a project which seeks to provide privacy, security, speed and all the features which the user wants.
-[⬅️ Go back to Home](https://github.com/neon-mmd/websurfx/wiki).
+[⬅️ Go back to Home](./README.md)
diff --git a/docs/theming.md b/docs/theming.md
index 95ff7ff..49f3f22 100644
--- a/docs/theming.md
+++ b/docs/theming.md
@@ -321,4 +321,45 @@ footer {
}
```
-[⬅️ Go back to Home](https://github.com/neon-mmd/websurfx/wiki).
+### Styles for the about page
+
+This part is only available right now in the **rolling/edge/unstable** version
+
+```css
+.about-container article{
+ font-size: 1.5rem;
+ color:var(--fg);
+ padding-bottom: 10px;
+ }
+
+.about-container article h1{
+ color: var(--2);
+ font-size: 2.8rem;
+ }
+
+.about-container article div{
+ padding-bottom: 15px;
+ }
+
+.about-container a{
+ color:var(--3);
+}
+
+.about-container article h2{
+ color: var(--3);
+ font-size: 1.8rem;
+ padding-bottom: 10px;
+}
+
+.about-container p{
+ color:var(--fg);
+ font-size: 1.6rem;
+ padding-bottom: 10px;
+}
+
+.about-container h3{
+ font-size: 1.5rem;
+}
+```
+
+[⬅️ Go back to Home](./README.md)
From 34ae87e4a43c6849cd986f94b0498166d7fbec4f Mon Sep 17 00:00:00 2001
From: neon_arch
Date: Fri, 26 May 2023 13:15:39 +0300
Subject: [PATCH 25/52] chore: revise and improve the readme
---
README.md | 82 +++++++++++--------------------------------
images/main_page.png | Bin 36381 -> 37287 bytes
2 files changed, 20 insertions(+), 62 deletions(-)
diff --git a/README.md b/README.md
index 5e3dd4e..a7483a6 100644
--- a/README.md
+++ b/README.md
@@ -5,68 +5,26 @@
Readme |
Discord |
GitHub |
- Documentation
+ Documentation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Features 🚀
@@ -136,11 +94,11 @@
- 💨 Ad-free and clean results
- 🌟 and lots more...
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Installation and Testing 🛠️
-> For full setup instructions, see: [**Installation**](https://github.com/neon-mmd/websurfx/wiki/installation)
+> For full setup instructions, see: [**Installation**](./docs/installation.md)
To get started with Websurfx, clone the repository, edit the config file, which is located in the `websurfx`{.verbatim} directory, and install the Redis server by following the instructions located [here](https://redis.io/docs/getting-started/) and then run the websurfx server and redis server using the following commands:
@@ -157,36 +115,36 @@ Once you have started the server, open your preferred web browser and navigate t
> **Warning**
> Please be aware that the project is still in the testing phase and is not ready for production use.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Configuration 🔧
-> For full configuration instructions, see: [**Configuration**](https://github.com/neon-mmd/websurfx/wiki/configuration)
+> For full configuration instructions, see: [**Configuration**](./docs/configuration.md)
Websurfx is configured through the config.lua file, located at `websurfx/config.lua`.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Theming 🎨
-> For full theming and customization instructions, see: [**Theming**](https://github.com/neon-mmd/websurfx/wiki/theming)
+> For full theming and customization instructions, see: [**Theming**](./docs/theming.md)
Websurfx comes with several themes and color schemes by default, which you can apply and edit through the config file. Supports custom themes and color schemes using CSS, allowing you to develop your own unique-looking website.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Multi-Language Support 🌍
> **Note**
> Currently, we do not support other languages, but in the future, we will start accepting contributions regarding language support because we believe that language should not be a barrier to entry.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# System Requirements 📊
At present, we only support x86_64 architecture systems, but we would love to have contributions that extend to other architectures as well.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# FAQ (Frequently Asked Questions) 🗨️
@@ -202,13 +160,13 @@ Websurfx is distributed under the **AGPLv3** license to keep the source code ope
Rust was chosen as the programming language for Websurfx because of its memory safety features, which can help prevent vulnerabilities and make the codebase more secure. Rust is also faster than C++, which contributes to Websurfx's speed and responsiveness. Furthermore, the Rust ownership and borrowing system enables secure concurrency and thread safety in the program.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# More Contributers Wanted 📣
We are looking for more willing contributors to help grow this project. For more information on how you can contribute, check out the [project board](https://github.com/neon-mmd/websurfx/projects?query=is%3Aopen) and the [CONTRIBUTING.md](CONTRIBUTING.md) file for guidelines and rules for making contributions.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Supporting Websurfx 💖
@@ -224,20 +182,20 @@ Several areas that we need a bit of help with at the moment are:
- Submit a PR to add a new feature, fix a bug, update the docs, add a theme, widget, or something else.
- Star Websurfx on GitHub.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Documentation 📘
> **Note**
-> We welcome any contributions to the [documentation](https://github.com/neon-mmd/websurfx/wiki) as this will benefit everyone who uses this project.
+> We welcome any contributions to the [documentation](./docs/) as this will benefit everyone who uses this project.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Roadmap 🛣️
> Coming soon!! 🙂.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Contributing 🙋
@@ -251,13 +209,13 @@ Check out this [video](https://youtu.be/FccdqCucVSI) by Mr. Nick on how to contr
If you are a developer, have a look at the [CONTRIBUTING.org](CONTRIBUTING.md) document for more information.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# License 📜
Websurfx is licensed under the [AGPLv3](LICENSE) license.
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
# Credits 🤝
@@ -271,7 +229,7 @@ We would like to thank the following people for their contributions and support:
-**[⬆️ Back to Top](#websurfx)**
+**[⬆️ Back to Top](#--)**
---
diff --git a/images/main_page.png b/images/main_page.png
index 0db122276d62253adb3fa0c081ddf0766f88fb5e..337eac53e8d38050e9e29e1aeccdaa4d4a8e5a45 100644
GIT binary patch
literal 37287
zcmeFZXHb)GyDu7hLE(=yr79>&7im(X0@6Xcw16PJOHY8Ph#*x&KswTE5GjE`2uhXS
zLrX$03B839k{x{Cwf31=`<&T(W`8&zR%V!xhdcLkU;THLhfgoGRjyxUy$S#TuB)jk
z=>Y&23;}?%%a_kmuMlb8_fX%ic&M6q0RXfur$1*B1Zdd+fZG5yrKbk|X{(rkK!ZIb
zWvfqGEdKS+FVUZ`-%vgKA^pb(t?{_l3+J5Z9h}YF&CFVbh1bf=%&O6rEY-+rH#GkQ
z|Fqt?`Pl2&RgJfI@810!x_YenCD|(&dhO#s);Ioq_}olbX?`T_wV2kIe8V1#TYGR4
z7R^j=f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