{"id":18361251,"url":"https://github.com/hujun-open/golitebook","last_synced_at":"2026-02-18T10:02:53.967Z","repository":{"id":57560370,"uuid":"326511195","full_name":"hujun-open/golitebook","owner":"hujun-open","description":"一个看书软件","archived":false,"fork":false,"pushed_at":"2022-05-15T22:05:42.000Z","size":19268,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-07T05:44:04.649Z","etag":null,"topics":["ebook-reader"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hujun-open.png","metadata":{"files":{"readme":"Readme.md","changelog":"history/history.go","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-03T22:16:47.000Z","updated_at":"2024-10-16T16:35:22.000Z","dependencies_parsed_at":"2022-08-26T07:00:31.946Z","dependency_job_id":null,"html_url":"https://github.com/hujun-open/golitebook","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/hujun-open/golitebook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fgolitebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fgolitebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fgolitebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fgolitebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hujun-open","download_url":"https://codeload.github.com/hujun-open/golitebook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hujun-open%2Fgolitebook/sbom","scorecard":{"id":473127,"data":{"date":"2025-08-11","repo":{"name":"github.com/hujun-open/golitebook","commit":"981ef71b561322a85e7528f177b7da065e6a87a9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.2.2 not signed: https://api.github.com/repos/hujun-open/golitebook/releases/66913018","Warn: release artifact v0.2.1 not signed: https://api.github.com/repos/hujun-open/golitebook/releases/66890994","Warn: release artifact v0.2.0 not signed: https://api.github.com/repos/hujun-open/golitebook/releases/39828443","Warn: release artifact v0.1.7 not signed: https://api.github.com/repos/hujun-open/golitebook/releases/35979203","Warn: release artifact v0.2.2 does not have provenance: https://api.github.com/repos/hujun-open/golitebook/releases/66913018","Warn: release artifact v0.2.1 does not have provenance: https://api.github.com/repos/hujun-open/golitebook/releases/66890994","Warn: release artifact v0.2.0 does not have provenance: https://api.github.com/repos/hujun-open/golitebook/releases/39828443","Warn: release artifact v0.1.7 does not have provenance: https://api.github.com/repos/hujun-open/golitebook/releases/35979203"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2023-1572 / GHSA-qgc7-mgm3-q253","Warn: Project is vulnerable to: GO-2023-1990 / GHSA-j3p8-6mrq-6g7h","Warn: Project is vulnerable to: GO-2023-1989 / GHSA-x92r-3vfx-4cv3","Warn: Project is vulnerable to: GO-2024-2937 / GHSA-9phm-fm57-rhg8","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37","Warn: Project is vulnerable to: GO-2022-0603 / GHSA-hp87-p4gw-j4gq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T14:29:11.576Z","repository_id":57560370,"created_at":"2025-08-19T14:29:11.576Z","updated_at":"2025-08-19T14:29:11.576Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29575343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ebook-reader"],"created_at":"2024-11-05T22:32:55.767Z","updated_at":"2026-02-18T10:02:53.953Z","avatar_url":"https://github.com/hujun-open.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 简介\ngolitebook 是一个看书软件， 关键功能如下：\n\n* 支持快速载入并排版大型txt文件（100M文本文件载入只需花费1秒左右）\n* 支持Unicode\n* 通过插件支持从网站搜索，下载并更新小说\n* 简约设计，所有操作都可以通过快捷键实现\n* 智能分段\n* Dark Mode (only)\n\n# 长这个样子\n![它长这个样子](screenshot.png)\n\n# 帮助\nContrl-H 显示简单帮助\n\n## 阅读操作\n\n* 滚行: Up, Down, J, K, 鼠标滚轮\n* 翻页: PageUp, PageDown, Left, Right, Space\n* 首页: Home\n* 末页: End\n* 放大缩小字体： =/-\n\n## 功能快捷键\n\n* 打开文件:Ctrl+O\n* 网络搜索:Alt+C\n* 订阅管理:Ctrl+Y\n* 智能分段:Ctrl+Alt+F\n* 显示帮助:Ctrl+H\n* 章节列表:Ctrl+U\n* 设置下划线:Ctrl+L\n* 全屏显示:Ctrl+P\n* 选择字体文件:Alt+Z\n* 退出:Ctrl+W\n\n# 显示\n## 字体\ngolitebook内置并缺省使用[思源字体（Source Han Sans）](https://github.com/adobe-fonts/source-han-sans/tree/release/)；\n但是用户也可以使用其他任意的TTF字体，Alt-Z进行选择\n## 下划线\ngolitebook支持下划线模式：\n\n* 没有下划线\n* 实线\n* 虚线\n\nCtrl+L 进行选择\n\n## 智能分段\n\n有时候小说文本的排版比较凌乱，比如说很多空行或是很多短句， 看起来很不舒服，智能分段将文本重新排版，删除空行，合并短句，使得阅读体验更好，Ctrl+Alt+F\n\n![分段前](beforeFormat.png)\n![分段后](afterFormat.png)\n\n\n# 插件系统\n![搜索](searchInput.png)\n![搜索结果](searchResults.png)\n![订阅](subs.png)\n\ngolitebook 通过插件系统实现小说搜索，下载和更新；插件是一个可执行文件，每一个插件对应一个网站；\n\n插件可以用任何支持[gRPC](https://grpc.github.io/)的语言编写（如 python, Go等)，其本质就是一个实现了golitebook plugin API的gRPC sever，golitebook实现其gRPC client，通过API Call向插件的请求搜索、下载， 然后插件再向目标网站进行搜索下载操作，将结果返回给golitebook；具体的API文档参见[protobuf](api/api.proto)文件\n\n`golitebook(client) ---\u003e plugin X ----\u003e 网站 X`\n\n插件的gRPC server必须监听127.0.0.1\n\n每个插件的可执行文件必须支持以下的命令行参数：\n* `-p \u003c1-65535\u003e`: gPRC sever的端口号\n* `-logf \u003cfilepath\u003e`: log文件路径\n\n## 插件的安装\n将插件的可执行文件放在 %UserConfigDir/litebook/plugins目录下\n%UserConfigDir 的值取决于操作系统（参见[文档](https://golang.org/pkg/os/#UserConfigDir))\n\n简单来说，%UserConfigDir为：\nWindows: %AppData%\nLinux: $XDG_CONFIG_HOME（如其为空，则$HOME/.config)\nOSX: $HOME/Library/Application Support\n\n注：golitebook并不包括任何插件\n\n# 支持操作系统\n\n* Windows\n* Linux （已知限制：中文输入法无法工作，只能在其他软件输入再粘贴过来）\n* MAC OSX (TBR)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhujun-open%2Fgolitebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhujun-open%2Fgolitebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhujun-open%2Fgolitebook/lists"}