GithubHelp home page GithubHelp logo

goindex-theme-acrou_aicirou's Introduction

GoIndex-theme-acrou

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

goindex/index.js is the content of the Workers script.

This theme's goindex is currently based on yanzai/goindex

README | 中文文档

Demo

Acrou: https://oss.achirou.workers.dev/

Features

  • 🗂 Multi drive switching
  • 🔐 Http Basic Auth
  • 🎨 Grid view mode(File Preview)
  • 🎯 Paging load
  • 🌐 I18n(multi-language)
  • 🛠 Html render
  • 🖥 Video Online(mp4,mkv,webm,flv,m3u8)
  • 🚀 Faster speed

TODO

  • More file format preview
  • Let goindex be more than just a directory index

Quick Deployment

  1. Open https://goindex-quick-install.glitch.me
  2. Auth and get the code
  3. Deploy the code to Cloudflare Workers

Deployment

  1. Open Google Drive API
  2. Create a OAuth client ID
  3. Install rclone software locally
  4. Get refresh_token with rclone
  5. Download index.js in https://github.com/Aicirou/goindex-theme-acrou/go2index and replace client_id,client_secret,refresh_token for what you just got.
  6. Deploy the code to Cloudflare Workers

If you write a good article and want to share it with others, please submit Issues and I will post the link here.

Logs

2020-5-20

  • Program changed to SPA(single page application)

  • Add page level cache(The browser does not refresh and load in seconds after backward, and Mac users have a better experience of using touch pad)

  • Add http basic auth(Each drive letter can be configured with a user name and password separately, which can protect all sub files and sub folders under the drive)

  • Add grid view mode(File preview)

  • Add paging load

  • Add i18n

  • Add html render

  • Add render folder/file description

  • Add optional configuration

  • Support quick deployment

  • Support PDF Online preview

  • Replace text editor

  • Solve the problem of URL encoding #20 #23 #25

  • Solve other known problems

2020-4-29

  • Support multi disk switching
  • Add version detection
  • Optimize search results
  • Optimize page display

About

At the beginning of this project, it was just to satisfy my personal perception and experience development. When this project reaped the first start, the first fork and the first issues, and then everyone began to make suggestions, I had the power to update. Thank you very much for your support. Now we have version 2.0.

Lisense

MIT

goindex-theme-acrou_aicirou's People

Contributors

achrou 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.