mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Compare commits
10 commits
852fac0665
...
72d19b3cc7
Author | SHA1 | Date | |
---|---|---|---|
|
72d19b3cc7 | ||
|
c56586fba9 | ||
|
c3bac1b3bb | ||
|
f9535adcd4 | ||
|
9b181d36b9 | ||
|
0722501b8c | ||
|
d984302483 | ||
|
1b68e2610f | ||
|
c1d870cb15 | ||
|
bfffab3482 |
5 changed files with 26 additions and 36 deletions
13
.github/ISSUE_TEMPLATE/new_instance.yaml
vendored
13
.github/ISSUE_TEMPLATE/new_instance.yaml
vendored
|
@ -17,10 +17,6 @@ body:
|
||||||
- Improving the performance and the stability of your public instance: https://docs.invidious.io/improve-public-instance/
|
- Improving the performance and the stability of your public instance: https://docs.invidious.io/improve-public-instance/
|
||||||
|
|
||||||
It is highly recommended to follow these tutorials because it will allow the instance to stay stable and performant over the long term.
|
It is highly recommended to follow these tutorials because it will allow the instance to stay stable and performant over the long term.
|
||||||
|
|
||||||
Please consider joining our Matrix room for public instance maintainers by joining our Matrix room: https://matrix.to/#/#invidious:matrix.org
|
|
||||||
then pinging @unixfox, @TheFrenchGhosty and @SamantazFox for asking to be invited to the Matrix room.
|
|
||||||
We discuss troubles managing a public instance, sharing some advices and more.
|
|
||||||
|
|
||||||
- type: input
|
- type: input
|
||||||
id: url
|
id: url
|
||||||
|
@ -89,6 +85,15 @@ body:
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
id: matrix-username
|
||||||
|
attributes:
|
||||||
|
label: Your matrix username
|
||||||
|
description: "Please input your Matrix username here to join the private Matrix room for public instances maintainers. We discuss troubles managing a public instance, share some advices and more. Optional but highly recommended."
|
||||||
|
placeholder: "matrixuser"
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: more-infos
|
id: more-infos
|
||||||
attributes:
|
attributes:
|
||||||
|
|
31
.github/workflows/add-instance-updown.yml
vendored
31
.github/workflows/add-instance-updown.yml
vendored
|
@ -62,43 +62,14 @@ jobs:
|
||||||
period: '300',
|
period: '300',
|
||||||
mute_until: 'forever',
|
mute_until: 'forever',
|
||||||
published: 'true',
|
published: 'true',
|
||||||
|
apdex_t: '1.0',
|
||||||
alias: instanceHostname,
|
alias: instanceHostname,
|
||||||
string_match: 'An alternative front-end to YouTube' } };
|
string_match: 'An alternative front-end to YouTube' } };
|
||||||
|
|
||||||
|
|
||||||
request(optionsAddNewCheck, async function (error, response, body) {
|
request(optionsAddNewCheck, async function (error, response, body) {
|
||||||
if (error) throw new Error(error);
|
if (error) throw new Error(error);
|
||||||
console.log(body);
|
|
||||||
if (body.token) {
|
if (body.token) {
|
||||||
var optionsGetStatusPages = {
|
|
||||||
method: 'GET',
|
|
||||||
url: 'https://updown.io/api/status_pages?api-key=${{ secrets.UPDOWN_API_KEY }}',
|
|
||||||
json: true
|
|
||||||
};
|
|
||||||
|
|
||||||
request(optionsGetStatusPages, async function (error, response, body) {
|
|
||||||
if (error) throw new Error(error);
|
|
||||||
const statusPage = body.filter(element => element.token === "resvf");
|
|
||||||
let checksOfStatusPage = statusPage[0].checks;
|
|
||||||
|
|
||||||
checksOfStatusPage.push(body.token)
|
|
||||||
|
|
||||||
var optionsAddCheckToStatusPage = {
|
|
||||||
method: 'PUT',
|
|
||||||
url: 'https://updown.io/api/status_pages/resvf?api-key=${{ secrets.UPDOWN_API_KEY }}',
|
|
||||||
headers: {
|
|
||||||
'content-type': 'application/json'
|
|
||||||
},
|
|
||||||
json: {checks: checksOfStatusPage}
|
|
||||||
};
|
|
||||||
|
|
||||||
request(optionsAddCheckToStatusPage, async function (error, response, body) {
|
|
||||||
if (error) throw new Error(error);
|
|
||||||
|
|
||||||
console.log(body)
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
var replyComment =
|
var replyComment =
|
||||||
['Hello! Your instance has been added to our monitoring system: https://updown.io/' + body.token,
|
['Hello! Your instance has been added to our monitoring system: https://updown.io/' + body.token,
|
||||||
'You need to wait 30 days before we add your instance, this is to evaluate that your instance will keep a good uptime for one month.',
|
'You need to wait 30 days before we add your instance, this is to evaluate that your instance will keep a good uptime for one month.',
|
||||||
|
|
|
@ -27,6 +27,11 @@ All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fie
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"updatedAt": Int64,
|
"updatedAt": Int64,
|
||||||
"lastChannelRefreshedAt": Int64
|
"lastChannelRefreshedAt": Int64
|
||||||
|
},
|
||||||
|
"playback": {
|
||||||
|
"totalRequests": Int32?
|
||||||
|
"successfulRequests": Int32?
|
||||||
|
"ratio": Float32?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
# Configuration
|
# Configuration
|
||||||
|
|
||||||
An comprehensive list of all the available config options, with detailed explaination and default values is available under [`config/config.example.yml`](https://github.com/iv-org/invidious/blob/master/config/config.example.yml) in the main invidious repository.
|
An comprehensive list of all the available config options, with detailed explaination and default values is available under [`config/config.example.yml`](https://github.com/iv-org/invidious/blob/master/config/config.example.yml) in the main invidious repository.
|
||||||
|
|
||||||
|
The path to the configuration file can be overridden with the
|
||||||
|
`INVIDIOUS_CONFIG_FILE` environment variable.
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
* [invidious.flokinet.to](https://invidious.flokinet.to) 🇷🇴
|
* [invidious.flokinet.to](https://invidious.flokinet.to) 🇷🇴
|
||||||
|
|
||||||
* [invidious.projectsegfau.lt](https://invidious.projectsegfau.lt) 🇩🇪
|
|
||||||
|
|
||||||
* [invidious.privacydev.net](https://invidious.privacydev.net) 🇫🇷
|
* [invidious.privacydev.net](https://invidious.privacydev.net) 🇫🇷
|
||||||
|
|
||||||
* [iv.melmac.space](https://iv.melmac.space) 🇩🇪
|
* [iv.melmac.space](https://iv.melmac.space) 🇩🇪
|
||||||
|
@ -60,6 +58,14 @@
|
||||||
|
|
||||||
* [invidious.privacyredirect.com](https://invidious.privacyredirect.com) 🇫🇮
|
* [invidious.privacyredirect.com](https://invidious.privacyredirect.com) 🇫🇮
|
||||||
|
|
||||||
|
* [invidious.reallyaweso.me](https://invidious.reallyaweso.me) 🇩🇪
|
||||||
|
|
||||||
|
* [invidious.materialio.us](https://invidious.materialio.us) 🇳🇿
|
||||||
|
|
||||||
|
* [inv.in.projectsegfau.lt](https://inv.in.projectsegfau.lt) 🇮🇳
|
||||||
|
|
||||||
|
* [invidious.incogniweb.net](https://invidious.incogniweb.net) 🇺🇸
|
||||||
|
|
||||||
### Tor Onion Services:
|
### Tor Onion Services:
|
||||||
|
|
||||||
* [grwp24hodrefzvjjuccrkw3mjq4tzhaaq32amf33dzpmuxe7ilepcmad.onion](http://grwp24hodrefzvjjuccrkw3mjq4tzhaaq32amf33dzpmuxe7ilepcmad.onion) 🇺🇸 (Onion of vid.puffyan.us)
|
* [grwp24hodrefzvjjuccrkw3mjq4tzhaaq32amf33dzpmuxe7ilepcmad.onion](http://grwp24hodrefzvjjuccrkw3mjq4tzhaaq32amf33dzpmuxe7ilepcmad.onion) 🇺🇸 (Onion of vid.puffyan.us)
|
||||||
|
|
Loading…
Reference in a new issue