Sign inSign up

kapturebox/web

By kapturebox

Updated over 7 years ago

Web UI for kapturebox

Image
1

887

kapturebox/web repository overview

kapture web and api

Kapture is a tool to create a "personalized netflix server": A cloud or pi-based device that provides simplified retrieval, storage, and redistribution of any media.

Quickstart

Build Status

Docker-compose

This repo is also built into a docker image: kapturebox/web. The docker-compose file will spin up all dependent services:

docker-compose up -d

This will spin up the kapture service running on port :9000 wherever your docker environment lives (usually http://localhost:9000)

Vagrant (deprecated)

Start up whats intended to be a kapture box, including transmission, plex and the kapture app:

vagrant up

Will start up a new xenial instance locally, set up the machine, and then clean and build the npm project located in /vagrant

You can connect to the packaged instance that is in the apt repo on http://kapture-vagrant.local/

Development

Running locally without components

This can be run on your local box for easier developing, however it won't have transmission to download files and flexget to auto-kapture stuff. Everything else (searching, UI, settings, etc) should work fine:

npm install -g grunt-cli bower yarn
npm install
bower install
grunt serve

You'll then have a server running at: http://localhost:9000

All components in vagrant

vagrant ssh
cd /vagrant ; grunt serve

Then you will have a server running @ http://kapture-vagrant.local:9000

Useful environment variables

VariableDefaultOptions
LOG_LEVELinfoerror, warn, info, debug
NODE_ENVdevelopmentproduction, development

If installed via package, can be configured via the following systemd file:

/etc/systemd/system/kapture.service

Building

Docker image

Run:

docker-compose up

Then simply connect to http://localhost:9000

Building deb package
# create package
grunt clean package

# install on system
sudo dpkg -i tmp/*.deb

Misc

Pulling updates material iconsets

git clone https://github.com/nkoterba/material-design-iconsets.git /tmp
cd /tmp/material-design-iconsets/
npm install && npm run init
npm build
cp -r iconsets/* ICONSET_DIR

References

Tag summary

Content type

Image

Digest

Size

373.6 MB

Last updated

over 7 years ago

docker pull kapturebox/web