You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 hours ago | |
---|---|---|
.well-known | 1 month ago | |
Docs | 1 month ago | |
src | 5 hours ago | |
LICENSE | 2 months ago | |
README.md | 1 month ago |
README.md
Dynamic Discovery Directories
A simple solution to site discovery. Build networks by choosing who you endorse. Everyone owns their data.
Simple means:
- No Javascript
- No Cryptocurrency/NFT
- No Databases
- Scalable, Extensible, and Machine Readable
Follow these steps to become discoverable:
- Grab the example json file
- Check out the docs
- Modify it with your data
- Serve that file from your.website/.well-known/discover
- Feel free to test your setup by visiting: https://tomfasano.net/discover.html?url=your.website
How do I run the client on my website?
- Install dependencies:
apt install -yy fcgiwrap jq curl
- Clone this repo
- Navigate to your webroot
- Make a subdirectory for the client script,
mkdir cgi-bin
. (The name doesn't matter) - Copy the client script into this folder
chmod +x client
andchown www-data:www-data client
- Copy the css file into your webroot.
- Add the nginx config snippet to your website's config in
/etc/nginx/sites-enabled/your.website
nginx -t
andsystemctl restart nginx
Now go to your.website/discover.html
You should see your json file displayed as a webpage, as well as previews of other people's sites you chose to connect with.
It's recommended to use a json linter before publishing your data
Credits
Fork of Interverse