An open API service indexing awesome lists of open source software.

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

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