Commit 7c1604630d

7c1604630dd3b8df0f37122b01c5e0b3a2fa3e08

parent: 9631a87612

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2025-06-05 06:02 UTC

Update cubari.md

Layout: unified · split

docs/guides/manga/cubari.md +43 −33
@@ -54,7 +54,7 @@ groups: Uploader Name
5454
5555:::
5656
57## Kaguya
57## Setup
5858
5959::: tabs
6060
@@ -74,31 +74,63 @@ To host images, we are using [Image Chest](https://imgchest.com/). You can uploa
74743. After verifying your email, go to the [API section](https://imgchest.com/profile/api).
75754. Create an API key and save it somewhere safe, you'll need it in a later step.
7676
77== Script setup
77== GitHub
781. You need a GitHub account. An older account is less likely to be flagged by GitHub.
792. Open a new [public repo](https://github.com/new).
803. Generate a new [token](https://github.com/settings/tokens/new?scopes=public_repo&description=Kaguya).
814. Save the token to somewhere safe like ImgChest API token.
82
83== Script
78841. Visit [Kaguya repository](https://github.com/wotakumoe/kaguya).
79852. Clone/download the repository.
80863. Open powershell in the folder and run `pip install -r requirements.txt`
81874. Put the Image chest API key in `api_key.txt`
885. Open the `github.txt`, fill out the user name, repository name and token.
8289
8390```bash
8491Kaguya/
8592├── api_key.txt
93├── github.txt
8694├── kaguya.py
8795├── readme.md
8896└── requirements.txt
8997```
9098
91== Run
99:::
100
101## Kaguya
102
921031. Open powershell in the script folder.
931042. Run `python kaguya.py`
941053. Enter comic folder path.
951064. Choose options accordingly.
965. It will then start uploading in batch
976. After it done uploading, it will give summary
107```bash
108⬆️ Process Options:
1091. Upload all folders
1102. Upload only new folders (skip already uploaded)
1113. Select specific folder(s) to upload/re-upload
1124. Update GitHub only (uses existing manga.json for this manga)
1135. Cancel
114```
1155. It will then start uploading in batch.
1166. After it done uploading, it will ask whether you wanna upload the JSON in the GitHub repo.
1177. When all the process is done, it will give summary.
98118
99After the run, the script will generate `Comic_Title.json` and `imgchest_upload_record.txt` in the comic's base folder.
119```bash
120✅ GitHub: Uploaded comic_title.json (branch: main)
121🔗 Raw URL: https://raw.githubusercontent.com/user/repo/main/comic_title.json
122📚 Cubari URL: https://cubari.moe/read/gist/cmF3L3VzZXIvcmVwby9tYWluL2NvbWljX3RpdGxlLmpzb24==/
100123
124✓ Successfully uploaded comic_title.json ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
125
126💾 GitHub upload log saved/appended to: cubari_urls.txt
127
128All operations complete. Goodbye!
101129```
130
131After the run, the script will generate `Comic_Title.json` and `imgchest_upload_record.txt` in the comic's base folder.
132
133```bash
102134Comic_Folder/
103135├── info.txt # Comic metadata
104136├── imgchest_upload_record.txt # Upload history (auto-created)
@@ -112,34 +144,12 @@ Comic_Folder/
112144 └── ...
113145```
114146
115The `imgchest_upload_record.txt` file keeps track of all uploaded folders. If a folder fails to upload, it won’t be listed in this file. When you run the script again, the missing folder will be detected as new.
116
117To retry failed uploads, select second option.
118
119```powershell
120⬆️ Upload Options:
1211. Upload all folders
1222. Upload only new folders (skip already uploaded)
1233. Select specific folder(s) to upload/re-upload
1244. Cancel
125```
126
127After a successful upload, the folder will be added to the JSON file. New uploads appear at the bottom of the JSON, but this won't affect the chapter order in Cubari.
128:::
129
130## Cubari
131
132::: tabs
133
134== Manual
147The `imgchest_upload_record.txt` file keeps track of all uploaded folders. If a folder fails to upload, it won’t be listed in this file. When you run the script again, the missing folder will be detected as new. Also `cubari_urls.txt` in the Kaguya folder.
135148
149::: info Manual JSON Upload
1361501. You need a GitHub account. An older account is less likely to be flagged by GitHub.
1371512. Open a new [public repo](https://github.com/new) and upload the JSON file there.
1383. Go to [**Cubari**](https://cubari.moe/) and paste `https://raw.githubusercontent.com/user/repo/main/Comic_Title.json` there. It will load all your chapters along with their metadata.
139
140== Script
141Soon.
142
143:::
1523. Go to [**Cubari**](https://cubari.moe/) and paste `https://raw.githubusercontent.com/user/repo/main/comic_title.json` there. It will load all your chapters along with their metadata.
144153
145The Cubari link generated on that page will be your comic’s final shareable link.
\ No newline at end of file
154The Cubari link generated on that page will be your comic’s final shareable link.
155:::
\ No newline at end of file