01 Objective
Enable static websites to make their files available for search and download easily.
And allow dynamic websites to become indexers.
02 How it works?
Run Crawler.java for get URLs and also magnet links of a page and store in "links.txt".
Run links.php for put the raw links of "links.txt" to MySQL database.
Run indexer.php to index the files found in the servers using meento standard (It is unrelated to both of the above and uses a different MySQL database, and obtain the data via JSON files)
index.php handles searches for both standard URLs and magnet links within the MySQL database. And index2.php uses a more alternative style.
Note: there is a database intended for the files present on static websites that follow the Meento storage standard, and another one that serves any link or magnet link.
In meento everything is done using HTTP, including search, send, download and indexer operations.
03 How to send a file to a server?
Due to technical limitations, static servers do not allow receiving files, only accessing their content.
A server can only receive files if it supports PHP or another dynamic language. Just make sure the server address is in your servers.txt file (either locally or in your web directory). This way, when you open upload.php or index.java, all files you send will also be sent to each server in servers.txt using the POST method.
04 How to create a static server?
Place all your files inside the files directory and run FileHashBuilder.java. All files will be renamed to their SHA-256 hashes, JSON files will be created in the info directory, and the files.txt file will be generated. Then simply copy the files, info directories and the files.txt file to your web server, or run one on your computer. If you just want to share links to files that you don't necessarily host, you can put them in links.txt with one link or URL per line. You can run this file ServersDiscovery.java to try to start an HTTP server and discover new ones.
05 How to announce my server?
For now, this works manually. Just find a valid server and then, on the paste.php page, you can paste the URL or address of your server.
06 License
The project's license is MIT.
07 Donate
BTC : bc1ql0l8hsnaqgamlz2cvs53hs7ntszwrthera00sz