10 Apr 2024 |
@daknig:matrix.org | I do not know how but it works | 19:31:04 |
@weidenwiesel:matrix.org | What do you mean by make it work? Invidious doesn't even use the YT API, its basically "just a web client" | 19:31:56 |
absidue | In reply to @daknig:matrix.org what do I do? {instance}/api/v1/resolveurl?url={full youtube url} | 19:32:14 |
@daknig:matrix.org | In reply to @absidue:matrix.org {instance}/api/v1/resolveurl?url={full youtube url} cannot see that in the API docs | 19:32:56 |
@daknig:matrix.org | https://docs.invidious.io/api/ <- here i mean | 19:33:16 |
absidue | In reply to @daknig:matrix.org cannot see that in the API docs yep, which is why you weren't able to find it, hence why i'm mentioning it here, the api docs are far behind, the prs to update them haven't been merged yet | 19:33:45 |
@daknig:matrix.org | I see, thanks | 19:34:08 |
absidue | unironically the best place to find info is the freetube repo | 19:34:30 |
@weidenwiesel:matrix.org | That's golden | 19:35:01 |
@weidenwiesel:matrix.org | But understandable, there are already so many other things to do | 19:35:25 |
@daknig:matrix.org | well, thanks | 19:37:00 |
@daknig:matrix.org | I wish the API bindings would catch up, but I wish the docs are updated first... | 19:37:24 |
absidue | In reply to @absidue:matrix.org unironically the best place to find info is the freetube repo In this case it's a good place to look, as the endpoint was added because we wanted to use it in FreeTube, as we already had an equivalent in the local API. | 19:37:51 |
absidue | https://github.com/iv-org/documentation/pull/501 | 19:39:44 |
@daknig:matrix.org | can somebody please donate hours to the devs? if you have too many, just give them to the ones in need, the ones who would improve our lives | 19:42:26 |
@daknig:matrix.org | I wish it would be so easy | 19:42:33 |
Ward | In reply to @absidue:matrix.org https://github.com/iv-org/documentation/pull/501 would it be possible to use openapi instead of manual API documentation? Or would it not be worth the effort | 23:36:16 |
onion.chunky | In reply to @wardpearce:matrix.org would it be possible to use openapi instead of manual API documentation? Or would it not be worth the effort I was looking at using OpenAPI for the documentation but I haven't touched it in months (so some things are out of date and missing). | 23:59:03 |
11 Apr 2024 |
onion.chunky |  Download 1000023126.png | 00:01:02 |
onion.chunky | This is the yaml file for reference: https://github.com/ChunkyProgrammer/invidious-docs/blob/add-open-api-page/scripts/swagger.yaml | 00:04:31 |
| @chromatika:matrix.org left the room. | 00:33:07 |
| the_gamer_guy joined the room. | 01:18:36 |
| agentcasey changed their profile picture. | 01:21:49 |
the_gamer_guy | any public instance operators willing to provide me with some ballpark figures of their instances monthly bandwidth consumption? I've got an instance set up with all the bells and whistles (http1.1/h2/h3 quic, SSL, front end on ipv4/6 dual stack, back end on ipv6 address rotation) that im using for friends only. I'd like to make it public, but ive only got about 10TB of bandwidth on the VPS. I can negotiate a higher cap, but I dont think I can get 100TB like the docs say lol | 02:57:36 |
@vojkovic:matrix.org | In reply to @the_gamer_guy:matrix.org any public instance operators willing to provide me with some ballpark figures of their instances monthly bandwidth consumption? I've got an instance set up with all the bells and whistles (http1.1/h2/h3 quic, SSL, front end on ipv4/6 dual stack, back end on ipv6 address rotation) that im using for friends only. I'd like to make it public, but ive only got about 10TB of bandwidth on the VPS. I can negotiate a higher cap, but I dont think I can get 100TB like the docs say lol It varies wildly based on the instances popularity and if especially if proxy is enabled or not. From what I've heard from some instance hosts with proxy enabled, it's common to see 30tb+ of use each month. For comparison, when I was hosting my public instance with proxy disabled, I only used about 600gb/month of bandwidth.
You can use a proxy server to get around this: https://docs.invidious.io/hide-instance-behind-proxy-server/ Buying a VPS from a provider like BuyVM for a few bucks a month will get you uncapped bandwidth.
| 03:25:23 |
Ward | In reply to @onion.chunky:matrix.org This is the yaml file for reference: https://github.com/ChunkyProgrammer/invidious-docs/blob/add-open-api-page/scripts/swagger.yaml looks neat, would be cool if the spec could be generated automatically. Not a crystal developer so no idea how easy this is to implement | 03:45:28 |
absidue | In reply to @wardpearce:matrix.org would it be possible to use openapi instead of manual API documentation? Or would it not be worth the effort It would likely be in addition to the docs page, so it would only be worth it, if it can be automatically generated and if it's low-effort to implement the automatic generation. Otherwise it would add even more work on the already overflowing plates of the Invidious devs. | 04:49:54 |
Ward | yea for sure | 04:50:39 |
the_gamer_guy | In reply to @vojkovic:matrix.org
It varies wildly based on the instances popularity and if especially if proxy is enabled or not. From what I've heard from some instance hosts with proxy enabled, it's common to see 30tb+ of use each month. For comparison, when I was hosting my public instance with proxy disabled, I only used about 600gb/month of bandwidth.
You can use a proxy server to get around this: https://docs.invidious.io/hide-instance-behind-proxy-server/ Buying a VPS from a provider like BuyVM for a few bucks a month will get you uncapped bandwidth.
interesting... lots of useful info there. thanks. so it seems like with 10TB I should be ok without proxying. | 04:54:34 |
Nihilist OLD ACCOUNT !!!! | In reply to @the_gamer_guy:matrix.org interesting... lots of useful info there. thanks. so it seems like with 10TB I should be ok without proxying. Until your instance gets a little popular and consumes 85TiB per month like mine lol | 05:38:25 |