@mekuru/youtube 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. package/README.jp.md +19 -0
  2. package/README.md +19 -0
  3. package/package.json +1 -1
package/README.jp.md ADDED
@@ -0,0 +1,19 @@
1
+ # @mekuru/youtube
2
+
3
+ [English](README.md)
4
+
5
+ Mekuru Movie Maker の動画を YouTube にアップロードします。動画のパス、タイトル、説明文、タグ、公開設定、任意のサムネイルを YAML で指定します。Bun 1.4 以上が必要です。
6
+
7
+ [投稿ガイド](../../docs/reference/Upload.jp.md) に従って `configs/youtube.yaml` と OAuth クライアントの設定を準備し、プロジェクトのフォルダから実行します。
8
+
9
+ ```sh
10
+ bun add -d @mekuru/youtube
11
+ bunx mekuru-youtube --dry-run
12
+ bunx mekuru-youtube
13
+ ```
14
+
15
+ - 既定の設定ファイルは `configs/youtube.yaml` です。引数に別の YAML のパスを渡せます。複数渡すと順にアップロードします。
16
+ - 設定内のファイルパスはプロジェクトのフォルダからの相対パスです。
17
+ - `--dry-run` はログインやアップロードをせずに設定を表示します。初回のアップロードでは Google にログインするためのブラウザが開きます。
18
+
19
+ [設定例](../../example/configs/youtube.yaml)
package/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # @mekuru/youtube
2
+
3
+ [日本語](README.jp.md)
4
+
5
+ Uploads Mekuru Movie Maker videos to YouTube using a YAML file for the video path, title, description, tags, visibility, and optional thumbnail. Requires Bun 1.4 or later.
6
+
7
+ Prepare `configs/youtube.yaml` and the OAuth client configuration described in the [upload guide](../../docs/reference/Upload.md), then run from the project folder:
8
+
9
+ ```sh
10
+ bun add -d @mekuru/youtube
11
+ bunx mekuru-youtube --dry-run
12
+ bunx mekuru-youtube
13
+ ```
14
+
15
+ - The default configuration file is `configs/youtube.yaml`; pass other YAML paths as arguments to upload multiple videos in order.
16
+ - File paths in the configuration are relative to the project folder.
17
+ - `--dry-run` displays the upload settings without signing in or uploading. The first upload opens a browser for Google sign-in.
18
+
19
+ See the [example configuration](../../example/configs/youtube.yaml).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mekuru/youtube",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Uploads a video of Mekuru Movie Maker to YouTube with the title, description, ... written in youtube.yaml",
5
5
  "type": "module",
6
6
  "bin": {