Simple web crawler, made for the Tiko search engine. (see https://forgejo.hlelo.cc/Hlelo/Tiko) https://tiko.hlelo.cc
  • C++ 93.4%
  • Makefile 6.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-01-30 18:20:58 +01:00
include Initial commit 2026-01-30 18:06:08 +01:00
src Initial commit 2026-01-30 18:06:08 +01:00
.gitignore Initial commit 2026-01-30 18:06:08 +01:00
makefile Initial commit 2026-01-30 18:06:08 +01:00
README.md Update the README 2026-01-30 18:20:58 +01:00

Tiko-Crawler

The crawler for the Tiko search engine.

Build instructions

To build tiko-crawler, run make:

make

This will produce a binary file, ./tikoc.

How to use

Run ./tikoc.
You will be asked to enter a starting point. This is where tiko-crawler will begin to look for domains to add.
For now, tiko-crawler only fetches up to 500 domains. This is defined in include/crawl.hpp at line 11. It is planned to have this be configurable at some point.

Once the crawling process is done, tiko-crawler should generate ./sites.tdb. This file is the database file that Tiko will be able to use. To do so, rename sites.tdb to db.txt and move it in the root of a Tiko installation.

Differences from other crawlers

Unlike most crawlers, tiko-crawler only fetches a domain once.
For example, if you have two links to the same website:

https://example.com/somefile
https://example.com/

tiko-crawler will only register and fetch example.com once. Some people might find this limiting since you cannot look for specific pages in a website, however I find this beneficial as it aligns more with the goals of Tiko.