跳到正文

GoIndex Theme Acrou

不活跃
Achrou/goindex-theme-acrou

GoIndex 的优雅主题,功能丰富,可通过 Cloudflare Workers 直接浏览和在线播放 Google Drive 中的文件。

在 GitHub 查看
星标
1590
Fork
820
关注
1590
未关闭 Issue
92

该介绍目前仅提供英文版本。

An elegant theme for accessing Google Drive files via Cloudflare Workers

Overview

GoIndex Theme Acrou is a stylish and feature-rich extension for GoIndex that combines the power of Cloudflare Workers and Google Drive to create a sleek file browsing and streaming experience. It transforms your Google Drive into a web-accessible file index with enhanced functionality and a modern user interface.

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

Key Features

  • 🔄 SPA Experience: Page-level caching with smooth browser navigation - no reloading required
  • 🗂️ Multi-Drive Support: Switch between multiple Google Drive accounts easily
  • 🔐 Access Control: HTTP Basic Authentication to protect your files
  • 🖼️ Grid View: Attractive thumbnail previews for images and files
  • 📄 Content Rendering: Markdown and HTML rendering capabilities
  • 📱 Responsive Design: Works beautifully on both desktop and mobile devices
  • 📺 Media Streaming: Built-in video player with subtitle support
  • 🎵 Audio Player: Integrated audio player with playlist support
  • 🌐 Internationalization: Multi-language support
  • 📃 Pagination: Load files in pages for better performance
  • 🚀 Optimized Performance: Faster loading times and enhanced user experience

Video Player Features

The theme includes a customizable video player with:

  • Autoplay support
  • Custom player controls
  • Quality and speed settings
  • Picture-in-picture mode
  • Custom API support for external players
  • Subtitle (.vtt) support

Audio Player Features

The integrated audio player offers:

  • Playlist management
  • Loop and random playback options
  • Volume control with memory
  • Support for custom playlists

Quick Deployment

Deploying GoIndex Theme Acrou is straightforward:

  1. Visit one of these easy installation sites:

  2. Authenticate with Google and obtain your deployment code

  3. Deploy the generated code to Cloudflare Workers

Manual Deployment

For those who prefer manual setup:

  1. Enable Google Drive API and create an OAuth client ID
  2. Install rclone locally to obtain a refresh token
  3. Modify the index.js file with your credentials
  4. Deploy to Cloudflare Workers

Customization Options

GoIndex Theme Acrou offers extensive customization:

Video Player

Configure autoplay, time display, controls, and more. The player supports external API integration for custom video players.

Audio Player

Adjust autoplay, loop settings, playback order, and volume. You can even preset audio playlists.

File Sorting

Easily change how files are sorted by modifying the params.orderBy parameter in the code.

Recent Updates

v2.0.8 (Latest)

  • Fixed image handling issues
  • Added support for more than 10 drives
  • Integrated video player (plyr) and audio player (APlayer)
  • Added copy button to video page
  • Added loading progress indicator
  • Improved markdown rendering
  • Enhanced performance and fixed various bugs

Use Cases

  • Personal media library accessible from anywhere
  • Document sharing with authentication
  • Simple blogging platform (via Markdown/HTML rendering)
  • Audio and video streaming solution
  • Portfolio or image gallery

Requirements

  • Google Drive account
  • Cloudflare account (free tier works fine)
  • Basic understanding of OAuth and API concepts

License

MIT License

按共同分类和标签排序的同类开源项目。

全部工具项目 →