Skip to content
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

Add English language support along with misc changes to v3 #8

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
44 changes: 20 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
# goIndex-theme-nexmoe

基于 [盘ta](https://github.com/Hidove/goindex) 的js,参考OneIndex的主题nexmoe,魔改美化.

app-v3.js 是基于[yanzai](https://github.com/yanzai/goindex)的js美化的,支持多盘、搜索、分页加载和调用外部播放器等功能,另外添加了DPlayer播放。

app-v3.js 的模板为GoIndex_v2.js
<p align="center"><img src="images/ss.png"></p>

# goIndex-theme-nexmoe

# 使用
Based on panta js, refer to OneIndex's theme nexmoe, magic change beautification.

1.打开 https://install.kenci.workers.dev/ 网站,验证并获取代码
App-v3.js is based on yanzai's js beautification, supports features such as multi-disk, search, pagination and call-to-external player, plus DPlayer playback.

2.使用对应app.js的模板代码,将获取到的id和授权填入
### How to Use
1. Open https://install.kenci.workers.dev

3.将代码部署到 [Cloudflare Workers](https://www.cloudflare.com/)
2. Complete authorisation and input all the details and generate code

4.使用 https://cdn.jsdelivr.net/gh/5MayRain/[email protected]/app-v2.js 替换获取代码中的js
> var html = `
>
> ......
> <script src="替换"></script>
>
> ......
>
> `;
3. Head over to the index.js file and input the client id ,client secret, refresh token and root id from the code generated in step 2

5.其中app.js有部分链接为外链,app-v2.js的所有链接均连接仓库中的文件
4. Deploy this index.js code to Cloudflare Workers

6.app-v3.j地址:https://cdn.jsdelivr.net/gh/5MayRain/[email protected]/app-v3.js
### Extra Options
``` js
const uiConfig = {
.......
"avatar": "https://i.ibb.co/jW0TDZH/image.png", // Changes the avatar image in the navbar (Changeable only if language is en)
"disable_navicon": true // Disables useless nav menu in navbar (Changeable only if language is en)
"language": "en" // en - english, default or anythin else for zh-cn
.......
};
```

7.[详细教程](https://5mayrain.github.io/posts/%E6%95%99%E7%A8%8B/%E4%BD%BF%E7%94%A8goindex%E6%90%AD%E5%BB%BAgoogledrive%E7%BD%91%E7%AB%99%E7%9B%AE%E5%BD%95/)
### Demo (Chinese)

# 预览
[app-v2.js](https://go.zgh.workers.dev/)

[app-v3.js](https://demo.zgh.workers.dev/)
Loading