-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
新的 Playlist 协作方式 - Google Sheet #7
Comments
這個提議不錯 ref,雖然目前從client叫大概也不會超標 |
目前編輯者只有我和 @LittleRice1007 ,我剛和他討論了下 這個題案我想先放著,未來有其它人要參與共編再討論是否實做 |
我將此提案寫在了README,留待未來討論 |
jim60105
added a commit
that referenced
this issue
Apr 5, 2021
2021/4/1 エイプリルフールドッキリ🌸sing a song (註解) #7【ラジオQtama】アニメ『ホリミヤ』を語る!【Vtuber/久遠たま】
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
手写 json 维护 Playlist 的方式过于原始,建议创建一个共享的 Google Sheet 维护所有 Playlist。
Google Sheet 非常适合多人协作,编辑起来也很方便。
可以采用以下两种工作流程(Workflow)
Workflow 1:
手动触发(或定时自动触发)Github Action 拉取 Google Sheet。
解析并输出 js 文件,更新 Repo 中相应的文件,并提交新 Commit。
Workflow 2:
Google Sheet 设置为 Public - Read Only。
在前端 Tampermonkey 脚本中发起对 Google Sheet 的请求,将获取的 csv 格式 Playlist 数据
在前端解析和转换为 js 数组。
好处是更新 Google Sheet 后,无需额外地操作,用户可以立即获得最新的 Playlist 数据。
The text was updated successfully, but these errors were encountered: