https://github.com/sammcj/n8n-nodes-searxng
n8n community node of searxng
https://github.com/sammcj/n8n-nodes-searxng
Last synced: 6 months ago
JSON representation
n8n community node of searxng
- Host: GitHub
- URL: https://github.com/sammcj/n8n-nodes-searxng
- Owner: sammcj
- License: apache-2.0
- Created: 2024-11-22T23:11:37.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-31T08:36:10.000Z (7 months ago)
- Last Synced: 2025-04-09T19:08:11.210Z (6 months ago)
- Language: TypeScript
- Size: 64.5 KB
- Stars: 17
- Watchers: 2
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# n8n-nodes-searxng
This is an n8n community node for integrating with SearXNG. It allows you to perform web searches using SearXNG instances in your n8n workflows.
[SearXNG](https://github.com/searxng/searxng) is a privacy-respecting, self-hosted metasearch engine that aggregates results from various search services and databases. Users are neither tracked nor profiled.
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
## Prerequisites
- A running SearXNG instance with API access
## Installation
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
```bash
pnpm i n8n-nodes-searxng
```## Operations
### Search
The node supports performing web searches with the following features:
- **Query**: Enter your search terms
- **Categories**: Choose from multiple search categories:
- General
- Images
- News
- Videos
- Files
- IT
- Maps
- Music
- Science
- Social Media### Additional Options
- **Language**: Filter results by language (English, German, French, Spanish, Italian, or All Languages)
- **Time Range**: Filter results by time (Day, Week, Month, Year, or Any Time)
- **Safe Search**: Set safety level (Off, Moderate, or Strict)
- **Page Number**: Specify which page of results to retrieve
- **Format**: Choose output format (JSON, HTML, or RSS)## Credentials
To use this node, you need to configure credentials for your SearXNG instance:
1. **API URL**: The URL of your SearXNG instance (e.g., `http://searxng:8080`)
2. **API Key**: Your SearXNG API key (if required by your instance)## Example Usage
1. Add the SearXNG node to your workflow
2. Configure your SearXNG credentials
3. Set up your search parameters:
```json
{
"query": "your search terms",
"categories": ["general"],
"additionalFields": {
"language": "en",
"time_range": "month",
"safesearch": "1"
}
}
```## Compatibility
- Requires Node.js version 18.10 or later but 22.x is recommended
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[Apache 2.0](LICENSE)
## Support
- Create an [issue](https://github.com/sammcj/n8n-nodes-searxng/issues)
- Review the [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)## Author
Sam McLeod
## Resources
- [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
- [SearXNG Documentation](https://docs.searxng.org/)
- [SearXNG API Documentation](https://docs.searxng.org/dev/search_api.html)