LibreX vs Marginalia Search

A side-by-side comparison of two self-hosted search engines options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureLibreXMarginalia Search
Deploy effortUnder-an-hour setupUnder-an-hour setup
Health score16 · At risk68 · Good
CategorySearch EnginesSearch Engines
LicenseAGPL-3.0AGPL-3.0
LanguagePHPJava
Setup difficultyEasyHard
Min. RAM128 MB4,096 MB
Deploymentdocker, bare-metaldocker, source
GitHub stars★ 846★ 2,157
First released20212021
ReplacesGoogle SearchGoogle Search

What are LibreX and Marginalia Search?

LibreX

LibreX is a free, open-source metasearch engine that delivers private search results without ads or tracking. It aggregates results from multiple engines and proxies them for user privacy.

  • Ad-free private search
  • Aggregates multiple engines
  • No JavaScript required
  • Lightweight PHP implementation

Marginalia Search

Marginalia Search is an open-source independent web search engine with its own crawler and index, designed to surface text-focused, non-commercial websites. It can be self-hosted to run a private instance.

  • Independent web crawler and index
  • Text-focused results
  • Self-hostable
  • Non-commercial bias

LibreX vs Marginalia Search: key differences

LibreX is written in PHP, while Marginalia Search is built with Java. LibreX is the lighter option, starting around 128 MB of RAM against 4,096 MB for Marginalia Search. Marginalia Search has the considerably larger community, at 2,157 GitHub stars versus 846.

Why pick each one

Choose LibreX if…

  • Simple to deploy
  • Minimal footprint

Watch out for

  • Smaller engine selection
LibreX details

Choose Marginalia Search if…

  • Released under the AGPL-3.0 license
  • First-class Docker support for quick deployment
  • Active community (2.2k GitHub stars)
  • Written in Java
Marginalia Search details

Frequently asked questions

Is LibreX or Marginalia Search better?

Neither is universally better. Marginalia Search has the larger community, while LibreX is simpler to set up (easy difficulty). Choose based on the comparison table above and your own setup.

Are LibreX and Marginalia Search free and open-source?

Yes. LibreX is licensed under AGPL-3.0 and Marginalia Search under AGPL-3.0. Both can be self-hosted at no software cost.

Can I run LibreX and Marginalia Search with Docker?

LibreX: yes. Marginalia Search: yes.

Which is lighter on resources, LibreX or Marginalia Search?

LibreX has the smaller minimum footprint at 128 MB of RAM, compared to about 4,096 MB for Marginalia Search. Real-world usage depends on library size, user count, and enabled features.

Related comparisons