Git Product home page Git Product logo

bean-machine's Introduction

Bean Machine

Bean Machine is a web application that plays audio and video in a browser from files served from a server. The server can be on a local intranet or on the Internet. This software package contains both components: the server software, and the HTML, CSS, and JavaScript that run in the browser.

How To Install And Run Bean Machine

1: Install The Go Language

The Bean Machine server component is written in a programming language called Go. Go does not (yet) come installed by default as part of your computer’s operating system, but you can install it for free.

To run Bean Machine, you will need to download the Go programming language for your computer. Download the latest stable version of the installer package, and install it.

2: Build The Server

Then you’ll need to build the server executable for your machine.

First, open a command shell terminal. (That’s Terminal on macOS, or CMD.EXE on Windows.)

Second, change the shell’s working directory to the location of this README.md file. This example assumes you’ve downloaded it into your Downloads folder, which you probably have.

macOS And Linux

cd ~/Downloads/bean-machine
go build

Windows

cd %HOMEPATH%\Downloads\bean-machine
go build

The result of this process will be a file named bean-machine (macOS and Linux) or bean-machine.exe (Windows). This is the Bean Machine server program. Its purpose is to build a catalog of your music collection, and then to serve that catalog and your music to web browsers. The actual music-playing user interface appears in the browser.

3. Run The Server

Run bean-machine, to tell it to build the music catalog and run the web server. Tell it the pathname of your music directory. On macOS, many Linux systems, and Windows, that is most likely to be your Music folder.

macOS And Linux

./bean-machine -m ~/Music catalog serve

Windows

.\bean-machine.exe -m %HOMEPATH\Music catalog serve

bean-machine will catalog your music directory (this might take a while) and then print out the URL(s) by which you can access it.

Important Note

Finally, note that when you browse to your Bean Machine server, your browser will warn you about the ‘invalid’ server security certificate that Bean Machine uses. Bean Machine creates a new certificate for itself as part of starting the server, but the certificate has not been signed by an authority your browser knows about. Normally, you shouldn’t expect to see invalid certificates on real, public internet sites.

But for running servers (like Bean Machine) on your own computer at home, it’s OK, and you can click through this warning without hurting anything. Although you know you are talking to your own server, the browser doesn’t ‘know’ that, and so it warns you out of an abundance of caution.

(For public web sites like facebook.com or google.com, such a warning would be important and real, and you should not click through it!)

Help

In the main page of the application, you can show a help screen by typing ? or h.

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.