Coder Social home page Coder Social logo

pugsrgreat / boombox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gbasil/boombox

0.0 0.0 0.0 741 KB

My personal playlist manager. Mirrored from https://git.basil.cafe/basil/boombox

Home Page: https://boombox.gbasil.dev

License: GNU Affero General Public License v3.0

Shell 0.50% JavaScript 1.79% TypeScript 95.30% CSS 0.57% Dockerfile 1.84%

boombox's Introduction

Boombox

My personal playlist manager. It's open source (GPL-3, don't try anything funny), but please don't rebrand it or claim it as your own.

To quote myself, as per the text on the homepage of the website:

This is my eclectic music playlist. I enjoy listening to music a lot, so I created a playlist page on my website. As time went on, I started running into problems, like the deletion of videos, the inability to fix them with great ease, and managing the mess that resulted from my first foray into both React and planned out web design. I’ve been meaning to craft a separate music-centric website for a while, and inspired by the likes of osu!, Paco, and Celeste, this is the result.

Notes

  • When adding the authors of a song, type their names separated by ", "
  • Boombox uses Logto for authentication and Maloja for scrobbling
  • Larger thumnails won't upload due to a 3MB Next.js API route limit, as downsizing the image on the frontend isn't implemented yet

Running

Boombox can be run as a Next.js app, or under Docker. Pick your poison.

Next.js

  1. Install Node.js and Yarn and clone the repo.
  2. Set up instances of Logto and Maloja.
  3. Copy .env.example to .env, and fill in the values as instructed.
  4. Make sure you add a redirect URI in Logto (<URL to Boombox>/api/logto/sign-in-callback).
  5. Run the following commands in a terminal in this directory to start it:
    # Install dependencies
    yarn
    # Build the Next.js app
    yarn build
    # Run the Next.js server
    yarn start

Docker

The Docker Compose configuration will run Boombox itself, as well as Maloja with Logto and Maloja.

  1. Install Docker and clone the repo.
  2. Copy docker-compose.example.yml to docker-compose.yml, and change the environment variables that you currently can, like the domain-related ones.
  3. Run the following commands in a terminal in this directory to start it:
    # Start the Docker containers.
    docker compose up
  4. Go to Logto and Maloja and update the docker-compose.yml file with the proper environment variables, then stop the the containers (CTRL+C). Make sure you add a redirect URI in Logto (<URL to Boombox>/api/logto/sign-in-callback).
  5. Start them again by using the same command. You can append the -d flag to have it run in the background this time.

Developing

Follow the instructions for running on Next.js, but instead of running yarn build and yarn start, run yarn dev.

boombox's People

Contributors

gbasil avatar pugsrgreat 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.