From 1720135465fe50e7f680cfb8012d0b74a91ee0a0 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Thu, 4 May 2023 22:52:39 +0300 Subject: [PATCH] change org to md format and delete goals.org --- CONTRIBUTING.md | 34 +++++++++ CONTRIBUTING.org | 22 ------ README.md | 182 +++++++++++++++++++++++++++++++++++++++++++++++ README.org | 137 ----------------------------------- goals.org | 15 ---- 5 files changed, 216 insertions(+), 174 deletions(-) create mode 100644 CONTRIBUTING.md delete mode 100644 CONTRIBUTING.org create mode 100644 README.md delete mode 100644 README.org delete mode 100644 goals.org diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..040801e --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,34 @@ +# Things to Consider Before Contributing + +## Knowledge Required + +- Rust basics +- Actix-web crate basics +- Tokio crate and async/await +- Reqwest crate basics +- Serde and serde~json~ crate basics +- fake~useragent~ crate basics +- pyo3/hlua/rlua crates basics + +## Guidelines + +- Please be patient. + +- Treat everyone with respect -- \"give respect and take respect.\" + +- Document your code properly with Rust coding conventions in mind. + +- Provide a brief description of the changes you made in the pull + request. + +- Provide an appropriate header for the pull request. + + **NOTE:** The rolling branch is where all contributions should go. + In other words, it is the working branch for this project. + +We appreciate any contributions and suggestions to help improve the +Websurfx project. Please keep in mind the above requirements and +guidelines before submitting a pull request and also if you have any +doubts/concerns/questions about the project, its source code or anything +related to the project than feel free to ask by opening an +\[issue\](). diff --git a/CONTRIBUTING.org b/CONTRIBUTING.org deleted file mode 100644 index 1dbee3f..0000000 --- a/CONTRIBUTING.org +++ /dev/null @@ -1,22 +0,0 @@ -* Things to Consider Before Contributing - -** Knowledge Required -- Rust basics -- Actix-web crate basics -- Tokio crate and async/await -- Reqwest crate basics -- Serde and serde_json crate basics -- fake_useragent crate basics -- pyo3/hlua/rlua crates basics - -** Guidelines - -- Please be patient. -- Treat everyone with respect -- "give respect and take respect." -- Document your code properly with Rust coding conventions in mind. -- Provide a brief description of the changes you made in the pull request. -- Provide an appropriate header for the pull request. - - *NOTE:* The rolling branch is where all contributions should go. In other words, it is the working branch for this project. - -We appreciate any contributions and suggestions to help improve the Websurfx project. Please keep in mind the above requirements and guidelines before submitting a pull request and also if you have any doubts/concerns/questions about the project, its source code or anything related to the project than feel free to ask by opening an [issue](https://github.com/neon-mmd/websurfx/issues). diff --git a/README.md b/README.md new file mode 100644 index 0000000..9148cc5 --- /dev/null +++ b/README.md @@ -0,0 +1,182 @@ +

Websurfx

+

+ A lightning-fast, privacy-respecting, secure meta search engine (pronounced as websurface or web-surface /wɛbˈsɜːrfəs/.) written in Rust. It provides a fast and secure search experience while respecting user privacy. +
+
+Readme | Discord | GitHub +

+ +

+ +# Table of Contents + +- [Features](#features) +- [Preview](#preview) + - [Main Page](#main-page) + - [Search Page](#search-page) + - [404 Error Page](#404-error-page) +- [Installation and Testing](#installation-and-testing) +- [More Contributers Wanted](#more-contributers-wanted) +- [FAQ - (Frequently Asked + Questions)](#faq-frequently-asked-questions) + - [Why Websurfx?](#why-websurfx) + - [Why AGPLv3?](#why-agplv3) + - [Why Rust?](#why-rust) +- [Contributing](#contributing) + - [Not a developer but still want to + contribute](#not-a-developer-but-still-want-to-contribute) + - [Developer](#developer) +- [License](#license) +- [Credits](#credits) + +# Features + +- Proper NSFW blocking +- High level customizability with 9 colorchemes provided by default + with a simple theme, also supporting creation of your custom themes + and colorschemes very quickly and easily +- Advanced image search +- Fast, private and secure +- 100% free and open source +- and lots more... + +# Preview + +## Main Page + +```{=html} + +``` +## Search Page + +```{=html} + +``` +## 404 Error Page + +```{=html} + +``` +# Installation and Testing + +To get started with Websurfx, clone the repository, edit the config file +which is located in the `websurfx`{.verbatim} 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: + +``` shell +git clone https://github.com/neon-mmd/websurfx.git +cd websurfx +cargo build +redis-server -p 8082 & +./target/debug/websurfx +``` + +If you want to use the rolling/edge branch, run the following commands +instead: + +``` shell +git clone https://github.com/neon-mmd/websurfx.git +cd websurfx +git checkout rolling +cargo build +redis-server -p 8082 & +./target/debug/websurfx +``` + +Once you have started the server, open your preferred web browser and +navigate to to start using Websurfx. + +**Important Note:** Please be aware that the project is still in the +testing phase and is not ready for production use. + +# Configuration + +Websurfx is configured through the config.lua file, located at +`websurfx/config.lua`{.verbatim}. + +# Theming + +Websurfx comes with several themes and colorschemes by default which you +can apply and edit through the config file. Support for custom themes +and colorschemes using css and develop your own unique-looking website. + +# 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.org](CONTRIBUTING.org) file for guidelines and +rules for making contributions. + +# FAQ (Frequently Asked Questions) + +## 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. + +## Why AGPLv3? + +Websurfx is released under the **AGPLv3** license to ensure that the +source code remains open and transparent. This helps to prevent the +inclusion of spyware, telemetry, or other malicious code in the project. +**AGPLv3** is a strong copyleft license that ensures the source code of +the software remains open and available to everyone, including any +modifications or improvements made to the code. + +## Why Rust? + +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. + +# Contributing + +Contributions are welcome from anyone. It doesn\'t matter who you are; +you can still contribute to the project in your way. + +## Not a developer but still want to contribute? + +Check out this [video](https://youtu.be/FccdqCucVSI) by Mr. Nick on how +to contribute. + +## Developer + +If you are a developer, have a look at the +[CONTRIBUTING.org](CONTRIBUTING.org) document for more information. + +# License + +Websurfx is available under the [AGPLv3](LICENSE) license. + +# Credits + +We would like to thank the following people for their contributions and +support: + + + + +
+

+ + + +

+Thank you for Visiting +

diff --git a/README.org b/README.org deleted file mode 100644 index 4aa8fba..0000000 --- a/README.org +++ /dev/null @@ -1,137 +0,0 @@ -#+html:

Websurfx

-#+html:

-#+html: A lightning-fast, privacy-respecting, secure meta search engine (pronounced as websurface or web-surface /wɛbˈsɜːrfəs/.) written in Rust. It provides a fast and secure search experience while respecting user privacy. -#+html:
-#+html:
-#+html: Readme | Discord | GitHub -#+html:

-#+html: -#+html:

- -* Table of Contents - -- [[#features][Features]] -- [[#preview][Preview]] - - [[#main-page][Main Page]] - - [[#search-page][Search Page]] - - [[#404-error-page][404 Error Page]] -- [[#installation-and-testing][Installation and Testing]] -- [[#more-contributers-wanted][More Contributers Wanted]] -- [[#faq-frequently-asked-questions][FAQ - (Frequently Asked Questions)]] - - [[#why-websurfx][Why Websurfx?]] - - [[#why-agplv3][Why AGPLv3?]] - - [[#why-rust][Why Rust?]] -- [[#contributing][Contributing]] - - [[#not-a-developer-but-still-want-to-contribute][Not a developer but still want to contribute]] - - [[#developer][Developer]] -- [[#license][License]] -- [[#credits][Credits]] - -* Features - -- Proper NSFW blocking -- High level customizability with 9 colorchemes provided by default with a simple theme, also supporting creation of your custom themes and colorschemes very quickly and easily -- Advanced image search -- Fast, private and secure -- 100% free and open source -- and lots more... - -* Preview - -** Main Page - -#+html: - -** Search Page - -#+html: - -** 404 Error Page - -#+html: - -* Installation and Testing - -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 [[https://redis.io/docs/getting-started/][here]] and then run the websurfx server and redis server using the following commands: - -#+begin_src shell - git clone https://github.com/neon-mmd/websurfx.git - cd websurfx - cargo build - redis-server -p 8082 & - ./target/debug/websurfx -#+end_src - -If you want to use the rolling/edge branch, run the following commands instead: - -#+begin_src shell - git clone https://github.com/neon-mmd/websurfx.git - cd websurfx - git checkout rolling - cargo build - redis-server -p 8082 & - ./target/debug/websurfx -#+end_src - -Once you have started the server, open your preferred web browser and navigate to http://127.0.0.1:8080 to start using Websurfx. - -*Important Note:* Please be aware that the project is still in the testing phase and is not ready for production use. - -* Configuration - -Websurfx is configured through the config.lua file, located at =websurfx/config.lua=. - -* Theming - -Websurfx comes with several themes and colorschemes by default which you can apply and edit through the config file. Support for custom themes and colorschemes using css and develop your own unique-looking website. - -* 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 [[https://github.com/neon-mmd/websurfx/projects?query=is%3Aopen][project board]] and the [[file:CONTRIBUTING.org][CONTRIBUTING.org]] file for guidelines and rules for making contributions. - -* FAQ (Frequently Asked Questions) - -** Why Websurfx? - -The main goal of the Websurfx project is to provide a fast, secure, and privacy-focused [[https://en.wikipedia.org/wiki/Metasearch_engine][meta search 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. - -** Why AGPLv3? - -Websurfx is released under the *AGPLv3* license to ensure that the source code remains open and transparent. This helps to prevent the inclusion of spyware, telemetry, or other malicious code in the project. *AGPLv3* is a strong copyleft license that ensures the source code of the software remains open and available to everyone, including any modifications or improvements made to the code. - -** Why Rust? - -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. - -* Contributing - -Contributions are welcome from anyone. It doesn't matter who you are; you can still contribute to the project in your way. - -** Not a developer but still want to contribute? - -Check out this [[https://youtu.be/FccdqCucVSI][video]] by Mr. Nick on how to contribute. - -** Developer - -If you are a developer, have a look at the [[file:CONTRIBUTING.org][CONTRIBUTING.org]] document for more information. - -* License - -Websurfx is available under the [[file:LICENSE][AGPLv3]] license. - -* Credits - -We would like to thank the following people for their contributions and support: - -#+html: -#+html: -#+html: - -#+html:
-#+html:

-#+html: -#+html: -#+html: -#+html:

-#+html: Thank you for Visiting -#+html:

diff --git a/goals.org b/goals.org deleted file mode 100644 index 288f9b3..0000000 --- a/goals.org +++ /dev/null @@ -1,15 +0,0 @@ -* Goals for future development - -- Replace Handlebars with the faster templating engine /Tera/. - -- Add more upstream search engines. - -- Implement dorking support (like Google). - -- Add advanced search functionality and a dropdown menu for it. - -- Add more categories to the search engine's search page, such as images, files, news, and maps. - -- Add advanced image functionality for content creators, video editors, etc. - -- Add GPT integration, taking inspiration from the Langchain module of Python or incorporating it using pyo3, and give users the choice to add an API key. Giving users the choice is important, as some people may be against AI, and this will ensure that those users who don't want to use GPT can disable it by not adding an API key.