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.
| Feature | LibreX | Marginalia Search |
|---|---|---|
| Deploy effort | Under-an-hour setup | Under-an-hour setup |
| Health score | 16 · At risk | 68 · Good |
| Category | Search Engines | Search Engines |
| License | AGPL-3.0 | AGPL-3.0 |
| Language | PHP | Java |
| Setup difficulty | Easy | Hard |
| Min. RAM | 128 MB | 4,096 MB |
| Deployment | docker, bare-metal | docker, source |
| GitHub stars | ★ 846 | ★ 2,157 |
| First released | 2021 | 2021 |
| Replaces | Google Search | Google 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
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
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.