Hi all. I’m Simone, a high school teacher in Italy. In my spare time I’m building Jase (https://jaseengine.it/), a search engine with its own crawler and its own index, focused on the Italian web. It doesn’t resell Google or Bing results.

How it works today:

  • The crawlers run on my Mac and on a PC at home. Each one owns a shard of the index, and a coordinator decides which machine crawls which site.
  • The index has about 35’000’000 pages.
  • Each result has a small panel that explains why it’s there.
  • A product row compares shop prices. Some offers are affiliate links: they’re labelled, and the cheapest offer comes first whether or not it pays a commission.

Currently, the local infrastructure consists of my “crawler” Mac (which I’m writing from today), my “crawler” gaming desktop, and an additional PC I bought from a friend for 700 euros—equipped with a Ryzen 7 5800X, 32GB of DDR4 RAM, a 2TB NVMe drive (which holds the shards), and a 500GB NVMe drive (which hosts the production server).

An interesting aspect is how I handled the two shards: the server acts as a coordinator, distributing lists of sites between the Mac and the Windows machine—each of which becomes the “owner” of its assigned list. This ensures that one machine doesn’t take on a site already assigned to the other, preventing them from redundantly crawling the same sites. Once they receive the links, they crawl and scrape the content, then send the data back to the server, which adds it to the respective shards.

In the meantime, I’ve also created a custom browser that allows me to add sites I use daily to my index—in case they were missing—while also implementing a search feature that queries multiple search engines. Most importantly, it blocks ads on 99% of websites, including Prime Video, YouTube, Reddit, and Instagram :P .

What isn’t good yet:

the index is small and mostly Italian, and the Mac crawler has been stopped since 8 November because its disk is full.

I really like the idea of ​​being able to offer a service like this for free, and I’m doing my absolute best to make that happen; unfortunately, however, my personal life imposes strict limits on how much I can—or cannot—spend on infrastructure.I’m in no rush to grow—the index, small as it may be, already covers a large portion of the most significant Italian requests—but I certainly cannot wait months just to purchase a single SSD.

Two things would help: Try a few searches, especially in Italian, and tell me where the results are bad. If you want to help directly, I’m raising €170 for a 2 TB SSD to restart that crawler: https://liberapay.com/jaseengine/ — a one-off gift works too, just cancel the renewal after the first payment.

Happy to answer anything about the crawler or the ranking.

  • axidort@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    Nice project, running your own index is hard and 35M pages on home hardware is a real start. Since you asked for feedback, here are things that tend to matter most once a small crawler grows:

    Be a polite, identifiable crawler. Use a distinct user agent with a URL that explains what Jase is and how to contact you, e.g. JaseBot/1.0 (+https://your-site/bot). Site owners who can’t tell who you are just block you. Also don’t spoof a browser UA.

    robots.txt, by the book (RFC 9309). Cache it per host (up to ~24h is fine). A 4xx on robots.txt means you may crawl; a 5xx or timeout means treat the site as disallowed for now and retry later. Honour Disallow for your own token and fall back to *. Crawl-delay isn’t in the RFC, but many sites set it, so respecting it is cheap goodwill.

    Per-host politeness in the frontier. Keep one queue per host, with a minimum delay between hits (a few seconds is a sane default for small sites). Back off exponentially on 429/503 and read Retry-After when it’s present. If a site keeps blocking you, drop it rather than rotating IPs or agents.

    Avoid crawler traps. Calendars, faceted shop filters, session IDs and infinite pagination can eat a huge share of a crawl. Normalise URLs (strip tracking params, sort query strings, lowercase host), cap depth and URLs per host, and honour rel=canonical.

    Dedup. Exact duplicates by hashing the extracted main text. Near-duplicates with simhash or minhash. For an Italian-only index it’s also worth language-detecting at crawl time so you don’t store pages you’ll never serve.

    Your full-disk problem. Don’t store raw HTML forever. Keep extracted text plus metadata, and gzip or zstd anything you keep as WARC. Make the crawler stop cleanly (or pause that machine’s queue) when disk is low, instead of failing mid-write, and checkpoint the frontier so a restart doesn’t lose state. A coordinator that shards by host (it sounds like you already do) also makes it simple to move a shard to another machine.

    Seeding. Common Crawl publishes free WARC archives and a URL index, so you could pull the .it domains from there to discover hosts and fill gaps, then use your own crawler for freshness.

    JS-heavy pages. Plain HTTP fetch plus parsing covers most of the web. Only render in a headless browser when the page body is empty and the site clearly needs it, since rendering costs far more CPU and memory per page than a plain fetch. Reading schema.org JSON-LD and the sitemap first often gets you titles, prices and dates without rendering anything.

    On lurch’s idea: an open shared index is attractive, but your reply about moderation is right. The moment others can submit URLs you need abuse handling, so I’d keep it closed until the crawler basics are solid.

    • iocase@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 days ago

      Also RAG is super powerful… you can get lightweight models to make embeddings of information so semantic search can be combined with lexical.

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 days ago

    you should start a nonprofit that shares the index with everyone but google and lets ppl contribute, as well as expand storage. it can charge money for giving access to businesses and accept donations.

    there used to be a directory of web pages called ODP/DMOZ which was a good base to crawl internationally. the nonprofit could restart that.

    I’m telling you this, because i’m very disapointed with current search engines and and AI search. I hope yours will be better or at least become competition that preassures them to make a good search again.