Everyone should have heard of magnet links and BT seeds! This is a download tool that uses a type of P2P technology, and it can now be considered a form of decentralized application.
Speaking of BT, its history is quite long. The following introduction is excerpted from the internet:
In 2003, software engineer Bram Cohen invented the BitTorrent protocol. BitTorrent (abbreviated as BT) is a file distribution protocol where each downloader continuously uploads the data they have downloaded to other downloaders while downloading.
Almost as soon as the domestic internet began to take off, it was already one of the most popular resource-sharing and downloading tools. During the same period, other popular P2P software in the country included eMule and QQ Player.
The earliest P2P did not support DHT; it required a tracker server to record the information of each user who was downloading until the tracker server was directly blocked by network operators. However, BT did not fall because of this; it directly utilized DHT technology to decentralize and completely rid itself of the tracker server.
That's about it for now. Next, let's talk about how to create your own seed library with tens of millions or even billions of seeds, and how to update newly created seeds in real-time across the entire network.
First, you need to install a BT download software: BitComet. The download address on the official website may be blocked in some regions, so if you can't download it, go to places like Huajun Software Park or similar sites, or use a VPN to download.
First, install the software, and then before opening it, you need to set your computer's time zone. Open the computer control panel, find the regional settings, change the Chinese (China) to Taiwan or Hong Kong, and then restart your computer.
After restarting the computer, open BitComet, go to the top menu, and change the language to Traditional Chinese in the options.
Then you will see the seed market on the left side of the software. Right-click on the DHT seed, open automatic download of metadata, and change the quantity to unlimited.
The principle here is to search for all online seeds in the DHT network, including newly created seeds, constantly searching every moment. Since only magnet links are returned from the search, we need to download the metadata to know what this file actually is.
In fact, the metadata is the seed file, and it is saved in this directory:
So if you want to download tens of millions of seed data, your hard drive needs to be large enough. There is also a file in the seed directory, which is an SQLite database that stores all the seed information found.
Of course, all of this is very simple. When you have collected enough seed information, you can use that automatically generated database to build a magnet search website.