npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

weread-spy

v0.7.6

Published

weread spy

Downloads

4

Readme

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

更新日志

see CHANGELOG.md

License

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