Posted on 2022-04-06
Here we are again. I started another project (the third or so in the last two months). This time it is all about searching.
I started this project to make searching easier. Currently, I mainly just go to my preferred search engine and type in what I want. The main disadvantage with this approach is that for most searches, only a few websites are relevant, for example if I am currently programming, it seems that 90% of all searches lead me directly to StackOverflow (which has some horrible themes now by the way, but that is a topic for another blog) or directly to the documentation of some library.
I therefore decided that I could just query all these sites directly and forward me to the site I am actually looking for. To further enhance the searching, I decided that I needed some profiles, which decide which sites should be queried. If I am looking for documentation of a Rust module, I can therefore activate the Rust profile and just receive information from Rust documentation (e.g. doc.rust-lang.org, maybe crates.io) but not some random StackOverflow questions that are irrelevant.
I also aim to make this as a easy to use library, which means that there will be many different ways searching can be done. For now I will focus on searching using the command line, but I have some other ideas like dmenu-scripts, a GTK application, who knows, maybe even a gemini site.
I have already done the first few steps and set up the library with basic structures needed. I have also already implemented StackExchange (StackOverflow and similar) and WikiMedia (wikipedia and similar), but as I do not yet have a easy way to invoke them they are only testcases for now.
This project will of course be open-source in the future, but as this is still completely unusable (I have just started on the project yesterday), this will have to wait a little bit. I promise you will be the first to be informed after publishing the project.