这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Austin-Olacsi
Copy link
Contributor

What does this PR do?

adds Marginalia

Why is this change important?

Interesting search results.

How to test this PR locally?

uncomment the engine in settings.yml
add your API key, and then use make run

Author's checklist

Related issues

closes #3034

Copy link
Member

@Bnyro Bnyro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We intentionally removed the engine previously, see #1673.

You're trying to solve the overload issue by commenting out the engine by default if I see that correctly? Could you please clarify why we should re-add it given the removal after #1673?

@Austin-Olacsi
Copy link
Contributor Author

We should re-add Marginalia because recently, the site owner @vlofgren said that he is okay with it in #3034

It's commented-out in the code, that means only a small number of people will about know about it. Additionaly this sends a User-Agent header to identify searxng traffic.

But maybe the python module should include code that prevents the public API key from being used at all? Bassicly give an error instead of allowing it to be used?

To get an API key follow instructions at [1].

[1] https://about.marginalia-search.com/article/api/

Related (historical ordered):

- searxng#1620
- searxng#1673
- searxng#1627
- searxng#2489

Closes:

- searxng#3034
Copy link
Member

@return42 return42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed a WIP commit on top in which I

  • fixed some minor issue (see comments below),
  • added online doc for the engine,
  • added a init() routine
  • and I added some typing stuff.

@Austin-Olacsi can you please check everything works as expected after my modifications / thanks a lot 👍

@Austin-Olacsi
Copy link
Contributor Author

ok we forgot to add disabled: true
just fixed, the new engine works good.

@return42 return42 merged commit cf5061d into searxng:master Aug 9, 2025
7 checks passed
@Austin-Olacsi Austin-Olacsi deleted the marginalia branch August 9, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Engine request: Marginalia

3 participants