https://github.com/magicdawn/iina-userland
iina-userland: yeoman generator to create iina plugins and more
https://github.com/magicdawn/iina-userland
Last synced: 3 months ago
JSON representation
iina-userland: yeoman generator to create iina plugins and more
- Host: GitHub
- URL: https://github.com/magicdawn/iina-userland
- Owner: magicdawn
- License: mit
- Created: 2022-12-02T02:12:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T06:23:25.000Z (almost 3 years ago)
- Last Synced: 2025-01-19T07:07:49.454Z (over 1 year ago)
- Language: TypeScript
- Size: 613 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# iina-userland
> iina userland utils
## iina fork
use this fork for dev https://github.com/magicdawn/iina/
- with plugins flag turned on
- able to open webview devtools
- able to use webview.loadUrl, this means you can use any frontend tools, e.g Vite
I will constantly rebase `develop-tweak` branch onto `iina/develop` branch
### `loadUrl`
- `iina.standaloneWindow.loadFile` can load a html file
- this fork add a new `iina.standaloneWindow.loadUrl(url: string)` method.
to get started
- use create-vite to scaffold a new frontend project. e.g `pnpm create vite`
- after dev server started
- use `loadUrl('http://localhost:5173')`
## create-iina-plugin
> this is a wrapper of `generate-iina` using [create-with-generator](https://github.com/magicdawn/create-with-generator)
```sh
$ pnpm create iina-plugin
```
### generator-iina
> generate a iina plugin and setup a local dev environment
#### Usage
```sh
$ pnpm add -g yo generator-iina
$ yo iina
```
### Changelog
[packages/generator-iina/CHANGELOG.md](packages/generator-iina/CHANGELOG.md)
## License
the MIT License http://magicdawn.mit-license.org