mirror of
https://gitea.invidious.io/iv-org/instances-api.git
synced 2024-08-15 00:53:15 +00:00
No description
* 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 |
||
---|---|---|
.github/workflows | ||
assets/css | ||
spec | ||
src | ||
.editorconfig | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
shard.lock | ||
shard.yml |
api.invidious.io/
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
- Fork it (https://github.com/iv-org/instances-api/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Omar Roth - original creator