ShiguReader
ShiguReader copied to clipboard
todo
'has music' filter does not work on music folder. done
- 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
- video in zip. what to do
--> show a link to watch
- AI to differentiate between real photo and comic
[New Feature] use ehentai metadata to display for UI
ehentai script 可以推广到nya
https://github.com/hjyssg/ShiguReader/issues/106
- 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.
- [New Feature] use ehentai metadata to display for UI
- run exe -> done -> break by sqlite
- i18
fs.readdir
没有无视隐藏文件夹和文件夹 也没有无视垃圾文件 https://www.npmjs.com/package/junk
lsdir_unscan 在pkg exe下会崩溃?
download文件夹又不会崩溃 读磁盘root会崩溃
https://github.com/vercel/pkg/issues/938
readdir(dir, { withFileTypes: true }); 会崩溃
readdir(dir); 没事
https://aplayer.js.org/#/zh-Hans/
video progress thumbnail
https://www.npmjs.com/package/spdy lets try http2
express does not support h2 yet.
video number for zip
sort by read time
store read history in different data structure clientUitl.js
tag fixing
onebook显示img folder只显示单层。其实该BFS,否则和zip显示不一致。 现在就是一个音乐文件夹,图片在表层。然后MP3在mp3子文件夹,要打开两个。特别迷惑。
现在所有和img folder相关的逻辑都是错的。因为img folder需要tree traversal才能获得相关全部信息。 但我又没办法所有文件夹都存到sql里面。因为init 扫描会很慢。
用户手动把folder打包成tar包会方便很多。
所有sqlite文件整合成一个,就可以用sql join了。性能可能会有提升吧。
但其实数据量很小,其实现在这样也挺好。
现在sql全是宽表,都可以拆开。但有点麻烦。