GithubHelp home page GithubHelp logo

zschiao / goindex-backup Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 60.0 2.07 MB

goindex 备份仓库。打不开网页的问题已经解决,方法就是修改自己 CF 文件里面的一行代码即可,最好自己备份一份,然后改成自己仓库的名称,细节在md文件 —— 20200429

JavaScript 100.00%

goindex-backup's Introduction

前几天我突然发现自己的 goindex 网页打开是一片空白,然后才知道 donwa 大佬删库了,于是我找了其他的仓库部署了一下网页,今天偶然发现网页打不开是有解决办法的,看到了一篇博文,所以就赶快修改了自己的代码,非常感谢,下面是解决方法,另外博文参考自:

解决方法:

  • 【可选】首先到 GitHub Fork一份 Goindex 的代码。
  • 登录CF,打开workers,选中项目修改原代码部分的一行即可。具体操作如下 —— 找到以下代码,一般是在 21行/23行 。

cf代码修改细节 !图片加载不出来可直接访问:http://dwz.date/awtQ

另外我发现 goindex 现在的版本可以看 GD 快捷方式的文件了,这样就可以把别人共享的文件直接创建快捷方式,在自己的网页看,非常 nice 。

PS:以下内容为原始内容。


GoIndex

GoIndex

Google Drive Directory Index
Combining the power of Cloudflare Workers and Google Drive will allow you to index you files on the browser on Cloudflare Workers.

index.js is the content of the Workers script.

Demo

material: https://index.gd.workers.dev/
classic: https://indexc.gd.workers.dev/

Deployment

1.Install rclone software locally
2.Follow https://rclone.org/drive/ bind a drive
3.Execute the commandrclone config file to find the file rclone.conf path
4.Open rclone.conf,find the configuration root_folder_id and refresh_token
5.Download index.js in https://github.com/donwa/goindex and fill in root and refresh_token
6.Deploy the code to Cloudflare Workers

Quick Deployment

1.Open https://installen.gd.workers.dev/
2.Auth and get the code
3.Deploy the code to Cloudflare Workers

About

Cloudflare Workers allow you to write JavaScript which runs on all of Cloudflare's 150+ global data centers.

goindex-backup's People

Contributors

aykxt avatar donwa avatar iwestlin avatar myluoluo avatar njzjz avatar shingz96 avatar superstaraug avatar zschiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.