No description
Find a file
NeoCode 12fb8d7993
Cors api field #35 (#36)
* Add CORS and API field

* Changed CORS from string to boolean

* Check for valid JSON

* Fix lint

* Change table order

* Simplified CORS method and added comment
2022-01-15 20:10:34 +01:00
.github/workflows Update URL is CI 2021-08-10 16:42:05 +02:00
assets/css Initial commit 2019-09-04 20:55:33 -04:00
spec Initial commit 2019-09-04 20:55:33 -04:00
src Cors api field #35 (#36) 2022-01-15 20:10:34 +01:00
.editorconfig Initial commit 2019-09-04 20:55:33 -04:00
.gitignore Track shards and drop travis 2021-01-07 20:56:14 +01:00
docker-compose.yml Add container and CI 2021-01-07 13:20:18 +01:00
Dockerfile Update to crystal 1.0.0 2021-04-27 20:17:32 +02:00
LICENSE Initial commit 2019-09-04 20:55:33 -04:00
README.md Update the README 2021-08-10 16:45:51 +02:00
shard.lock Update to crystal 1.0.0 2021-04-27 20:17:32 +02:00
shard.yml Update to crystal 1.0.0 2021-04-27 20:17:32 +02:00

api.invidious.io/

Build Status

Status page for Invidious instances, sourced from the documentation.

Installation

$ git clone https://github.com/iv-org/instances-api
$ cd instances-api
$ shards install
$ crystal build src/instances.cr --release

Usage

$ ./instances -h
    -b HOST, --bind HOST             Host to bind (defaults to 0.0.0.0)
    -p PORT, --port PORT             Port to listen for connections (defaults to 3000)
    -s, --ssl                        Enables SSL
    --ssl-key-file FILE              SSL key file
    --ssl-cert-file FILE             SSL certificate file
    -h, --help                       Shows this help

Contributing

  1. Fork it (https://github.com/iv-org/instances-api/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