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

comic-book-browser

v1.0.15

Published

Comic Book Browser

Downloads

40

Readme

Comic Book Browser

logo

动机

平常喜欢看漫画的人肯定有体验过在网页看漫画,看着看着就突然弹出各种跳花里胡哨的小广告, 不小心点到还跳转到广告网站,体验非常差。

因此我就想开发一套离线本地存储的漫画书架,可以轻松管理平时关注的漫画,且无广告界面简洁,一些经典完结的漫画也可以当收藏存到自己的硬盘里,由此诞生了该项目🤔。

安装

npm i -g comic-book-browser

用法

$ comic-book-browser --help

  Usage:
    $ comic-book-browser <command> [options]

  Options:
    -d, --bookPath <dir>  漫画目录(comic-book所在的目录) eg: -d . (default: .)
    -p, --port <port>     服务启动的端口号 eg: -p 3000 (default: 3000)
    -h, --help            Display this message
    -v, --version         Display version number

Start

使用 comic-book-dl 下载完漫画后在当前含有comic-book目录 执行:

# 当前目录需含有 comic-book文件夹
$ comic-book-browser

> comic-book-browser [INFO]:  \(^o^)/ 服务已启动 请用浏览器打开 http://127.0.0.1:3000

PS: 当然也可以不使用comic-book-dl 只要当前目录符合结构即可正常启动,注意的是 bookInfo.json里的字段得有且符合对应结构

.
└── comic-book
    ├── <漫画名>
    │   ├── bookInfo.json
    │   ├── cover.jpg
    │   └── chapters
    │       ├── 第01话
    │       │       └── xxx.jpg
    │       ....

常见问题

  • 新增漫画时如果刷新没显示新漫画?
    • 可点击右下角清理缓存,或者重新启动comic-book-browser服务即可

界面

comic-book-browser提供了两套主题、适配移动端、界面简洁

功能与建议

目前项目处于开发初期, 如果你对该项目有任何功能与建议,欢迎在 Issues 中提出