Spaces:
Runtime error
Runtime error
Merge branch 'rolling' into dependabot/cargo/mlua-0.9.1
Browse files- .github/workflows/contributors.yml +2 -2
- .github/workflows/labels.yml +1 -1
- .github/workflows/mega-linter.yml +1 -1
- .github/workflows/rust.yml +2 -2
- .github/workflows/rust_format.yml +1 -1
- .github/workflows/stale.yml +1 -1
- .mergify.yml +18 -0
- Cargo.lock +32 -10
- Cargo.toml +2 -2
- README.md +9 -0
.github/workflows/contributors.yml
CHANGED
@@ -17,13 +17,13 @@ jobs:
|
|
17 |
|
18 |
steps:
|
19 |
- name: Checkout code
|
20 |
-
uses: actions/checkout@
|
21 |
with:
|
22 |
fetch-depth: 0
|
23 |
ref: ${{ github.event.repository.default_branch }}
|
24 |
|
25 |
- name: Update contributors list
|
26 |
-
uses: wow-actions/contributors-list@
|
27 |
with:
|
28 |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
29 |
svgPath: images/contributors_list.svg
|
|
|
17 |
|
18 |
steps:
|
19 |
- name: Checkout code
|
20 |
+
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
21 |
with:
|
22 |
fetch-depth: 0
|
23 |
ref: ${{ github.event.repository.default_branch }}
|
24 |
|
25 |
- name: Update contributors list
|
26 |
+
uses: wow-actions/contributors-list@242b53835016268d20e79eeff6f42193c02be8c8 # v1.2.0
|
27 |
with:
|
28 |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
29 |
svgPath: images/contributors_list.svg
|
.github/workflows/labels.yml
CHANGED
@@ -12,7 +12,7 @@ jobs:
|
|
12 |
runs-on: ubuntu-latest
|
13 |
|
14 |
steps:
|
15 |
-
- uses: actions/setup-node@
|
16 |
with:
|
17 |
node-version: '14'
|
18 |
- uses: EddieHubCommunity/gh-action-open-source-labels@main
|
|
|
12 |
runs-on: ubuntu-latest
|
13 |
|
14 |
steps:
|
15 |
+
- uses: actions/setup-node@v3
|
16 |
with:
|
17 |
node-version: '14'
|
18 |
- uses: EddieHubCommunity/gh-action-open-source-labels@main
|
.github/workflows/mega-linter.yml
CHANGED
@@ -32,7 +32,7 @@ jobs:
|
|
32 |
steps:
|
33 |
# Git Checkout
|
34 |
- name: Checkout Code
|
35 |
-
uses: actions/checkout@
|
36 |
with:
|
37 |
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
38 |
|
|
|
32 |
steps:
|
33 |
# Git Checkout
|
34 |
- name: Checkout Code
|
35 |
+
uses: actions/checkout@v4
|
36 |
with:
|
37 |
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
38 |
|
.github/workflows/rust.yml
CHANGED
@@ -25,7 +25,7 @@ jobs:
|
|
25 |
run: |
|
26 |
sudo apt-get update
|
27 |
sudo apt-get install -y --no-install-recommends liblua5.4-dev liblua5.3-dev liblua5.2-dev liblua5.1-0-dev libluajit-5.1-dev
|
28 |
-
- uses: actions/checkout@
|
29 |
- run: rustup toolchain install stable --profile minimal
|
30 |
- uses: Swatinem/rust-cache@v2
|
31 |
with:
|
@@ -39,7 +39,7 @@ jobs:
|
|
39 |
cache-on-failure: ''
|
40 |
cache-all-crates: ''
|
41 |
save-if: ''
|
42 |
-
- uses: actions/checkout@
|
43 |
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
44 |
- name: Build
|
45 |
run: cargo build --verbose
|
|
|
25 |
run: |
|
26 |
sudo apt-get update
|
27 |
sudo apt-get install -y --no-install-recommends liblua5.4-dev liblua5.3-dev liblua5.2-dev liblua5.1-0-dev libluajit-5.1-dev
|
28 |
+
- uses: actions/checkout@v4
|
29 |
- run: rustup toolchain install stable --profile minimal
|
30 |
- uses: Swatinem/rust-cache@v2
|
31 |
with:
|
|
|
39 |
cache-on-failure: ''
|
40 |
cache-all-crates: ''
|
41 |
save-if: ''
|
42 |
+
- uses: actions/checkout@v4
|
43 |
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
44 |
- name: Build
|
45 |
run: cargo build --verbose
|
.github/workflows/rust_format.yml
CHANGED
@@ -17,7 +17,7 @@ jobs:
|
|
17 |
run: |
|
18 |
sudo apt-get update
|
19 |
sudo apt-get install -y --no-install-recommends liblua5.4-dev liblua5.3-dev liblua5.2-dev liblua5.1-0-dev libluajit-5.1-dev
|
20 |
-
- uses: actions/checkout@
|
21 |
- name: Install minimal stable with clippy and rustfmt
|
22 |
uses: actions-rs/toolchain@v1
|
23 |
with:
|
|
|
17 |
run: |
|
18 |
sudo apt-get update
|
19 |
sudo apt-get install -y --no-install-recommends liblua5.4-dev liblua5.3-dev liblua5.2-dev liblua5.1-0-dev libluajit-5.1-dev
|
20 |
+
- uses: actions/checkout@v4
|
21 |
- name: Install minimal stable with clippy and rustfmt
|
22 |
uses: actions-rs/toolchain@v1
|
23 |
with:
|
.github/workflows/stale.yml
CHANGED
@@ -19,7 +19,7 @@ jobs:
|
|
19 |
pull-requests: write
|
20 |
|
21 |
steps:
|
22 |
-
- uses: actions/stale@
|
23 |
with:
|
24 |
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
25 |
stale-issue-message: 'Stale issue message'
|
|
|
19 |
pull-requests: write
|
20 |
|
21 |
steps:
|
22 |
+
- uses: actions/stale@v8
|
23 |
with:
|
24 |
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
25 |
stale-issue-message: 'Stale issue message'
|
.mergify.yml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pull_request_rules:
|
2 |
+
- name: Automatic merge on approval
|
3 |
+
conditions:
|
4 |
+
- "status-success=checks/approved"
|
5 |
+
- "#approved-reviews-by>=2"
|
6 |
+
actions:
|
7 |
+
queue:
|
8 |
+
method: squash
|
9 |
+
- name: automatic update of pull requests where more 5 commits behind
|
10 |
+
conditions:
|
11 |
+
- "#commits-behind>5"
|
12 |
+
actions:
|
13 |
+
update:
|
14 |
+
- name: delete head branch after merge
|
15 |
+
conditions:
|
16 |
+
- merged
|
17 |
+
actions:
|
18 |
+
delete_head_branch: {}
|
Cargo.lock
CHANGED
@@ -449,9 +449,9 @@ checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec"
|
|
449 |
|
450 |
[[package]]
|
451 |
name = "bytecount"
|
452 |
-
version = "0.6.
|
453 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
454 |
-
checksum = "
|
455 |
|
456 |
[[package]]
|
457 |
name = "byteorder"
|
@@ -992,9 +992,9 @@ dependencies = [
|
|
992 |
|
993 |
[[package]]
|
994 |
name = "errno"
|
995 |
-
version = "0.3.
|
996 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
997 |
-
checksum = "
|
998 |
dependencies = [
|
999 |
"errno-dragonfly",
|
1000 |
"libc",
|
@@ -1867,9 +1867,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
|
|
1867 |
|
1868 |
[[package]]
|
1869 |
name = "memchr"
|
1870 |
-
version = "2.6.
|
1871 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1872 |
-
checksum = "
|
1873 |
|
1874 |
[[package]]
|
1875 |
name = "memoffset"
|
@@ -2813,9 +2813,9 @@ dependencies = [
|
|
2813 |
|
2814 |
[[package]]
|
2815 |
name = "reqwest"
|
2816 |
-
version = "0.11.
|
2817 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2818 |
-
checksum = "
|
2819 |
dependencies = [
|
2820 |
"base64 0.21.4",
|
2821 |
"bytes 1.5.0",
|
@@ -2838,6 +2838,7 @@ dependencies = [
|
|
2838 |
"serde",
|
2839 |
"serde_json",
|
2840 |
"serde_urlencoded 0.7.1",
|
|
|
2841 |
"tokio 1.32.0",
|
2842 |
"tokio-native-tls",
|
2843 |
"tower-service",
|
@@ -3331,6 +3332,27 @@ dependencies = [
|
|
3331 |
"libc",
|
3332 |
]
|
3333 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3334 |
[[package]]
|
3335 |
name = "tagptr"
|
3336 |
version = "0.2.0"
|
@@ -3943,7 +3965,7 @@ dependencies = [
|
|
3943 |
|
3944 |
[[package]]
|
3945 |
name = "websurfx"
|
3946 |
-
version = "1.0.
|
3947 |
dependencies = [
|
3948 |
"actix-cors",
|
3949 |
"actix-files",
|
@@ -3967,7 +3989,7 @@ dependencies = [
|
|
3967 |
"rand 0.8.5",
|
3968 |
"redis",
|
3969 |
"regex",
|
3970 |
-
"reqwest 0.11.
|
3971 |
"rusty-hook",
|
3972 |
"scraper",
|
3973 |
"serde",
|
|
|
449 |
|
450 |
[[package]]
|
451 |
name = "bytecount"
|
452 |
+
version = "0.6.4"
|
453 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
454 |
+
checksum = "ad152d03a2c813c80bb94fedbf3a3f02b28f793e39e7c214c8a0bcc196343de7"
|
455 |
|
456 |
[[package]]
|
457 |
name = "byteorder"
|
|
|
992 |
|
993 |
[[package]]
|
994 |
name = "errno"
|
995 |
+
version = "0.3.4"
|
996 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
997 |
+
checksum = "add4f07d43996f76ef320709726a556a9d4f965d9410d8d0271132d2f8293480"
|
998 |
dependencies = [
|
999 |
"errno-dragonfly",
|
1000 |
"libc",
|
|
|
1867 |
|
1868 |
[[package]]
|
1869 |
name = "memchr"
|
1870 |
+
version = "2.6.4"
|
1871 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1872 |
+
checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
|
1873 |
|
1874 |
[[package]]
|
1875 |
name = "memoffset"
|
|
|
2813 |
|
2814 |
[[package]]
|
2815 |
name = "reqwest"
|
2816 |
+
version = "0.11.22"
|
2817 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2818 |
+
checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b"
|
2819 |
dependencies = [
|
2820 |
"base64 0.21.4",
|
2821 |
"bytes 1.5.0",
|
|
|
2838 |
"serde",
|
2839 |
"serde_json",
|
2840 |
"serde_urlencoded 0.7.1",
|
2841 |
+
"system-configuration",
|
2842 |
"tokio 1.32.0",
|
2843 |
"tokio-native-tls",
|
2844 |
"tower-service",
|
|
|
3332 |
"libc",
|
3333 |
]
|
3334 |
|
3335 |
+
[[package]]
|
3336 |
+
name = "system-configuration"
|
3337 |
+
version = "0.5.1"
|
3338 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3339 |
+
checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"
|
3340 |
+
dependencies = [
|
3341 |
+
"bitflags 1.3.2",
|
3342 |
+
"core-foundation",
|
3343 |
+
"system-configuration-sys",
|
3344 |
+
]
|
3345 |
+
|
3346 |
+
[[package]]
|
3347 |
+
name = "system-configuration-sys"
|
3348 |
+
version = "0.5.0"
|
3349 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3350 |
+
checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9"
|
3351 |
+
dependencies = [
|
3352 |
+
"core-foundation-sys",
|
3353 |
+
"libc",
|
3354 |
+
]
|
3355 |
+
|
3356 |
[[package]]
|
3357 |
name = "tagptr"
|
3358 |
version = "0.2.0"
|
|
|
3965 |
|
3966 |
[[package]]
|
3967 |
name = "websurfx"
|
3968 |
+
version = "1.0.9"
|
3969 |
dependencies = [
|
3970 |
"actix-cors",
|
3971 |
"actix-files",
|
|
|
3989 |
"rand 0.8.5",
|
3990 |
"redis",
|
3991 |
"regex",
|
3992 |
+
"reqwest 0.11.22",
|
3993 |
"rusty-hook",
|
3994 |
"scraper",
|
3995 |
"serde",
|
Cargo.toml
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
-
version = "1.0.
|
4 |
edition = "2021"
|
5 |
description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind."
|
6 |
repository = "https://github.com/neon-mmd/websurfx"
|
7 |
license = "AGPL-3.0"
|
8 |
|
9 |
[dependencies]
|
10 |
-
reqwest = {version="0.11.
|
11 |
tokio = {version="1.32.0",features=["rt-multi-thread","macros"]}
|
12 |
serde = {version="1.0.188",features=["derive"]}
|
13 |
handlebars = { version = "4.4.0", features = ["dir_source"] }
|
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
+
version = "1.0.9"
|
4 |
edition = "2021"
|
5 |
description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind."
|
6 |
repository = "https://github.com/neon-mmd/websurfx"
|
7 |
license = "AGPL-3.0"
|
8 |
|
9 |
[dependencies]
|
10 |
+
reqwest = {version="0.11.21",features=["json"]}
|
11 |
tokio = {version="1.32.0",features=["rt-multi-thread","macros"]}
|
12 |
serde = {version="1.0.188",features=["derive"]}
|
13 |
handlebars = { version = "4.4.0", features = ["dir_source"] }
|
README.md
CHANGED
@@ -35,6 +35,12 @@
|
|
35 |
src="https://img.shields.io/maintenance/yes/2023?style=flat-square"
|
36 |
/>
|
37 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
<a href="https://gitpod.io/#https://github.com/neon-mmd/websurfx">
|
39 |
<img
|
40 |
alt="Gitpod"
|
@@ -106,6 +112,9 @@
|
|
106 |
# Features π
|
107 |
|
108 |
- π¨ Make Websurfx uniquely yours with twelve color schemes provided by default. It also supports creation of custom themes and color schemes in a quick and easy way, so unleash your creativity!
|
|
|
|
|
|
|
109 |
- π Fast, private, and secure
|
110 |
- π 100% free and open source
|
111 |
- π¨ Ad-free and clean results
|
|
|
35 |
src="https://img.shields.io/maintenance/yes/2023?style=flat-square"
|
36 |
/>
|
37 |
</a>
|
38 |
+
<a href="https://www.codefactor.io/repository/github/neon-mmd/websurfx">
|
39 |
+
<img
|
40 |
+
alt="CodeFactor"
|
41 |
+
src="https://www.codefactor.io/repository/github/neon-mmd/websurfx/badge"
|
42 |
+
/>
|
43 |
+
</a>
|
44 |
<a href="https://gitpod.io/#https://github.com/neon-mmd/websurfx">
|
45 |
<img
|
46 |
alt="Gitpod"
|
|
|
112 |
# Features π
|
113 |
|
114 |
- π¨ Make Websurfx uniquely yours with twelve color schemes provided by default. It also supports creation of custom themes and color schemes in a quick and easy way, so unleash your creativity!
|
115 |
+
- π Easy to setup with docker or on bare metal with various installation/deployement options.
|
116 |
+
- β Search filtering to filter search results based on four different levels.
|
117 |
+
- πΎ Different caching levels focusing on reliability, speed and resiliancy.
|
118 |
- π Fast, private, and secure
|
119 |
- π 100% free and open source
|
120 |
- π¨ Ad-free and clean results
|