Go to file
2019-07-18 13:21:12 +03:00
backend fix edge generation, serve graph in cytoscape format 2019-07-18 13:21:12 +03:00
frontend fix edge generation, serve graph in cytoscape format 2019-07-18 13:21:12 +03:00
gephi fix edge generation, serve graph in cytoscape format 2019-07-18 13:21:12 +03:00
.dokku-monorepo fix backend app name in .dokku-monorepo 2019-07-14 13:12:35 +01:00
.gitignore set up sobelow for backend 2019-07-17 16:16:25 +00:00
.gitlab-ci.yml add dependency scanning to CI 2019-07-17 23:25:21 +03:00
BILL-OF-MATERIALS.md add sigmajs to bill of materials 2019-04-30 18:23:20 +01:00
CHANGELOG Add CHANGELOG 2019-07-13 19:02:29 +00:00
docker-compose.yml consolidate into one docker-compose.yml 2019-07-14 14:40:35 +01:00
example.env refactor/elixir backend 2019-07-14 11:47:06 +00:00
LICENSE use AGPL (#32) 2019-02-20 13:45:09 +00:00
netlify.toml set up staging frontend to use staging backend 2019-07-17 23:51:49 +03:00
README.md Update README.md 2019-07-17 22:07:05 +00:00
screenshot.png Replace screenshot.png 2019-04-17 09:52:10 +00:00

fediverse.space 🌐

The map of the fediverse that you always wanted.

A screenshot of fediverse.space

Requirements

  • For the scraper + API:
    • Elixir
    • Postgres
  • For laying out the graph:
    • Java
  • For the frontend:
    • Node.js
    • Yarn

All of the above can also be run through Docker with docker-compose.

Running it

Backend

  • cp example.env .env and modify environment variables as required
  • docker-compose build
  • docker-compose up -d phoenix
    • if you don't specify phoenix, it'll also start gephi which should only be run as a regular one-off job

Frontend

  • cd frontend && yarn install
  • yarn start

Commands

Backend

After running the backend in Docker:

  • docker-compose run gephi java -Xmx1g -jar build/libs/graphBuilder.jar lays out the graph

./gradlew shadowJar compiles the graph layout program. java -Xmx1g -jar build/libs/graphBuilder.jar runs it.

Frontend

  • yarn build to create an optimized build for deployment

Acknowledgements

NLnet logo

Many thanks to NLnet for their support and guidance of this project.