@scrypted/nvr 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/static.yml +42 -0
- package/.gitmodules +3 -0
- package/README.md +33 -0
- package/dist/main.nodejs.js.LICENSE.txt +7 -0
- package/dist/plugin.zip +0 -0
- package/package.json +40 -0
- package/tsconfig.json +10 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Simple workflow for deploying static content to GitHub Pages
|
|
2
|
+
name: Deploy static content to Pages
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
# Runs on pushes targeting the default branch
|
|
6
|
+
push:
|
|
7
|
+
branches: ["main"]
|
|
8
|
+
|
|
9
|
+
# Allows you to run this workflow manually from the Actions tab
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
pages: write
|
|
16
|
+
id-token: write
|
|
17
|
+
|
|
18
|
+
# Allow one concurrent deployment
|
|
19
|
+
concurrency:
|
|
20
|
+
group: "pages"
|
|
21
|
+
cancel-in-progress: true
|
|
22
|
+
|
|
23
|
+
jobs:
|
|
24
|
+
# Single deploy job since we're just deploying
|
|
25
|
+
deploy:
|
|
26
|
+
environment:
|
|
27
|
+
name: github-pages
|
|
28
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
29
|
+
runs-on: ubuntu-latest
|
|
30
|
+
steps:
|
|
31
|
+
- name: Checkout
|
|
32
|
+
uses: actions/checkout@v3
|
|
33
|
+
- name: Setup Pages
|
|
34
|
+
uses: actions/configure-pages@v2
|
|
35
|
+
- name: Upload artifact
|
|
36
|
+
uses: actions/upload-pages-artifact@v1
|
|
37
|
+
with:
|
|
38
|
+
# Upload ui dist
|
|
39
|
+
path: './ui/public'
|
|
40
|
+
- name: Deploy to GitHub Pages
|
|
41
|
+
id: deployment
|
|
42
|
+
uses: actions/deploy-pages@v1
|
package/.gitmodules
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Scrypted NVR Plugin
|
|
2
|
+
|
|
3
|
+
This plugin is in private beta.
|
|
4
|
+
|
|
5
|
+
### Manage Subscription
|
|
6
|
+
|
|
7
|
+
The Scrypted NVR Subscription can be purchased and managed at the [billing portal](https://billing.scrypted.app).
|
|
8
|
+
|
|
9
|
+
### View Cameras and Recordings
|
|
10
|
+
|
|
11
|
+
[Cameras and Recordings](/endpoint/@scrypted/core/public/) can be viewed on your local network by visiting the address of this Scrypted server. Install the Scrypted Cloud Plugin and visit [home.scrypted.app](https://home.scrypted.app) to view Cameras and Recordings from anywhere.
|
|
12
|
+
|
|
13
|
+
### Install App
|
|
14
|
+
|
|
15
|
+
The Scrypted NVR app allowing viewing of cameras and recordings remotely.
|
|
16
|
+
|
|
17
|
+
App Store installation will be available upon final release. The Beta has Progressive Web Apps (PWA) that can be installed on any platform:
|
|
18
|
+
|
|
19
|
+
* iOS: Install with Safari
|
|
20
|
+
* Android: Install with Chrome
|
|
21
|
+
* Windows/Mac/Linux: Install with Edge or Chrome
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<br/>
|
|
25
|
+
|
|
26
|
+
#### App Install Instructions
|
|
27
|
+
1. Install and log into the Scrypted Cloud plugin.
|
|
28
|
+
2. On your phone/desktop, using the browser(s) specified above for your OS, visit [home.scrypted.app](https://home.scrypted.app) and log in.
|
|
29
|
+
3. View Cameras and Recordings.
|
|
30
|
+
4. This page can be installed as an app. See screenshots below.
|
|
31
|
+
|
|
32
|
+
<a href='https://user-images.githubusercontent.com/73924/189579703-9d181e97-aa06-4dbd-b96c-160a9aaa1e91.jpg'>
|
|
33
|
+
<img width="400" alt="Scrypted_NVR_App_Install" src="https://user-images.githubusercontent.com/73924/189579703-9d181e97-aa06-4dbd-b96c-160a9aaa1e91.jpg"></a>
|
package/dist/plugin.zip
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@scrypted/nvr",
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"prepublishOnly": "WEBPACK_DEVTOOL=nosources-source-map NODE_ENV=production scrypted-webpack",
|
|
6
|
+
"prescrypted-vscode-launch": "WEBPACK_DEVTOOL=nosources-source-map scrypted-webpack",
|
|
7
|
+
"scrypted-vscode-launch": "scrypted-deploy-debug",
|
|
8
|
+
"scrypted-deploy-debug": "scrypted-deploy-debug",
|
|
9
|
+
"scrypted-debug": "scrypted-debug",
|
|
10
|
+
"scrypted-deploy": "scrypted-deploy",
|
|
11
|
+
"scrypted-webpack": "scrypted-webpack"
|
|
12
|
+
},
|
|
13
|
+
"scrypted": {
|
|
14
|
+
"name": "Scrypted NVR Plugin",
|
|
15
|
+
"type": "DataSource",
|
|
16
|
+
"interfaces": [
|
|
17
|
+
"OauthClient",
|
|
18
|
+
"Settings",
|
|
19
|
+
"HttpRequestHandler",
|
|
20
|
+
"BufferConverter",
|
|
21
|
+
"MixinProvider",
|
|
22
|
+
"LauncherApplication"
|
|
23
|
+
],
|
|
24
|
+
"realfs": true
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@scrypted/common": "../scrypted/common",
|
|
28
|
+
"@types/node": "^16.6.1",
|
|
29
|
+
"axios": "^0.24.0",
|
|
30
|
+
"mkdirp": "^1.0.4",
|
|
31
|
+
"rimraf": "^3.0.2",
|
|
32
|
+
"tmp": "^0.2.1"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@scrypted/sdk": "file:../scrypted/sdk",
|
|
36
|
+
"@types/mkdirp": "^1.0.2",
|
|
37
|
+
"@types/rimraf": "^3.0.2",
|
|
38
|
+
"@types/tmp": "^0.2.3"
|
|
39
|
+
}
|
|
40
|
+
}
|