✨ 初始提交:月读第三方书源插件集合
每个书源一个独立插件目录,含微信读书公众号订阅、书架导入等完整功能。 Co-authored-by: Copilot <[email protected]>
This commit is contained in:
commit
0c6553d8d9
24 files changed
+2756
No files matched your search
@@ -0,0 +1,15 @@
|
||||
--[[--
|
||||
月读第三方书源描述:长佩文学。契约见月读 examples/moonsource-demo.koplugin/moon_source.lua。
|
||||
--]]
|
||||
|
||||
local function lazy(module)
|
||||
return setmetatable({}, { __index = function(_, key) return require(module)[key] end })
|
||||
end
|
||||
|
||||
return {
|
||||
api = 1,
|
||||
provides = { source = true },
|
||||
meta = function() return require("moonsource_changpei.source").meta() end,
|
||||
new = function() return require("moonsource_changpei.source").new() end,
|
||||
setting = lazy("moonsource_changpei.setting"),
|
||||
}
|
||||
Reference in new issue
Block a user