GithubHelp home page GithubHelp logo

lieguoqingcheng / weread-spy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from magicdawn/weread-spy

0.0 0.0 0.0 16.42 MB

weread-spy: 使用微信读书 Web 版生成 ePub 电子书

License: MIT License

Shell 0.10% JavaScript 1.10% TypeScript 82.72% CSS 9.68% HTML 6.40%

weread-spy's Introduction

weread-spy

使用微信读书 Web 版生成 ePub 电子书 (需要无限卡权限, 或已购买的书)

npm version npm downloads npm license

声明

本项目仅供技术研究使用, 请勿用于商业用途!
本项目仅供技术研究使用, 请勿用于商业用途!
本项目仅供技术研究使用, 请勿用于商业用途!

安装

$ pnpm add weread-spy -g

或者使用源码

  • git clone 此项目
  • pnpm i
  • pnpm link --global

这样就可以使用 weread-spy 命令了

epub 规范 & 阅读器

  • 本项目使用 ePub v3 规范, 且使用 epubcheck lint, 如果有 lint 报错的地方, 请添加 issue
  • ePub 阅读器推荐 Koodo Reader or Apple Books

一站式操作 weread-spy one

  • 运行此命令, 会自动打开 puppeteer 浏览器
  • 扫码登录
  • 浏览自己想下载的书, 返回命令行. 监控到 url 像是一本书, 输入 y 开始生成

注意事项

  • 需要安装 Java, epub check 依赖 java, 可以认为是 ePub 文件的 lint 工具
  • 数据文件在 ~/Library/Appication Support/weread-spy/ 目录下
  • 生成 epub 文件在当前目录下, 或者使用 weread-spy one -d some-dir 指定输出目录

Options

flag desc default
-d,--dir 最终 ePub 文件输出目录 pwd
--interval 切换章节间隔, 毫秒 0

其他分步的命令

  • weread-spy dl -u <url> 下载电子书信息
  • weread-spy gen -u <url> 根据下载的信息, 生成电子书
  • weread-spy check 跑 epub check

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org

weread-spy's People

Contributors

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