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

Marginalia #1620

Closed
ghost opened this issue Aug 6, 2022 · 4 comments · Fixed by #1627
Closed

Marginalia #1620

ghost opened this issue Aug 6, 2022 · 4 comments · Fixed by #1627
Labels
engine request A new engine request

Comments

@ghost
Copy link

ghost commented Aug 6, 2022

Working URL to the engine

https://search.marginalia.nu/

Why do you want to add this engine?

It's a search engine that prioritizes non-commercial websites.

Features of this engine

Its good for discovering sites that you didn't know about and no SEO spam.

How can SearXNG fetch the information from this engine?

https://memex.marginalia.nu/projects/edge/api.gmi
The above page has all the details.

Applicable category of this engine

general

Additional context

Some Posts about marginalia on HN:
https://hn.algolia.com/?q=marginalia

@ghost ghost added the engine request A new engine request label Aug 6, 2022
@allendema
Copy link
Contributor

Can you check if this works for you? allendema@d1ee203

Changing index like "experimental", "blogs" etc. is also possible.

The 'index' parameter selects the search index, corresponding to the drop down next to the search field in the main GUI.

@ghost
Copy link
Author

ghost commented Aug 7, 2022

Can you check if this works for you? allendema@d1ee203

Changing index like "experimental", "blogs" etc. is also possible.

The 'index' parameter selects the search index, corresponding to the drop down next to the search field in the main GUI.

I actually don't have a dev environment right now, so I can't check :(

@return42
Copy link
Member

return42 commented Aug 7, 2022

@allendema just send a PR and we all can have a look at your addition .. if you don't want to merge the addition right now, you can mark the PR as DRAFT.

@allendema
Copy link
Contributor

@return42 I've now created a merge request.

return42 pushed a commit to allendema/searxng that referenced this issue Aug 8, 2022
Currently it uses a public api_key `/public/` [1]

The 'index' parameter selects the search index, corresponding to the drop down
next to the search field in the main GUI.

    0: popular
    1: blogs
    2: big_sites
    3: default
    4: experimental

'experimental' is more up to date and does not exclude other sites, which is the
case with 'big sites' or 'blogs'.

[1] https://api.marginalia.nu/
[2] https://git.marginalia.nu/marginalia/marginalia.nu
[3] https://news.ycombinator.com/item?id=31536626

Closes: searxng#1620
return42 added a commit to return42/searxng that referenced this issue Jun 5, 2023
The engine configuration of marginalia [2][3][4][5] spams marginalia.nu with
requests from SearXNG instances [1].  It is not in the interest of SearXNG to
disturb other FOSS projects, so the engine will be removed::

    - name: marginalia
      engine: json_engine
      shortcut: mar
      categories: general
      paging: false
      # Key and license: https://www.marginalia.nu/marginalia-search/api/
      # index: 0 popular, 1 blogs, 2 big_sites, 3 default, 4 experimental
      search_url: https://api.marginalia.nu/<insert your key here>/search/{query}?index=4&count=20
      results_query: results
      url_query: url
      title_query: title
      content_query: description
      timeout: 1.5
      disabled: true
      about:
        website: https://www.marginalia.nu/
        official_api_documentation: https://api.marginalia.nu/
        use_official_api: true
        require_api_key: true
        results: JSON

[1] searxng#1673
[2] searxng#1627
[3] searxng#1620
[4] https://news.ycombinator.com/item?id=35874640
[5] https://github.com/MarginaliaSearch/MarginaliaSearch/blob/d82a8584915c9d416921cc9f1c0637efedea664f/code/services-satellite/api-service/src/main/java/nu/marginalia/api/svc/ResponseCache.java#L12-L20

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine request A new engine request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants