Skip to content
/ web Public

Primary website and api for kapturing and redistributing your media

License

Notifications You must be signed in to change notification settings

kapturebox/web

Repository files navigation

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:https://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:https://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:https://localhost:9000

All components in vagrant

vagrant ssh
cd /vagrant ; grunt serve

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

Useful environment variables

Variable Default Options
LOG_LEVEL info error, warn, info, debug
NODE_ENV development production, 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:https://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

About

Primary website and api for kapturing and redistributing your media

Resources

License

Stars

Watchers

Forks

Packages

No packages published