Find a file
2022-12-29 08:30:59 -06:00
.github Create FUNDING.yml 2022-11-22 14:15:48 -06:00
public/files replace nunjucks profile rendering with vue, start listing of recent posts on profiel page, support full IRI object ids in object GET route so that remote origin objects can be fetched from local cache for display in Vue pages 2019-10-12 13:30:33 -05:00
test add postman request library 2019-09-30 20:55:54 -05:00
web support & faq links in header, try adding masto verification links in static html 2022-12-05 10:07:08 -06:00
.dockerignore add docker deployment 2021-11-01 18:05:14 -05:00
.env.defaults add docker deployment 2021-11-01 18:05:14 -05:00
.gitignore add docker deployment 2021-11-01 18:05:14 -05:00
CHANGELOG.md changelog 2022-05-15 14:27:12 -05:00
config-template.json generate keys for local users 2019-09-14 21:49:33 -05:00
deliveryWorker.js adjustable delivery timeout 2022-11-09 12:27:43 -06:00
docker-compose.dev.yml add dev compose file now that main one is for swarm 2022-11-07 21:36:01 -06:00
docker-compose.yml update replica counts to match prod 2022-11-21 12:32:24 -06:00
Dockerfile only healthcheck the webserver, update default worker replicas 2022-11-07 21:47:40 -06:00
index.js domain blocking 2022-12-29 08:30:59 -06:00
LICENSE Create LICENSE 2019-09-21 17:03:29 -05:00
package-lock.json bump apex 2022-11-09 22:35:56 -06:00
package.json dockerhub build scripts 2022-12-05 10:07:27 -06:00
README.md Add co-op info to readme 2022-11-25 14:35:19 -06:00

Gup.pe

Social groups for the fediverse - making it easy to connect and meet new people based on shared interests without the manipulation of your attention to maximize ad revenue nor the walled garden lock-in of capitalist social media.

This server-2-server ActivityPub implementation adds decentralized, federated "groups" support across all ActivityPub compliant social media networks. Users join groups by following group-type actors on Guppe servers and contribute to groups by mentioning those same actors in a post. Guppe group actors will automatically forward posts they receive to all group members so that everyone in the group sees any post made to the group. Guppe group actors' profiles (e.g. outboxes) also serve as a group discussion history. Creation of new groups is automatic, users simply search for or mention a new group and it will be created.

Guide and Support Guppe Groups

Guppe Groups adds simple social groups to Mastodon and other federated social networks. I created Guppe because I had moved all my online social activity to Mastodon to rid myself of the manipulation of extractive social platforms, but I missed the ability to connect with new people around shared interests using groups features that those platforms offer. It started in 2019 as a simple demo to help me learn ActivityPub in order to build Immers Space, the fediverse app for 3D immersive content, but I've kept it going because so many people find it useful.

In 2022, with the unprecedented influx of traffic to Mastodon from people leaving Twitter, the cost of operating Guppe has risen from $10/month to over $100/month as it now serves 4,000 requests per minute during peak times. That's more than I can justify spending on this hobby horse, so, with some prompting from Guppe users, I've set up an Open Collective page to allow contributions - with a twist.

I fundamentally do not believe that being a programmer gives me any special right to make decisions for others, and I recognize that the interests of the operator of a social app often conflict with the interests of the users of that app. That's why we invested in consultants and legal counsel to develop a cooperative governance model for Immers Space that shares power between the workers and the users of the software, and Immers Space will now manage Guppe with a similar model.

  • Your contributions to Guppe on Open Collective will count as membership dues
  • Contributions received in excess of operating costs will be used to fund development hours to improve Guppe and add new features
  • Development decisions will be made democratically through member votes on our Loomio group

Guppe Members

Tech stack

Mostly powered by activitypub-express from Immers Space. The gup.pe server app, index.js is 200 lines of code, just adding the auto-create actor, auto-accept follow, and auto-boost from inbox behaviors to the base apex setup.

There's also an HTML front-end using Vue (/web) to display popular groups and provide fallback user profile discovery.

Installation

Guppe uses Docker Swarm for easy load balancing Web server replicas

git clone https://github.com/wmurphyrd/guppe.git
cd guppe
cp .env.defaults .env
echo DOMAIN=yourdomain.com >> .env
docker swarm init --advertise-addr 127.0.0.1
docker stack deploy --compose-file docker-compose.yml guppe

Updating

Backup database:

docker-compose exec -T mongodb sh -c 'mongodump --archive' > guppe.dump

Fetch latest code & restart server:

git pull
docker stack deploy --compose-file docker-compose.yml guppe

Optional configuration

Additional values can be set in .env file

Setting Description
PROXY_MODE Enable use behind an SSL-terminating proxy or load balancer, serves over http instead of https and sets Express trust proxy setting to the value of PROXY_MODE (e.g. 1, other options) See note.

Notes on use with a reverse proxy: When setting proxyMode, you must ensure your reverse proxy sets the following headers: X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Proto (example for nginx below).

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;

License

Copyright (c) 2021 William Murphy. Licensed under the AGPL-3