SearXNG loves developers, just clone and start hacking. All the rest is done for you simply by using make.
git clone https://github.com/searxng/searxng.git searx
Here is how a minimal workflow looks like:
If you think at some point something fails, go back to start. Otherwise, choose a meaningful commit message and we are happy to receive your pull request. To not end in wild west we have some directives, please pay attention to our “How to contribute” guideline.
Don’t forget to install npm first.
sudo -H apt-get install npm
sudo -H pacman -S npm
sudo -H dnf install npm
If you finished your tests you can start to commit your changes. To separate the changed code from the build products first run:
This will restore the old build products and only your changes of the code remain in the working tree which can now be added & commited. When all sources are commited, you can commit the build products simply by:
Commiting the build products should be the last step, just before you send us your PR. There is also a make target to rewind this last build commit: