Open-source project
MarginaliaSearch/MarginaliaSearch avatar
MarginaliaSearch/MarginaliaSearch

Marginalia Search is a hobbyist-scale engine for the small web, with a 32 GB floor and a split license

Internet search engine for text-oriented websites. Indexing the small, old and weird web.

2,255 stars68 forksJavaLicense varies

At a glance

What is it?
MarginaliaSearch is the Java source code behind a search engine that favors non-commercial, text-oriented sites. It can run as a copy of Marginalia or as a white-label engine over your own data, but its judgments are tuned to the project's own goals and its production setup wants far more than a laptop.
Who is it for?
Run Marginalia Search if you want to study or self-host a search engine built for the small, old and non-commercial web, and you can supply the RAM and disk the README asks for. Do not treat it as a configurable white-label product yet, because the README says the logic is not very configurable and its judgments follow the Marginalia project's goals.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository last received commits 3 days ago.
What is it written in?
Mainly Java, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • MarginaliaSearch/MarginaliaSearch2,255 ★ · +75
Star history
Repository2026-10-082026-11-26
MarginaliaSearch/MarginaliaSearch2.2k2.3k

75 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The goal is discovery of the human, non-commercial web, not a general index

The stated aim is developing new and alternative discovery methods for the Internet. It calls the project an experimental workshop as much as a public service, with the overarching goal of elevating the more human, non-commercial sides of the Internet. The repository description puts it more concretely: an internet search engine for text-oriented websites, indexing the small, old and weird web.

That goal explains the design choices that follow. A search engine for the whole web tries to cover everything. This one deliberately favors a narrow slice, and it says so in the first paragraph. A side-goal: do this without datacenters and enterprise hardware budgets, so the operation can run on affordable hardware with minimal operational overhead. Whether a reader finds the results useful depends on whether they want that slice of the web. The source code is what is published here, and the public site it powers is linked from the README.

Two ways to run it: a copy of Marginalia, or an engine over your own data

The system can be run as a copy of Marginalia Search, or as a white-label search engine for your own data, which can be either crawled or side-loaded. Side-loading means feeding the engine data that was not collected by its own crawler.

The white-label route comes with a qualification stated plainly. At present the logic is not very configurable, and many of the judgments the engine makes are based on the Marginalia project's goals. The authors say additional configurability is being worked on. In practice, someone indexing an internal documentation set would inherit ranking and filtering choices made for the small web, and no list of knobs is given to change them. The project also links a video demo of the set-up and operation of what it calls the self-hostable barebones mode, which is the quickest way to see the intended workflow before committing to a build.

Another consequence is data handling. A crawled corpus and a side-loaded one both feed the same index, so the quality of a side-loaded set decides what searchers see. The repository root has a run directory for local scripts and files, and a code directory holding the source, so a white-label experiment starts from those two folders rather than from a packaged installer.

Setup begins with run/setup.sh, which downloads model data before anything compiles

The Set up section points to run/readme.md for a local test environment and to docs.marginalia.nu for further documentation. Before compiling, you have to run run/setup.sh. This script downloads supplementary model data that the code needs. The same data is needed to run the tests.

That ordering is the detail most likely to trip a newcomer. A plain checkout followed directly by a build would be missing files, and a test run would fail for the same reason. The build system is Gradle, judging by the build.gradle, gradlew, settings.gradle and related files at the repository root, and the project includes docker.gradle and protobuf.gradle. The README itself gives no build command, so the commands live in run/readme.md. For anyone who wants to change code, doc/ide-configuration.md covers IDE setup, and CONTRIBUTING.md explains how to contribute.

Production wants lots of RAM and enterprise SSDs, and 32 Gb is the stated floor

The Hardware Requirements section is blunt. A production-like environment needs a lot of RAM and ideally enterprise SSDs for the index, plus additional terabytes of slower hard drives for storing crawl data. It can be made to run on smaller hardware by limiting the size of the index.

The floor is specific: the system will definitely run on a 32 Gb machine, and possibly smaller. At that size it may not perform very well, because it relies on disk caching to be fast. A local developer's deployment is possible with much smaller hardware and a smaller index.

Two things follow for a reader sizing a deployment. First, the index size is the lever: shrinking it is the documented way to fit smaller machines. Second, performance on modest hardware depends on the operating system's disk cache. The README gives no figures for how many pages a given amount of RAM supports.

The crawl data is the other cost. The terabytes of slower drives hold what the crawler has fetched, separate from the index that lives on SSD. A developer's local deployment avoids both by running with a much smaller index, which is the right way to try the code before sizing real hardware.

The license is AGPL 3.0 for the bulk, with MIT parts and third-party exceptions

The bulk of the project is available under AGPL 3.0, with exceptions. Some parts are co-licensed under MIT, and third-party code may carry different licenses. The reader is told to look at the appropriate readme.md or license.md, and the repository has a LICENSE.md at the top level plus a third-party directory.

The GitHub license field reads NOASSERTION, which reflects that mix: no single license applies to everything. The practical rule is to check the license of the directory you copy from, not the repository as a whole. AGPL 3.0 matters most if you plan to offer a modified version over a network, since that is the case the AGPL addresses. The README also mentions commercial API licenses as part of the funding plan, with non-commercial share-alike always free, but it does not explain how that interacts with AGPL for people who run the code themselves.

The funding plan is grants, donations and commercial API licenses

The long-term plan: refine the search engine until it provides enough public value that the project can be funded through grants, donations and commercial API licenses, with non-commercial share-alike always free. It links a page for donating to the project.

Two supporters are named. The project was funded through the NGI0 Entrust Fund, established by NLnet with financial support from the European Commission's Next Generation Internet programme, under grant agreement No 101069594. It also received a sponsorship from SerpApi, and the text includes SerpApi's description of its own Search Index API, which delivers structured results in JSON and Markdown.

That sponsor text describes SerpApi's product, not a feature of this repository. Nothing in the README says Marginalia Search ships a JSON or Markdown API in this codebase, so do not read the sponsorship block as a feature list. For contact, the README gives an email address, [email protected], for questions or feedback.

The newest tag is from October 2024, and the push history says more

The listed releases are v24.01.2 on 2024-02-18, v24.10.0-rc on 2024-10-11 and v24.10.0 on 2024-10-14. The README does not describe a release policy. The last push to the master branch was on 2026-10-09, so the code has moved on well past the latest tag, and the repository is not archived.

That gap matters for anyone who wants a stable build. Cloning master gives you work in progress, while the tagged release is two years behind it. The repository also contains a ROADMAP.md, a deploy.txt and a tools directory, none of which the README explains. The code/ directory has its own readme.md with a breakdown of the structure and architecture, and that is the document to read before changing anything. If you need a known-good version, pin to v24.10.0 and read the roadmap to see what has changed since.

Editorial conclusion

Run Marginalia Search if you want to study or self-host a search engine built for the small, old and non-commercial web, and you can supply the RAM and disk the README asks for. Do not treat it as a configurable white-label product yet, because the README says the logic is not very configurable and its judgments follow the Marginalia project's goals. Before building, run run/setup.sh to fetch the model data, read the license section for which parts are AGPL 3.0 and which are MIT, and check whether your hardware clears the 32 Gb mark the README names.

Frequently asked questions

What is Marginalia Search?

It is an internet search engine for text-oriented websites that aims to index the small, old and weird web. The repository is the source code of the engine, whose goal is to elevate the more human, non-commercial sides of the Internet.

How do I use Marginalia Search on my own machine?

Run run/setup.sh first to download the model data, then follow run/readme.md for a local test environment. Further documentation is at docs.marginalia.nu.

How much hardware does Marginalia Search need?

Production-like use needs a lot of RAM, ideally enterprise SSDs and extra terabytes of slower drives for crawl data. The README says it will definitely run on a 32 Gb machine, and a local developer setup needs much less.

What license does Marginalia Search use?

The bulk is AGPL 3.0 with exceptions. Some parts are co-licensed under MIT, and third-party code may have other licenses, so check each directory's readme or license file.

Official sources

  1. Issues
  2. MarginaliaSearch/MarginaliaSearch on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/marginaliasearch-marginaliasearch.svg)](https://hysenlabs.com/projects/marginaliasearch-marginaliasearch)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/marginaliasearch-marginaliasearch.svg)](https://hysenlabs.com/projects/marginaliasearch-marginaliasearch)

Was this useful?