mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 18:13:25 +00:00
switched to guider
This commit is contained in:
10
.docs/pages/in-depth/flags.mdx
Normal file
10
.docs/pages/in-depth/flags.mdx
Normal file
@@ -0,0 +1,10 @@
|
||||
# Flags
|
||||
|
||||
Flags is the primary way the library separates entities between different environments.
|
||||
For example, some sources only give back content that has the CORS headers set to allow anyone, so that source gets the flag `CORS_ALLOWED`. Now if you set your target to `BROWSER`, sources without that flag won't even get listed.
|
||||
|
||||
This concept is applied in multiple away across the library.
|
||||
|
||||
## Flag options
|
||||
- `CORS_ALLOWED` : Headers from the output streams are set to allow any origin.
|
||||
- `IP_LOCKED` : The streams are locked by IP: requester and watcher must be the same.
|
3
.docs/pages/in-depth/index.tsx
Normal file
3
.docs/pages/in-depth/index.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
import { createRedirect } from '@neato/guider/client';
|
||||
|
||||
export default createRedirect({ to: '/in-depth/sources-vs-embeds' });
|
12
.docs/pages/in-depth/new-providers.mdx
Normal file
12
.docs/pages/in-depth/new-providers.mdx
Normal file
@@ -0,0 +1,12 @@
|
||||
# New providers
|
||||
|
||||
<Warning>
|
||||
This page isn't quite done yet, stay tuned!
|
||||
</Warning>
|
||||
|
||||
{/*
|
||||
TODO
|
||||
- How to make new sources or embeds
|
||||
- Ranking
|
||||
- Link to flags
|
||||
*/}
|
11
.docs/pages/in-depth/sources-vs-embeds.mdx
Normal file
11
.docs/pages/in-depth/sources-vs-embeds.mdx
Normal file
@@ -0,0 +1,11 @@
|
||||
# Sources vs embeds
|
||||
|
||||
<Warning>
|
||||
This page isn't quite done yet, stay tuned!
|
||||
</Warning>
|
||||
|
||||
{/*
|
||||
TODO
|
||||
- How do sources and embeds differ
|
||||
- How do sources and embeds interact
|
||||
*/}
|
Reference in New Issue
Block a user