fix type and run formatter

This commit is contained in:
FireMasterK 2021-02-07 21:08:23 +05:30
parent 44298d0f39
commit d02269972a
No known key found for this signature in database
GPG Key ID: 8DFF5DD33E93DB58
4 changed files with 55 additions and 50 deletions

View File

@ -1,5 +1,5 @@
---
title: 'Piped'
title: "Piped"
---
Piped is a privacy friendly alternative YouTube frontend, which is efficient and scalable by design.

View File

@ -1,5 +1,5 @@
---
title: 'Overview'
title: "Overview"
weight: 1
---

View File

@ -1,10 +1,10 @@
---
title: 'Architecture'
title: "Architecture"
weight: 4
summary: What is Piped architectured?
summary: How is Piped architectured?
---
## What is Piped's architecture?
## How is Piped's architecture?
Piped has 3 components:
@ -15,10 +15,12 @@ Piped has 3 components:
links: https://github.com/TeamPiped/Piped\, https://github.com/TeamPiped/Piped-Backend and, https://github.com/FireMasterK/http3-ytproxy
## Frontend
- Uses videojs
- Uses a router for a single page application.
## Backend
- Uses Java 11
- Uses the native HTTP client introduced in Java 9
- Uses netty-reactor to acheive maximum performance and a low footprint.
@ -27,6 +29,7 @@ links: https://github.com/TeamPiped/Piped\, https://github.com/TeamPiped/Piped-B
- Uses ~70-130 MB of ram. (on OpenJ9)
# Proxy
- Uses Golang
- Has HTTP/2 support. (HTTP/3 is unstable in the current library)
- Low memory footprint and high throughput.

View File

@ -1,5 +1,5 @@
---
title: 'Why'
title: "Why"
weight: 4
summary: Why did I create Piped?
---
@ -34,10 +34,12 @@ A lot of inspiration came from NewPipe and Invidious.
I created Piped to fix issues in NewPipe and Invidious which are architectural issues and cannot be fixed easily.
### NewPipe
- Your IP is exposed to YouTube.
- Feeds are slow to load.
### Invidious
- Uses way too much resources.
- Total bandwidth limited by the peak capacity of the load balancer.
- Coded in Crystal, a language that is relatively hard for beginners.