aooiuu / z-reader Goto Github PK
View Code? Open in Web Editor NEW📘 [vscode插件] 小说阅读器,支持在线搜索和本地阅读,支持txt和epub格式
Home Page: https://marketplace.visualstudio.com/items?itemName=aooiu.z-reader
📘 [vscode插件] 小说阅读器,支持在线搜索和本地阅读,支持txt和epub格式
Home Page: https://marketplace.visualstudio.com/items?itemName=aooiu.z-reader
命令"z-reader: 在线"导致错误 (command 'z-reader.command.searchOnline' not found)
希望搜索来源可以手动设置
1,右下角总会出现很多消息
2,目录的拉取有待优化,目前会把图片页拉出来
3,无法显示图片
4,会出现很多莫名奇妙的空行,严重影响阅读
建议增加改变字体颜色和大小的功能
本地小说的章节目录是否有这个功能,还是应该怎么配置,我是macbook,感谢。
起点可以搜出来书,但打不开目录,有什么解决的方法吗
我的文件:https://libgen.lc/ads.php?md5=83d6e682effa8847c0170b7fcf1d79e6
下面是另外一个插件(epub reader)打开的表现,我对具体原理不了解,但看起来读取正常的标题是可行的。
我很喜欢z-reader,希望能找到方案解决这个困扰。
怎么保存阅读进度和翻页到下一章呢
需要输入 <书名>&p={x}
x 是第几页
比如 搜索 吞噬星空&p=2
才能显示出我吃西红柿的那一本
请支持mobi,pdf和awz系列格式,谢谢
需求:每次打开或者刷新之后,上次搜索的书籍都不见了 需要重新搜索和搜索进度
希望可以自定义本地书籍存放路径
点击目录打开新的一页再关掉旧的一页实在不太方便。
所有的文章都是这样 {{ content }}
问题:打开 20 多M 的本地 txt 一直显示空白一片。
修改的样式:
`html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
letter-spacing: 3px;
font-family: "Avenir", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
background-color: #272822;
}
#app {
width: 100%;
height: 100%;
position: relative;
padding: 20px 100px;
box-sizing: border-box;
}
.content {
position: fixed;
left: 100px;
right: 100px;
top: 50px;
bottom: 50px;
padding: 0;
margin: 0;
overflow-y: auto;
background: transparent;
white-space: pre-line;
word-break: break-all;
word-wrap: break-word;
color: #F8F8F2 !important;
font-size: 18px !important;
letter-spacing: 2px !important;
line-height: 2em !important;
font-family: '宋体', Simsun;
white-space: pre-line !important;
}
#contextmenu {
z-index: 9999;
position: fixed;
box-shadow: 0 0 5px rgba(0, 0, 0, .2);
padding: 0;
border: 1px solid #282c34;
list-style: none;
background: #fff;
}
#contextmenu li {
width: 100%;
}
#contextmenu li a {
cursor: pointer;
display: block;
text-decoration: none;
color: #282c34;
width: 100%;
text-align: center;
padding: 10px;
box-sizing: border-box;
}
#contextmenu li:first-of-type {
border-radius: 5px 5px 0 0;
}
#contextmenu li a:hover,
#contextmenu li a:active {
background: #eee;
color: #0AAF88;
}`
更新后只能搜索到书名,但是获取不到章节内容
有几个问题想问一下。
如题
为了能在README显示图片
现在设置了目录之后,只有目录根部的epub会被检索到,这样不方便书籍分类。能否增加子文件夹的支持?
强烈建议加入翻页命令
每次打开小说字体都太小,放大后字体和大小都保存不下来;希望能增加可调整小说字体和大小的功能,谢谢
不能用 , 报错: command 'z-reader.command.openLocalDirectory' not found
起点,不行后面要强制性登录
// const DOMAIN = 'https://www.biquge.com.cn';
const DOMAIN = 'https://www.xbiquge.la/';
// https://www.xbiquge.la/modules/article/waps.php
class ReaderDriver {
hasChapter() {
return true;
}
search(keyword) {
return __awaiter(this, void 0, void 0, function* () {
const result = [];
try {
// const res = yield got(DOMAIN + '/search.php?q=' + encodeURI(keyword));
const res = yield got(DOMAIN + '/modules/article/waps.php?searchkey=' + encodeURI(keyword))
const $ = cheerio.load(res.body);
$('.grid tr').each(function (i, elem) {
const title = $($(elem).find('td')[0]).text();
const author = $($(elem).find('td')[2]).text();
const path = $($(elem).find('td')[0]).find('a').length > 0 ? $($(elem).find('td')[0]).find('a').attr().href : '';
result.push(new TreeNode_1.TreeNode(Object.assign({}, TreeNode_1.defaultProblem, {
type: '.biquge',
name: ${title} - ${author}
,
isDirectory: true,
path
})));
});
}
catch (error) {
console.warn(error);
}
return result;
});
}
Hi, I maintain VS Code's Webview API
Our telemetry suggests that your extension uses webviews and may be loading resources in these webviews using hardcoded vscode-resource:
URIs. These URIs have some important limitations and don't work properly when VS Code is run in a browser. We are also making changes in the desktop version of VS Code that may cause these URIs to not work properly in future versions of VS Code.
While we are making our best effort to continue support existing webview extensions that use vscode-resource:
URIs on desktop versions of VS Code, we will not able to fully support all uses cases.
To ensure that your extension continues to work in as many environments as possible—including on web and remotely—please:
Switch to use the Webview.asWebviewUri
function for loading resources.
Switch to use the Webview.cspSource
property in content security policies.
These APIs shipped around 2 years ago so they should be available in all modern versions of VS Code. You can find additional information about the issue here: microsoft/vscode#97962
Let me know if you have any questions about this change
v1.0.6版本【八一】等源报错:
Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding
笔趣阁获取小说是乱码啊大佬
“�ʱ������һ����������ֻ���Զ�үר�Ŀ���ǽ�ǵ����·�ûע�����Ķ�����
������״Ԫ��ͷһ����������������ֿ�ʼ���ˡ���”
我做了一下修改,下载解压安装即可
https://wwr.lanzoui.com/iv0Tgqufgxa
密码:f1d5大神666啊 验证可以
我用了,还是不行
我刚刚用 又不行了
最新调整:
目前在线书源共支持四个:
下载地址:https://wwr.lanzoui.com/b02c7a2sh 密码:8882
Originally posted by @leslie-gl in #43 (comment)
只有5Mb的txt文件打开花了好几分钟
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.