All Projects → weathermen → soundstorm

weathermen / soundstorm

Licence: GPL-3.0 license
The Federated Social Audio Platform

Programming Languages

ruby
36898 projects - #4 most used programming language
Haml
164 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
HTML
75241 projects
Makefile
30231 projects

Projects that are alternatives of or similar to soundstorm

Mastodon
Your self-hosted, globally interconnected microblogging community
Stars: ✭ 26,120 (+100361.54%)
Mutual labels:  social-network, activity-stream, mastodon, webfinger, activitypub
mastodon
Your self-hosted, globally interconnected microblogging community
Stars: ✭ 29,949 (+115088.46%)
Mutual labels:  social-network, activity-stream, mastodon, webfinger, activitypub
Rustodon
A Mastodon-compatible, ActivityPub-speaking server in Rust
Stars: ✭ 434 (+1569.23%)
Mutual labels:  social-network, mastodon, federated, activitypub
Aardwolf
Powering connected social communities with open software.
Stars: ✭ 379 (+1357.69%)
Mutual labels:  social-network, mastodon, federated, activitypub
Dandelion
a diaspora* client for Android
Stars: ✭ 100 (+284.62%)
Mutual labels:  social-network, decentralized, distributed, federated
wordpress-ostatus
An OStatus plugin for WordPress
Stars: ✭ 21 (-19.23%)
Mutual labels:  social-network, gnu-social, mastodon, federated
Diaspora
A privacy-aware, distributed, open source social network.
Stars: ✭ 12,937 (+49657.69%)
Mutual labels:  social-network, decentralized, distributed, federated
awesome-alternatives
A list of alternative websites/software to popular proprietary services.
Stars: ✭ 123 (+373.08%)
Mutual labels:  social-network, decentralized, mastodon, federated
Wordpress Activitypub
ActivityPub for WordPress
Stars: ✭ 118 (+353.85%)
Mutual labels:  decentralized, mastodon, federated, activitypub
pylodon
Flask-based ActivityPub server
Stars: ✭ 86 (+230.77%)
Mutual labels:  webfinger, federated, activitypub
Peergos
A p2p, secure file storage, social network and application protocol
Stars: ✭ 895 (+3342.31%)
Mutual labels:  social-network, decentralized, federated
activity-pub
API Platform ActivityPub Support
Stars: ✭ 63 (+142.31%)
Mutual labels:  decentralized, mastodon, activitypub
subsocial-node
NOTE: Development continues in https://github.com/dappforce/subsocial-parachain repo. Subsocial full node with Substrate/Polkadot pallets for decentralized communities: blogs, posts, comments, likes, reputation.
Stars: ✭ 73 (+180.77%)
Mutual labels:  social-network, decentralized, activity-stream
merveilles-town
Fork of Mastodon repository with modifications to make Merveilles a town of our own.
Stars: ✭ 23 (-11.54%)
Mutual labels:  social-network, mastodon, activitypub
Social
🎉 Social can be used for work, or to connect to the fediverse!
Stars: ✭ 302 (+1061.54%)
Mutual labels:  social-network, mastodon, activitypub
polkadot-apps
Fork of Polkadot.js Apps with Subsocial types.
Stars: ✭ 17 (-34.62%)
Mutual labels:  social-network, decentralized, activity-stream
gotosocial
Golang fediverse server.
Stars: ✭ 400 (+1438.46%)
Mutual labels:  social-network, mastodon, activitypub
Microstatus
Lightweight Mastodon- and GNU social-compatible ActivityPub and OStatus server implementation
Stars: ✭ 96 (+269.23%)
Mutual labels:  social-network, mastodon, activitypub
Twtxt
📕 twtxt is a Self-Hosted, Twitter™-like Decentralised microBlogging platform. No ads, no tracking, your content, your data!
Stars: ✭ 486 (+1769.23%)
Mutual labels:  social-network, decentralized
geesome-node
🦈 Your self-hosted decentralized Messenger, Social network, Media file storage on top of IPFS! Freely communicate in encrypted chat groups, share images, video, text or any data without a risk of censorship or blocking.
Stars: ✭ 90 (+246.15%)
Mutual labels:  social-network, decentralized

Soundstorm

Tests Status Build Status Release Status Test Coverage Maintainability

The Federated Social Music Platform.

Soundstorm is an audio-oriented federated social network that speaks ActivityPub. Users can upload their own music, comment on others' tracks, and like/follow/mention just as in a regular social network. Since it speaks the same language as federated platforms like Mastodon, Soundstorm can send new track upload posts to users' followers on the fediverse, allowing them to gain a greater reach than a conventional social audio service.

Installation

Soundstorm is distributed as a Docker image for deployment ease. The reference instance, https://soundstorm.social, uses Amazon ECS for deployment, but the image is self-contained and can be run on any infrastructure. This image runs in RAILS_ENV=production mode by default, and comes pre-loaded with compiled assets and everything you'll need to run a Soundstorm instance in production.

First, pull down the latest production image:

docker pull weathermen/soundstorm

Create a .env file in the local dir for your configuration:

SOUNDSTORM_HOST=your.soundstorm.domain
DATABASE_URL=postgres://[email protected]:5432
REDIS_URL=rediss://[email protected]:6379
CDN_URL=https://cdn.soundstorm.domain
SMTP_USERNAME=your-smtp-server-user
SMTP_PASSWORD=your-smtp-server-password
SMTP_HOST=smtp.server.if.not.using.sendgrid.net
RAILS_SERVE_STATIC_FILES=true

Create the database, set up its schema, and load in seed data:

docker run --rm -it \
           --env-file .env \
           --env SOUNDSTORM_ADMIN_USERNAME=your-username \
           --env SOUNDSTORM_ADMIN_PASSWORD=your-password \
           --env [email protected] \
           weathermen/soundstorm \
           rails db:setup

You can now start the app server using the default container command. Make sure you have a Docker Network created so the container can talk to other neighboring containers:

docker network create soundstorm
docker create --env-file .env --network soundstorm weathermen/soundstorm

You'll still need to proxy requests from an HTTP server to the app server in order to process and terminate SSL. The soundstorm image does not come with SSL certificates built in, you'll need to either obtain one yourself or use the Caddy server to obtain them for you via LetsEncrypt.

Here's an example Caddyfile you can use:

your.soundstorm.host {
  log stdout
  errors stderr
  tls {
    dns route53
  }
  root /srv/public


  proxy / http://web:3000 {
    fail_timeout 300s
    transparent
    websocket
    header_upstream X-Forwarded-Ssl on
  }
}

Start the Caddy server like this:

docker pull abiosoft/caddy
docker create \
  --volume $(pwd)/Caddyfile:/etc/Caddyfile \
  --volume $HOME/.caddy:/root/.caddy \
  --publish 80:80 \
  --publish 443:443 \
  --network soundstorm
  abisoft/caddy

Development

The above goes into installing Soundstorm for real-world use, but you may also want to contribute to the project in some way. Developing on Soundstorm also requires the use of Docker.

First, make sure your $COMPOSE_FILE is set, so that development-level configuration is included whenever docker-compose is in use:

export COMPOSE_FILE="docker-compose.yml:docker-compose.development.yml"

Next, set up the database:

docker-compose run --rm web rails db:setup

You can now start all services:

docker-compose up

Once the web app loads, browse to http://localhost:3000 and log in with username admin and password Password1!. This is configurable by setting $SOUNDSTORM_ADMIN_USERNAME and $SOUNDSTORM_ADMIN_PASSWORD as environment variables when running db:setup.

For more information on making contributions to this project, read the [contributing guide][].

Deployment

Soundstorm can be easily deployed to your Docker Machine with the provided production configuration:

source .env # see "Installation" above
docker-machine create soundstorm
eval "$(docker-machine env soundstorm)"
docker-compose -f docker-compose.yml -f docker-compose.production.yml up

However, https://soundstorm.social, our reference implementation, is hosted on [Heroku][]. The make deploy task performs the commands needed to deploy the local production images you've already built to the Heroku platform. It uses the docker CLI to push images to Heroku's container registry, and the heroku CLI to start those new containers in the production environment.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].