Collect Mastodon instances with /api/v1/instance/peers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
server
.gitignore
LICENSE
Makefile
README.md

README.md

Instances

Collect Mastodon instances with /api/v1/instance/peers

API

http://distsn.org/cgi-bin/instances-api.cgi (Mastodon, Pleroma)

http://distsn.org/cgi-bin/instances-raw-api.cgi (GNU social, Mastodon, Pleroma, Misskey)

Install

Depends on: https://gitlab.com/distsn/libsocialnet

sudo apt install build-essential libcurl4-openssl-dev apache2
make clean
make
sudo make initialize
sudo make install
sudo make activate-cgi
sudo systemctl daemon-reload
sudo systemctl enable mastodon-instances
sudo systemctl start mastodon-instances

Update

make clean
make
sudo make refresh
sudo make install

解説

マストドンインスタンス一覧を自動で作る