Hello everyone
Recently, I started a project named "veridex" which is a Search Engine powered by my own web crawler. well, why did I start this project? So, I have always been interested in different field, always researching on topic related to geopolitics, philosophy, programming, etc. But there has always been lack of reliable information . Researchers' first instinct is to search the topic on popular search engines like Google, Bing, etc. and nowadays people have started going to LLMs. Although, searching a topic on search engines like Google is a good start but the results that appear on the top aren't always facts or I would say "reliable information". Instead, they are someone else's opinions on that topic. Do you know where this "reliable information" of mine lies on The Internet? Yes, most of this "reliable information" are found in those "not-so popular" web pages like someone's blog post, some university research paper, organizations that specialize in different fields. And my search engine does exactly that bring these kind of pages to the top.
First let me introduce you to our crawler, I named it web_weaver written fully in Rust. I used Rust because I needed to crawl pages faster. web_weaver has its own repository on Github. It's just a CLI application. It is light-weight because initially, it was meant to be used personally. For the sake of lightness, I used SQLite as its database. It has got the major functionalities that you'd expect from a crawler like:
- It has a Polite-Crawling feature which means it respects
robots.txt(per hosts) and also has a rate-limiter per requests. - It stores pages in SQLite with an
FTS5 virtual table, auto-indexing, Helping in Full-text Search viabm25 ranking. - Contents like title, meta keywords/descriptions are extracted.
- It has got this Exponential Backoff feature. A failed HTTP request retries up to 3 times with 1s/2s/4s exponentially increasing time.
- if the crawling process is interrupted, pending work is loaded on next run
- URL deduplication is also present which prevents re-crawling of the same URL.
Our crawler, web_weaver has it's own flaws. But since, I just started this project I will try my best to make it better.
Now let's talk about the search engine itself - "veridex". first of all, I would like to confess, it is nothing but an AI slop. The reason being, I made veridex a part of my college. Since, colleges have this "Minor Project" as a part of their curriculum, I took the responsibility of completing this project before a specific deadline in front of my professor. And due to this deadline I had to Vibe Code the whole thing.
It is written in Rust too. This is the GitHub repository.
Some of the technicalities used in veridex are:
- As discussed, it uses
web_weaveras its crawler. - To rank pages in the result of a query, veridex has it's own ranking algorithm which calculates the
ranking scorelike this:score = 0.55 × relevance + 0.40 × authority + 0.05 × title_coverage- Authority (40%) — curated trusted/demoted host lists, TLD rules (.edu, .gov, .ac.*, …) and page signals: DOI, references section, inline citations, long-form content, PDF availability. Pages get a letter grade A–D.
- Relevance (55%) — SQLite FTS5 BM25 (porter stemming) squashed with s / (s + 2). The absolute squash keeps the IDF ≈ 0 epsilon produced by terms that match most of the corpus at ~0 instead of amplifying noise.
- Title coverage (5%) — query terms present in the page title.
- Veridex has a feature of Summarization. This feature exists because sometimes you need facts regarding a topic rather quickly so you can just summarize all the results and even export the summary into a single PDF. For this feature, I could have used a AI summarizer or something similar but I went for a local and deterministic one (which is quite inefficient currently). It works like this:
- Run the query, take the top authority-ranked pages.
- Split pages into sentences. Crawler text is hard-wrapped, so single newlines are soft wraps; blank lines and bullet lines are boundaries. Numbered section headings (
4.2,4.4.1), footnote anchors ([46]) and the leading page title are dropped; decimals (3.5) and abbreviations (Sect.,et al.) never split. - Score sentences on query coverage, salience, position, length and source authority.
- Select with MMR (maximal marginal relevance) so the brief is diverse and non-redundant, capped per page so no single source dominates.
- Render to JSON or a typeset PDF (masthead, key findings with citation markers, source breakdown with grades/authority, references, and
page N of Mfooters).
It has a Live-Search toggle which uses
DuckDuckGo's HTML endpoint with a Bing fallback.-
frontend/is a Leptos 0.8 single-page app compiled to WebAssembly (trunk build). Hash routing (#/,#/brief?q=…,#/page/{id},#/stats) keeps it deployable on any static host.- Search — query + optional domain filter, result cards with grade badges, hybrid/relevance/authority scores, source-signal chips, and pagination.
- Research brief — extractive summary with findings and per-source passages, plus one-click PDF export (fetched as a blob and handed to the browser's download manager).
- Page reader — full stored content, reflowed from the crawler's hard-wrapped text, with authority breakdown.
- Index stats — page count, crawl range, top hosts.
I would like if the community behind veridex was much bigger and folks would help me out throughout this project. The philosophy behind this project is simple, I want every scholar, every researcher to be able to research on different topics without getting distracted. I want this project to be Free & Open-Source (FOSS) forever.
Thank you!!
