Git Product home page Git Product logo

baidu-pan-downloader's Introduction

:octocat: baidu-pan-downloader :octocat:

A Baidu-yun storage downloader script using Greasemonkey/Tampermonkey

This repository contains a stub project for developing usercript extensions with React+Redux+[toolkit]+Typescript.

It uses react-app-rewired to change the webpack configuration to complile React code so that it can be included in a userscript.

In Firefox or Chrome, install Greasemonkey or Tampermonkey. You can then test the userscript by installing it here. Navigate to google and you should see a react component inserted at the bottom of the page.

🎅 Development

Building

git clone https://github.com/dotennin/baidu-pan-downloader.git
cd baidu-pan-downloader/
npm install
npm run build

After the build is complete, you should have a new version of userscript located at dist/bundle.user.js.

Development and Dynamic loading

It's able to get the newest version of your script upon a page refresh when developing. To do this, copy the source from dist/react-userscripts-dev.user.js or click here. The dev script will dynamically load the extension from port 5000, so you can take advantage of create-react-app's ability to auto-recompile an app when the source changes.

and run

npm start

🎁 Feature

You can add checked files to download list Modal through the download icon In the lower right corner of the page(https://pan.baidu.com/disk/home)


❄ Browser support:

Chrome:  ✅
Edge:    ✅
Firefox: ✅⚠(Required TampermonkeyBETA v4.11.6115 or higher)
Opera:   ⁉
Safari:  ⁉

📑 Changelog

See👉 here to confirm Changelog


🀄 中文说明

点👉 here 查看中文版本说明

baidu-pan-downloader's People

Contributors

dotennin avatar dependabot[bot] avatar wenhua-chenn 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.