This project generates a website listing sites using Distributed Press. The index is dynamically generated by filtering, sorting, and sanitizing data from available instances. The generated page is a static HTML file that helps users discover and explore DWeb sites.
Some sites may not be auto-crawled, but you can manually add them. To do this, edit the site data file (manualSites.json) and append a new entry:
[
{
"domain": "manual-site-1.com",
"metadata": {
"title": "Manually Added Site",
"description": "This site was added manually."
},
"links": {
"http": {
"enabled": true,
"link": "http://manual-site-1.com"
},
"hyper": {
"enabled": false
},
"ipfs": {
"enabled": false
}
},
"public": true
}
]
After adding sites, generate the index by running:
npm start
This will generate files for the indexer in the public directory.