Go to file
Omar Roth c3d8ca68b3 Add code to calculate video rating 2018-08-25 21:34:11 -05:00
assets Remove padding from time divider 2018-08-07 08:04:23 -05:00
config Remove ID constrant for users 2018-08-15 19:30:13 -05:00
src Add code to calculate video rating 2018-08-25 21:34:11 -05:00
.editorconfig Initial commit 2017-11-23 01:48:55 -06:00
.gitignore Update .gitignore 2018-07-14 08:35:25 -05:00
LICENSE Change license 2018-01-28 11:32:40 -06:00
README.md Add Liberapay 2018-08-25 15:43:39 -05:00
setup.sh Add users table 2018-03-29 21:41:05 -05:00
shard.yml Fix typo in shard.yml 2018-08-14 12:29:27 -05:00

README.md

Invidious

Invidious is what YouTube should be

Liberapay: https://liberapay.com/omarroth
Patreon: https://patreon.com/omarroth
BTC: 356DpZyMXu6rYd55Yqzjs29n79kGKWcYrY
BCH: qq4ptclkzej5eza6a50et5ggc58hxsq5aylqut2npk

Installation

Installing Crystal:

On Arch:

$ sudo pacman -S shards crystal
$ shards

On OSX:

$ brew update
$ brew install shards crystal-lang
$ shards

Installing Postgres:

On Arch:

Install according to the wiki

On OSX:

$ brew install postgres

Setup Postgres:

$ ./setup.sh

Installing ImageMagick (required for CAPTCHA):

On Arch:

$ sudo pacman -S imagemagick librsvg

Usage:

$ crystal build src/invidious.cr
$ ./invidious

Or for development:

$ curl -fsSLo- https://raw.githubusercontent.com/samueleaton/sentry/master/install.cr | crystal eval
$ ./sentry

Extensions

Contributing

  1. Fork it ( https://github.com/omarroth/invidious/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors