lostinlight / the-federation.info

Statistics hub for The Federation

Home Page:https://the-federation.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stories in Ready chat on freenode chat on matrix

The-Federation.info

Tracking various projects using the Diaspora, ActivityPub, OStatus and other protocols.

Site found at: https://the-federation.info

How to get your platform listed

Implement NodeInfo, NodeInfo2, Statistics.json or Mastodon stats API endpoint.

OK, I've done that, what now?

Register your node here, for example https://the-federation.info/register/mynode.tld. If it is a success, you're good! If your platform is new, or you want to update an existing platform information, raise an issue providing the following:

  • URL to code
  • Description
  • Display name
  • Code license
  • Icon
  • URL to install guide
  • Tagline
  • URL to official website

If it's closed source, leave out link to code and install guide. Icon can be any size, currently only using 16px. Possibly will have a larger image at some point on the platform page. Tagline is a kind of short one sentence marketing line, see other platforms.

Tech stack

  • Node 9
  • Python 3.6
  • Django 2.0
  • PostgreSQL
  • Vue 2
  • Webpack
  • GraphQL

Backend

Dependencies

pip install -U pip setuptools pip-tools
pip-sync dev-requirements.txt

DB

sudo su - postgres
createuser -s -P thefederation  # give password 'thefederation'
createdb -O thefederation thefederation
exit
python manage.py migrate

Frontend

Build Setup

# install dependencies
npm i

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

Authors

See other awesome contributors!

License

AGPLv3

About

Statistics hub for The Federation

https://the-federation.info

License:GNU Affero General Public License v3.0


Languages

Language:HTML 36.3%Language:Python 29.6%Language:Vue 19.6%Language:JavaScript 9.5%Language:CSS 3.1%Language:Shell 1.4%Language:Dockerfile 0.4%