|
|
@ -1,18 +1,20 @@
|
|
|
|
# Invidious
|
|
|
|
# Invidious
|
|
|
|
|
|
|
|
|
|
|
|
> Invidious is a web application that indexes popular video sites
|
|
|
|
> Invidious is what YouTube should be
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
|
|
### Installing [Crystal](https://github.com/crystal-lang/crystal):
|
|
|
|
### Installing [Crystal](https://github.com/crystal-lang/crystal):
|
|
|
|
|
|
|
|
|
|
|
|
On Arch:
|
|
|
|
On Arch:
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
$ sudo pacman -Syu shards crystal
|
|
|
|
$ sudo pacman -Syu shards crystal
|
|
|
|
$ crystal deps
|
|
|
|
$ crystal deps
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
On OSX:
|
|
|
|
On OSX:
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
$ brew update
|
|
|
|
$ brew update
|
|
|
|
$ brew install shards crystal-lang
|
|
|
|
$ brew install shards crystal-lang
|
|
|
@ -25,11 +27,13 @@ On Arch:
|
|
|
|
Install according to the [wiki](https://wiki.archlinux.org/index.php/PostgreSQL#Installing_PostgreSQL):
|
|
|
|
Install according to the [wiki](https://wiki.archlinux.org/index.php/PostgreSQL#Installing_PostgreSQL):
|
|
|
|
|
|
|
|
|
|
|
|
On OSX:
|
|
|
|
On OSX:
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
$ brew install postgres
|
|
|
|
$ brew install postgres
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Then setup database with:
|
|
|
|
Then setup database with
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
$ ./setup.sh
|
|
|
|
$ ./setup.sh
|
|
|
|
```
|
|
|
|
```
|
|
|
@ -41,6 +45,7 @@ $ crystal src/invidious.cr
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or for development:
|
|
|
|
Or for development:
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
$ curl -fsSLo- https://raw.githubusercontent.com/samueleaton/sentry/master/install.cr | crystal eval
|
|
|
|
$ curl -fsSLo- https://raw.githubusercontent.com/samueleaton/sentry/master/install.cr | crystal eval
|
|
|
|
$ ./sentry
|
|
|
|
$ ./sentry
|
|
|
@ -56,4 +61,4 @@ $ ./sentry
|
|
|
|
|
|
|
|
|
|
|
|
## Contributors
|
|
|
|
## Contributors
|
|
|
|
|
|
|
|
|
|
|
|
- [omarroth](https://github.com/omarroth) - creator, maintainer
|
|
|
|
* [omarroth](https://github.com/omarroth) - creator, maintainer
|
|
|
|