hjyssg / ShiguReader

硬核宅宅资源管理器. Ultimate Manga Resource Manager
MIT License
400 stars 45 forks source link

todo #121

Open hjyssg opened 3 years ago

hjyssg commented 3 years ago

'has music' filter does not work on music folder. done

  1. I want to a jpn string tokenizer for long title https://www.npmjs.com/package/kuromoji on Onebook page, 虹ヶ咲学園スクールアイドル同好会 -> [ 虹ヶ咲, 学園, スクールアイドル,同好会] will be great

默认的dict太垃圾,需要用上NEologd 但NEologd是给mecab用的,需要convert https://github.com/sable-virt/kuromoji-js-dictionary https://qiita.com/abcang/items/078d57d70b9ec83f02e0

image

hjyssg commented 3 years ago
  1. video in zip. what to do

--> show a link to watch

hjyssg commented 3 years ago
  1. AI to differentiate between real photo and comic
hjyssg commented 3 years ago

[New Feature] use ehentai metadata to display for UI

ehentai script 可以推广到nya

https://github.com/hjyssg/ShiguReader/issues/106

hjyssg commented 3 years ago
  1. video thumbnail generation

https://github.com/volumenetwork/video-thumbnail-generator

ShiguReader is created for comic, maybe this feature is useless. There are other software can do this better.

hjyssg commented 3 years ago
  1. [New Feature] use ehentai metadata to display for UI
hjyssg commented 3 years ago
  1. run exe -> done -> break by sqlite
hjyssg commented 3 years ago
  1. i18
hjyssg commented 3 years ago

fs.readdir

没有无视隐藏文件夹和文件夹 也没有无视垃圾文件 https://www.npmjs.com/package/junk

hjyssg commented 3 years ago

lsdir_unscan 在pkg exe下会崩溃?

download文件夹又不会崩溃 读磁盘root会崩溃

https://github.com/vercel/pkg/issues/938

readdir(dir, { withFileTypes: true }); 会崩溃

readdir(dir); 没事

hjyssg commented 3 years ago

https://aplayer.js.org/#/zh-Hans/

hjyssg commented 3 years ago

video progress thumbnail

hjyssg commented 3 years ago

https://www.npmjs.com/package/spdy lets try http2


express does not support h2 yet.

hjyssg commented 3 years ago

video number for zip

hjyssg commented 3 years ago

sort by read time

store read history in different data structure clientUitl.js

hjyssg commented 3 years ago

tag fixing

hjyssg commented 3 years ago

onebook显示img folder只显示单层。其实该BFS,否则和zip显示不一致。 现在就是一个音乐文件夹,图片在表层。然后MP3在mp3子文件夹,要打开两个。特别迷惑。

现在所有和img folder相关的逻辑都是错的。因为img folder需要tree traversal才能获得相关全部信息。 但我又没办法所有文件夹都存到sql里面。因为init 扫描会很慢。

用户手动把folder打包成tar包会方便很多。

image

hjyssg commented 2 years ago

所有sqlite文件整合成一个,就可以用sql join了。性能可能会有提升吧。

但其实数据量很小,其实现在这样也挺好。

hjyssg commented 2 years ago

现在sql全是宽表,都可以拆开。但有点麻烦。