Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Satellite projects #534

Open
dalf opened this issue Nov 21, 2021 · 5 comments
Open

Satellite projects #534

dalf opened this issue Nov 21, 2021 · 5 comments
Labels
new feature New feature or request

Comments

@dalf
Copy link
Member

dalf commented Nov 21, 2021

Looking at

I feel that some communities would like to make some customizations on their own.
For now the current solution from here is to fork, make the customization and merge from time to time the code from here.

Perhaps, we can find a better way.

For example, a satellite project "searxng-esperanto" would contain:

  • the engine definitions ( settings.yml )
  • the code for engines
  • some tests.
  • nothing more.

From here (to be define):

  • either add the project in requirements.txt (easy because pip takes care of downloading / upgrading the files).
  • either make a reference in settings.yml

This would allow to:

  • to keep this project with a default generic configuration.
  • various communities to have their own customization, with a easy way to integrate in this project.
@dalf dalf added the new feature New feature or request label Nov 21, 2021
@dalf
Copy link
Member Author

dalf commented Dec 22, 2021

ping @return42

@return42
Copy link
Member

Nice idea but I do not have capacity for .. it"s getting too much for me, I"d like to finish the move from searx to SearXNG first .. there is a loot of work to get this done. Afterwards I am open for new features and models.

@dalf
Copy link
Member Author

dalf commented Feb 1, 2022

About https://github.com/searxng/searxng/issues/725 : I wonder if this list could be manage like the adblock lists: the plugin could use an URL of where to download the list. So various project could manage different lists with different flavor.

In settings.yml:

hostname_replace:
  # pages which reflect nothing more than bad translations of other pages
  "qastack\.com\.de": false
  "im-coder\.com": false
  "code\.i-harness\.com": false
  *import: https://example.com/path/hostname_replace.yml

In this example *import is special syntax that import the content of URL into the current configuration.

This could also works with the engines too.

@return42
Copy link
Member

return42 commented Feb 1, 2022

Load block list is one thing, load executable code from the net is another thing ... load code from a remote opens the door for exploits.

@dalf
Copy link
Member Author

dalf commented Jan 6, 2024

For reference: #3099 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
Status: Needs Triage
Development

No branches or pull requests

2 participants