Coder Social home page Coder Social logo

cl0nebot / soundstorm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weathermen/soundstorm

0.0 1.0 0.0 7.78 MB

Federated Social Audio Platform

Home Page: https://soundstorm.social

License: GNU General Public License v3.0

Ruby 75.26% Dockerfile 0.38% JavaScript 4.86% CSS 3.97% HTML 13.74% Shell 1.78%

soundstorm's Introduction

Soundstorm

Build 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.

First, pull down the latest version:

docker pull weathermen/soundstorm:latest

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

SOUNDSTORM_HOST=your.soundstorm.domain
SOUNDSTORM_ADMIN_USERNAME=your-username
SOUNDSTORM_ADMIN_PASSWORD=your-password
[email protected]
#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

Then, run the setup task:

RAILS_ENV=production bin/soundstorm rails db:setup

This will create the database and set up its schema. You can now start all containers by running the following command:

RAILS_ENV=production bin/soundstorm start

If DNS is set up correctly, you should now be able to access your Soundstorm instance at the domain specified by $SOUNDSTORM_HOST in your .env configuration.

Development

The above goes into installing Soundstorm for real-world use, but you may also want to contribute to the project in some way. For this, it's recommended that you install dependencies locally.

If you're on a Mac, run this command to install hard dependencies:

brew bundle

On Linux, make sure you have the following packages installed:

  • libsndfile-dev
  • ffmpeg
  • nodejs
  • yarn

Next, you can run the setup script to install all application dependencies onto your machine:

bin/setup

If you're using puma-dev, the next step would be to link to https://soundstorm.test:

puma-dev link

You should now be able to visit the server 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 bin/setup.

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

soundstorm's People

Contributors

tubbo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.