No description
Find a file
2020-03-23 22:44:42 +10:00
app Fixed typo 2020-03-23 22:44:42 +10:00
media Skip blanks in screenshot capture and allow more time 2020-03-22 21:42:37 +10:00
static Fixed typo 2020-03-23 22:44:42 +10:00
templates Fixed typo 2020-03-23 22:44:42 +10:00
tools Migrate to Go111Modules, Add Dockerfile and GoRelaser support 2020-03-21 08:20:16 +10:00
uploads Refactor video uploading in preparation for async transcoding 2020-03-21 22:58:14 +10:00
utils Don't generate new thumbnails if they already exist 2020-03-22 18:42:35 +10:00
videos import code 2019-06-26 14:02:31 -05:00
.gitignore Refactor video uploading in preparation for async transcoding 2020-03-21 22:58:14 +10:00
.goreleaser.yml Migrate to Go111Modules, Add Dockerfile and GoRelaser support 2020-03-21 08:20:16 +10:00
.yamllint.yml Migrate to Go111Modules, Add Dockerfile and GoRelaser support 2020-03-21 08:20:16 +10:00
_config.yml Set theme jekyll-theme-architect 2020-03-23 11:16:49 +10:00
config.json Refactored upload handler 2020-03-22 21:41:26 +10:00
docker-compose.yml Added docker-compose reference stack using Traefik as LB 2020-03-23 16:58:37 +10:00
Dockerfile Added ffmpeg to Docker image 2020-03-22 18:22:36 +10:00
go.mod Refactored upload handler 2020-03-22 21:41:26 +10:00
go.sum Refactored upload handler 2020-03-22 21:41:26 +10:00
LICENSE Re-licensed 2020-03-23 16:58:37 +10:00
LICENSE.old Re-licensed 2020-03-23 16:58:37 +10:00
main.go Refactor video uploading in preparation for async transcoding 2020-03-21 22:58:14 +10:00
Makefile Fixed docker image 2020-03-21 11:03:00 +10:00
README.md Fixed typo 2020-03-23 22:44:42 +10:00
version.go Migrate to Go111Modules, Add Dockerfile and GoRelaser support 2020-03-21 08:20:16 +10:00

tube,

tube is a Youtube-like (without censorship and features you don't need!) Video Sharing App written in Go which also supports automatic transcoding to MP4 H.265 AAC, multiple collections and RSS feed.

Features

  • Easy to add videos (just move a file into the folder)
  • Easy to upload videos (just use the builtin uploader and automatic transcoder!)
  • Builtin ffmpeg-based Transcoder that automatically converts your uploaded content to MP4 H.264 / AAC
  • Builtin automatic thumbnail generator
  • No database (video info pulled from file metadata)
  • No JavaScript (the player UI is entirely HTML, except for the uploader which degrades!))
  • Easy to customize CSS and HTML template
  • Automatically generates RSS feed (at /feed.xml)
  • Clean, simple, familiar UI

Currently only supports MP4 video files so you may need to re-encode your media to MP4 using something like ffmpeg.

Since all of the video info comes from metadata it's also useful to have a metadata editor such as EasyTAG (which supports attaching images as thumbnails too).

Getting Started

From Source

$ git clone https://github.com/proogic/tube
$ cd tube
$ make
$ ./tube

Open http://127.0.0.1:8000/ in your Browser!

Using Docker

$ docker pull prologic/tube
$ docker run -p 8000:8000 -v /path/to/data:/data

License

tube source code is available under the MIT License.

Previously based off of tube by davy wybiral . (See LICENSE.old)