Statistics hub for The Federation
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.
build
config
docker
requirements
src
static
test/unit
thefederation
utils/wait-for-it A few smaller fixes and corrections. May 12, 2018
.babelrc
.coveragerc
.dockerignore
.editorconfig
.env.local.example A few smaller fixes and corrections. May 12, 2018
.env.prod.example
.eslintignore
.eslintrc.js Turn off eslint no-restricted-syntax Apr 29, 2018
.gitignore
.postcssrc.js
.pylintrc
.travis.yml
CODE_OF_CONDUCT.md
LICENSE
README.md
compile-requirements.sh Initial skeleton with some configuration Apr 11, 2018
dev-requirements.txt
docker-compose.local.yml
docker-compose.yml New deployment tweaks May 15, 2018
index.html
manage.py Add initial models and do some cleanup Apr 11, 2018
package-lock.json
package.json Add services to node lists and node pages May 10, 2018
requirements.txt
setup.cfg

README.md

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