|
|
@ -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
|
|
|
@ -48,12 +53,12 @@ $ ./sentry
|
|
|
|
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
|
|
|
|
1. Fork it ( https://github.com/omarroth/invidious/fork )
|
|
|
|
1. Fork it ( https://github.com/omarroth/invidious/fork )
|
|
|
|
2. Create your feature branch (git checkout -b my-new-feature)
|
|
|
|
2. Create your feature branch (git checkout -b my-new-feature)
|
|
|
|
3. Commit your changes (git commit -am 'Add some feature')
|
|
|
|
3. Commit your changes (git commit -am 'Add some feature')
|
|
|
|
4. Push to the branch (git push origin my-new-feature)
|
|
|
|
4. Push to the branch (git push origin my-new-feature)
|
|
|
|
5. Create a new Pull Request
|
|
|
|
5. Create a new Pull Request
|
|
|
|
|
|
|
|
|
|
|
|
## Contributors
|
|
|
|
## Contributors
|
|
|
|
|
|
|
|
|
|
|
|
- [omarroth](https://github.com/omarroth) - creator, maintainer
|
|
|
|
* [omarroth](https://github.com/omarroth) - creator, maintainer
|
|
|
|