alamin655 commited on
Commit
fcf60f0
β€’
2 Parent(s): 7c8b7a9 0d0c304

Merge branch 'rolling' into github-ci-to-auto-triage-issues

Browse files
.github/ISSUE_TEMPLATE/bug.yml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: πŸ› Bug
2
+ description: Report an issue to help improve the project.
3
+ title: "πŸ› <description>"
4
+ labels: ["πŸ› οΈ goal: fix","🚦 status: awaiting triage"]
5
+ body:
6
+ - type: textarea
7
+ id: description
8
+ attributes:
9
+ label: Description
10
+ description: A brief description of the question or issue, also include what you tried and what didn't work
11
+ validations:
12
+ required: true
13
+ - type: textarea
14
+ id: screenshots
15
+ attributes:
16
+ label: Screenshots
17
+ description: Please add screenshots if applicable
18
+ validations:
19
+ required: false
20
+ - type: dropdown
21
+ id: assignee
22
+ attributes:
23
+ label: Do you want to work on this issue?
24
+ multiple: false
25
+ options:
26
+ - "Yes"
27
+ - "No"
28
+ validations:
29
+ required: false
30
+ - type: textarea
31
+ id: extrainfo
32
+ attributes:
33
+ label: Additional information
34
+ description: Is there anything else we should know about this bug?
35
+ validations:
36
+ required: false
37
+ - type: markdown
38
+ attributes:
39
+ value: |
40
+ You can also join our Discord community [here](https://discord.gg/SWnda7Mw5u)
.github/ISSUE_TEMPLATE/bug_report.md DELETED
@@ -1,36 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: "[BUG] <your bug report title>"
5
- labels: bug
6
- assignees: ''
7
-
8
- ---
9
-
10
- <!-- PLEASE FILL THESE FIELDS, IT REALLY HELPS THE MAINTAINERS OF Websurfx -->
11
-
12
- **Version of Websurfx, commit number if you are using on master branch**
13
- <!-- If you are running on master branch using git execute this command
14
- in order to fetch the latest commit ID:
15
- ```
16
- git log -1
17
- ```
18
- -->
19
-
20
- **How did you install Websurfx?**
21
- <!-- Did you install Websurfx following the README ? -->
22
-
23
- **What happened?**
24
- <!-- A clear and concise description of what the bug is. -->
25
-
26
- **Steps To Reproduce**
27
- <!-- How can we reproduce this issue? (as minimally and as precisely as possible) -->
28
-
29
- **Expected behavior**
30
- <!-- A clear and concise description of what you expected to happen. -->
31
-
32
- **Screenshots**
33
- <!-- If applicable, provide screenshots to help explain your problem better. -->
34
-
35
- **Additional context**
36
- <!-- Add any other context about the problem here. -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/ISSUE_TEMPLATE/config.yml CHANGED
@@ -1 +1,5 @@
1
- blank_issues_enabled: true
 
 
 
 
 
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Question?
4
+ url: https://discord.gg/SWnda7Mw5u
5
+ about: Feel free to ask your question by joining our Discord server.
.github/ISSUE_TEMPLATE/docs.yml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: πŸ“ Documentation issue
2
+ description: Found an issue in the documentation? You can use this one!
3
+ title: "πŸ“ <description>"
4
+ labels: ["πŸ“„ aspect: text","🚦 status: awaiting triage"]
5
+ body:
6
+ - type: textarea
7
+ id: description
8
+ attributes:
9
+ label: Description
10
+ description: A brief description of the question or issue, also include what you tried and what didn't work
11
+ validations:
12
+ required: true
13
+ - type: textarea
14
+ id: screenshots
15
+ attributes:
16
+ label: Screenshots
17
+ description: Please add screenshots if applicable
18
+ validations:
19
+ required: false
20
+ - type: dropdown
21
+ id: assignee
22
+ attributes:
23
+ label: Do you want to work on this issue?
24
+ multiple: false
25
+ options:
26
+ - "Yes"
27
+ - "No"
28
+ validations:
29
+ required: false
30
+ - type: textarea
31
+ id: extrainfo
32
+ attributes:
33
+ label: Additional information
34
+ description: Is there anything else we should know about this issue?
35
+ validations:
36
+ required: false
37
+ - type: markdown
38
+ attributes:
39
+ value: |
40
+ You can also join our Discord community [here](https://discord.gg/SWnda7Mw5u)
.github/ISSUE_TEMPLATE/engine-request.md DELETED
@@ -1,27 +0,0 @@
1
- ---
2
- name: Engine request
3
- about: 'Suggest a new engine to be add '
4
- title: "[ENGINE] <your engine request title>"
5
- labels: engine
6
- assignees: ''
7
-
8
- ---
9
-
10
- <!-- PLEASE FILL THESE FIELDS, IT REALLY HELPS THE MAINTAINERS OF Websurfx -->
11
-
12
- **Working URL of the engine**
13
- <!-- Please check if the engine is responding correctly before submitting it. -->
14
-
15
- **Why do you want to add this engine?**
16
- <!-- What's special about this engine? Is it open source or libre? -->
17
-
18
- **Features of this engine**
19
- <!-- Features of this engine: Doesn't track its users, fast, easy to integrate, ... -->
20
-
21
- **Applicable category of this engine**
22
- <!-- Where should this new engine fit in Websurfx? Current categories in Websurfx:
23
- general, files, images, it, map, music, news, science, social media and videos.
24
- You can add multiple categories at the same time. -->
25
-
26
- **Additional context**
27
- <!-- Add any other context about this engine here. -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/ISSUE_TEMPLATE/engine.yml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: ✨ Engine
2
+ description: Have a new engine to suggest for Websurfx? Please suggest!
3
+ title: '✨ <your engine request title>'
4
+ labels: ['⭐ goal: addition', '🚦 status: awaiting triage']
5
+ body:
6
+ - type: textarea
7
+ id: workingUrl
8
+ attributes:
9
+ label: Working URL of the engine
10
+ description: Please check if the engine is responding correctly before submitting it.
11
+ validations:
12
+ required: true
13
+ - type: textarea
14
+ id: reason
15
+ attributes:
16
+ label: Why do you want to add this engine?
17
+ description: What's special about this engine? Is it open source or libre?
18
+ validations:
19
+ required: true
20
+ - type: textarea
21
+ id: features
22
+ attributes:
23
+ label: Features of this engine
24
+ description: Features of this engine: Doesn't track its users, fast, easy to integrate, or anything else that we can know about.
25
+ validations:
26
+ required: true
27
+ - type: textarea
28
+ id: screenshots
29
+ attributes:
30
+ label: Screenshots
31
+ description: Please add screenshots if applicable
32
+ validations:
33
+ required: false
34
+ - type: dropdown
35
+ id: assignee
36
+ attributes:
37
+ label: Do you want to work on this issue?
38
+ multiple: true
39
+ options:
40
+ - 'General'
41
+ - 'Files'
42
+ - 'Images'
43
+ - 'IT'
44
+ - 'Map'
45
+ - 'Music'
46
+ - 'News'
47
+ - 'Science'
48
+ - 'Social Media'
49
+ - 'Videos'
50
+ validations:
51
+ required: true
52
+ - type: dropdown
53
+ id: assignee
54
+ attributes:
55
+ label: Do you want to work on this issue?
56
+ multiple: false
57
+ options:
58
+ - 'Yes'
59
+ - 'No'
60
+ validations:
61
+ required: false
62
+ - type: textarea
63
+ id: extrainfo
64
+ attributes:
65
+ label: Additional information
66
+ description: Is there anything else we should know about this idea?
67
+ validations:
68
+ required: false
69
+ - type: markdown
70
+ attributes:
71
+ value: |
72
+ You can also join our Discord community [here](https://discord.gg/SWnda7Mw5u)
.github/ISSUE_TEMPLATE/feature.yml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: πŸ’‘ General Feature Request
2
+ description: Have a new idea/feature for Websurfx? Please suggest!
3
+ title: "✨ <description>"
4
+ labels: ["⭐ goal: addition", "🚦 status: awaiting triage"]
5
+ body:
6
+ - type: textarea
7
+ id: description
8
+ attributes:
9
+ label: Description
10
+ description: A brief description of the enhancement you propose, also include what you tried and what worked.
11
+ validations:
12
+ required: true
13
+ - type: textarea
14
+ id: screenshots
15
+ attributes:
16
+ label: Screenshots
17
+ description: Please add screenshots if applicable
18
+ validations:
19
+ required: false
20
+ - type: dropdown
21
+ id: assignee
22
+ attributes:
23
+ label: Do you want to work on this issue?
24
+ multiple: false
25
+ options:
26
+ - "Yes"
27
+ - "No"
28
+ validations:
29
+ required: false
30
+ - type: textarea
31
+ id: extrainfo
32
+ attributes:
33
+ label: Additional information
34
+ description: Is there anything else we should know about this idea?
35
+ validations:
36
+ required: false
37
+ - type: markdown
38
+ attributes:
39
+ value: |
40
+ You can also join our Discord community [here](https://discord.gg/SWnda7Mw5u)
.github/ISSUE_TEMPLATE/feature_request.md DELETED
@@ -1,20 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: "[FEATURE] <your feature request title>"
5
- labels: enhancement
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Is your feature request related to a problem? Please describe.**
11
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
-
13
- **Describe the solution you'd like**
14
- A clear and concise description of what you want to happen.
15
-
16
- **Describe alternatives you've considered**
17
- A clear and concise description of any alternative solutions or features you've considered.
18
-
19
- **Additional context**
20
- Add any other context or screenshots about the feature request here.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/ISSUE_TEMPLATE/other.yml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: 🧱 Other
2
+ description: Use this for any other issues. Please do NOT create blank issues
3
+ title: "🧱 <Add your title here>"
4
+ labels: ["🚦 status: awaiting triage"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: "# Other issue"
9
+ - type: textarea
10
+ id: issuedescription
11
+ attributes:
12
+ label: What would you like to share?
13
+ description: Provide a clear and concise explanation of your issue.
14
+ validations:
15
+ required: true
16
+ - type: dropdown
17
+ id: assignee
18
+ attributes:
19
+ label: Do you want to work on this issue?
20
+ multiple: false
21
+ options:
22
+ - "Yes"
23
+ - "No"
24
+ validations:
25
+ required: false
26
+ - type: textarea
27
+ id: extrainfo
28
+ attributes:
29
+ label: Additional information
30
+ description: Is there anything else we should know about this issue?
31
+ validations:
32
+ required: false
33
+ - type: markdown
34
+ attributes:
35
+ value: |
36
+ You can also join our Discord community [here](https://discord.gg/SWnda7Mw5u)
.github/labeler.yml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'πŸ’» aspect: code':
2
+ - src/*
3
+ - Cargo.toml
4
+ - Cargo.lock
5
+ - Dockerfile
6
+ - docker-compose.yml
7
+ - websurfx/*
8
+
9
+ 'πŸ€– aspect: dx':
10
+ - '**/*.json'
11
+ - .dockerignore
12
+ - .gitignore
13
+ - .gitpod.Dockerfile
14
+ - .gitpod.yml
15
+ - .rusty-hook.toml
16
+ - PULL_REQUEST_TEMPLATE.md
17
+ - SECURITY.md
18
+ - .github/*
19
+ - .mega-linter.yml
20
+ - tests/*
21
+
22
+ 'πŸ“„ aspect: text':
23
+ - any: ['**/*.md', '!PULL_REQUEST_TEMPLATE.md', '!SECURITY.md']
24
+ - LICENSE
25
+
26
+ 'πŸ•ΉοΈ aspect: interface':
27
+ - public/*
.github/workflows/pr_labeler.yml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: "Pull Request Auto Labeler"
2
+ on:
3
+ - pull_request_target
4
+
5
+ jobs:
6
+ triage:
7
+ permissions:
8
+ contents: read
9
+ pull-requests: write
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/labeler@v4
13
+ with:
14
+ sync-labels: true
15
+ dot: true
Dockerfile CHANGED
@@ -22,5 +22,7 @@ RUN cargo install --path .
22
  FROM gcr.io/distroless/cc-debian12
23
  COPY --from=builder /app/public/ /opt/websurfx/public/
24
  COPY --from=builder /app/websurfx/config.lua /etc/xdg/websurfx/config.lua
 
 
25
  COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/
26
  CMD ["websurfx"]
 
22
  FROM gcr.io/distroless/cc-debian12
23
  COPY --from=builder /app/public/ /opt/websurfx/public/
24
  COPY --from=builder /app/websurfx/config.lua /etc/xdg/websurfx/config.lua
25
+ COPY --from=builder /app/websurfx/allowlist.txt /etc/xdg/websurfx/allowlist.txt
26
+ COPY --from=builder /app/websurfx/blocklist.txt /etc/xdg/websurfx/blocklist.txt
27
  COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/
28
  CMD ["websurfx"]