↓ Skip to main content

Presearch Node Utils

·3 mins
Archived: Presearch has since shut down, and the presearch-node-utils repository has been removed along with it. This post is kept for posterity, but the project and links it references no longer exist.

👋 Hello, hello.

I’ve recently become more and more involved with a few different crypto projects. Presearch was one of the first few I came across that I truly liked. It’s definitely in its infancy, but I love the idea of a better search solution that tracks less of you. And hey, you get rewarded PRE tokens for searching which is equivalent to a small amount of real money. Win, win, I suppose.

So, when I read that I could assist the project by running my own “node”, I was stoked. Running a Presearch Node essentially means you are providing a relay for search traffic to travel through when attempting to grab results from other search engines. You are then rewarded in PRE tokens for providing a node that has low latency and successfully completes search requests.

The Problem
#

While setting up my first node, I stumbled across the docker setup script. Turns out that installing Docker CE on Ubuntu is a small mess, so the setup script was significantly easier/quicker. The simplicity of curl | bash inspired me to do something similar to setup a Presearch Node.

There are inherent security risks with directly piping HTTP content to bash. It’s important that you understand what you are downloading before blindly running a web result with bash. Ensure you review the bash script before EVER piping curl to bash

The Solution
#

I created a set of simple bash scripts that you can use to perform standard tasks on a Presearch Node. For now, you can use them to setup, backup, and restore a Presearch Node.

The repository used to live at github.com/seanmarpo/presearch-node-utils (since removed).

Every utility can be run via a curl ... | bash type operation to ensure ease of use and least amount of system dependencies.

Interested in running your own node?
#

It was never my intent to try and sell you on running a Presearch Node. But hey, if you think you want to give it a shot, here’s the basic steps – and heck, you can even use my scripts 👏

At the time, you could read about the requirements and expectations on the Presearch nodes site, then fill out a request-to-join form and be approved within 24-48 hours.

Wrapping Up
#

That was the state of things back in 2021. With Presearch gone, this project is retired too – thanks to everyone who used the scripts.

Sean Marpo
Author
Sean Marpo
I break web apps for a living and build software on the side.

Related