@ts-videos/webm 0.1.0
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/LICENSE.md +21 -0
- package/README.md +143 -0
- package/package.json +45 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Open Web Foundation
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
<p align="center"><img src="https://github.com/stacksjs/ts-videos/blob/main/.github/art/cover.jpg?raw=true" alt="Social Card of this repo"></p>
|
|
2
|
+
|
|
3
|
+
[![npm version][npm-version-src]][npm-version-href]
|
|
4
|
+
[![GitHub Actions][github-actions-src]][github-actions-href]
|
|
5
|
+
[![Commitizen friendly][commitizen-friendly]][commitizen-href]
|
|
6
|
+
<!-- [![npm downloads][npm-downloads-src]][npm-downloads-href] -->
|
|
7
|
+
<!-- [![Codecov][codecov-src]][codecov-href] -->
|
|
8
|
+
|
|
9
|
+
# vidx
|
|
10
|
+
|
|
11
|
+
> A better save for web developers.
|
|
12
|
+
|
|
13
|
+
## Features
|
|
14
|
+
|
|
15
|
+
- Image Optimizations & Manipulations
|
|
16
|
+
- Web Optimized by default
|
|
17
|
+
- Simple, lightweight
|
|
18
|
+
- CLI and Library Support
|
|
19
|
+
|
|
20
|
+
## Install
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
bun install -d @stacksjs/ts-videos
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
<!-- _Alternatively, you can install:_
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
brew install vidx # wip
|
|
30
|
+
pkgx install vidx # wip
|
|
31
|
+
``` -->
|
|
32
|
+
|
|
33
|
+
## Get Started
|
|
34
|
+
|
|
35
|
+
There are two ways of using this tool: _as a library or as a CLI._
|
|
36
|
+
|
|
37
|
+
### Library
|
|
38
|
+
|
|
39
|
+
Given the npm package is installed:
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
// wip
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### CLI
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
vidx wip
|
|
49
|
+
vidx --help
|
|
50
|
+
vidx --version
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Configuration
|
|
54
|
+
|
|
55
|
+
The Reverse Proxy can be configured using a `vidx.config.ts` _(or `vidx.config.js`)_ file and it will be automatically loaded when running the `reverse-proxy` command.
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
// vidx.config.{ts,js}
|
|
59
|
+
import type { vidxOptions } from '@stacksjs/ts-videos'
|
|
60
|
+
|
|
61
|
+
const config: vidxOptions = {
|
|
62
|
+
verbose: true,
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export default config
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Then run
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
./vidx start
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
To learn more, head over to the [documentation][documentation].
|
|
75
|
+
|
|
76
|
+
## Testing
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
bun test
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Changelog
|
|
83
|
+
|
|
84
|
+
Please see our [releases][releases] page for more information on what has changed recently.
|
|
85
|
+
|
|
86
|
+
## Contributing
|
|
87
|
+
|
|
88
|
+
Please review the [Contributing Guide][contributing-guide] for details.
|
|
89
|
+
|
|
90
|
+
## Community
|
|
91
|
+
|
|
92
|
+
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
|
|
93
|
+
|
|
94
|
+
[Discussions on GitHub][discussions-on-github]
|
|
95
|
+
|
|
96
|
+
For casual chit-chat with others using this package:
|
|
97
|
+
|
|
98
|
+
[Join the Stacks Discord Server][join-the-stacks-discord-server]
|
|
99
|
+
|
|
100
|
+
## Postcardware
|
|
101
|
+
|
|
102
|
+
“Software that is free, but hopes for a postcard.” We love receiving postcards from around the world showing where `vidx` is being used! We showcase them on our website too.
|
|
103
|
+
|
|
104
|
+
Our address: Stacks.js, 12665 Village Ln #2306, Playa Vista, CA 90094, United States 🌎
|
|
105
|
+
|
|
106
|
+
## Sponsors
|
|
107
|
+
|
|
108
|
+
We would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.
|
|
109
|
+
|
|
110
|
+
- [JetBrains][jetbrains]
|
|
111
|
+
- [The Solana Foundation][the-solana-foundation]
|
|
112
|
+
|
|
113
|
+
## Credits
|
|
114
|
+
|
|
115
|
+
- [Chris Breuer][chris-breuer]
|
|
116
|
+
- [All Contributors][all-contributors]
|
|
117
|
+
|
|
118
|
+
## License
|
|
119
|
+
|
|
120
|
+
The MIT License (MIT). Please see [LICENSE][license] for more information.
|
|
121
|
+
|
|
122
|
+
Made with 💙
|
|
123
|
+
|
|
124
|
+
<!-- Badges -->
|
|
125
|
+
[npm-version-src]: https://img.shields.io/npm/v/@stacksjs/ts-videos?style=flat-square
|
|
126
|
+
[npm-version-href]: https://npmjs.com/package/@stacksjs/ts-videos
|
|
127
|
+
[github-actions-src]: https://img.shields.io/github/actions/workflow/status/stacksjs/ts-videos/ci.yml?style=flat-square&branch=main
|
|
128
|
+
[github-actions-href]: https://github.com/stacksjs/ts-videos/actions?query=workflow%3Aci
|
|
129
|
+
|
|
130
|
+
<!-- [codecov-src]: https://img.shields.io/codecov/c/gh/stacksjs/ts-videos/main?style=flat-square
|
|
131
|
+
[codecov-href]: https://codecov.io/gh/stacksjs/ts-videos -->
|
|
132
|
+
[commitizen-friendly]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
|
|
133
|
+
[documentation]: https://reverse-proxy.sh/
|
|
134
|
+
[releases]: https://github.com/stacksjs/stacks/releases
|
|
135
|
+
[contributing-guide]: https://github.com/stacksjs/contributing
|
|
136
|
+
[discussions-on-github]: https://github.com/stacksjs/stacks/discussions
|
|
137
|
+
[join-the-stacks-discord-server]: https://discord.gg/stacksjs
|
|
138
|
+
[jetbrains]: https://www.jetbrains.com/
|
|
139
|
+
[the-solana-foundation]: https://solana.com/
|
|
140
|
+
[chris-breuer]: https://github.com/chrisbbreuer
|
|
141
|
+
[all-contributors]: ../../contributors
|
|
142
|
+
[license]: https://github.com/stacksjs/stacks/tree/main/LICENSE.md
|
|
143
|
+
[commitizen-href]: http://commitizen.github.io/cz-cli/
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ts-videos/webm",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "WebM/Matroska codec support for ts-videos",
|
|
6
|
+
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://github.com/stacksjs/ts-videos/tree/main/packages/webm",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/stacksjs/ts-videos.git",
|
|
12
|
+
"directory": "packages/webm"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/stacksjs/ts-videos/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"webm",
|
|
19
|
+
"matroska",
|
|
20
|
+
"mkv",
|
|
21
|
+
"video",
|
|
22
|
+
"audio",
|
|
23
|
+
"codec",
|
|
24
|
+
"ebml"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"module": "./dist/index.js",
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"files": [
|
|
35
|
+
"README.md",
|
|
36
|
+
"dist"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "bun build.ts",
|
|
40
|
+
"typecheck": "bunx tsc --noEmit"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"ts-videos": "0.1.0"
|
|
44
|
+
}
|
|
45
|
+
}
|