{"id":13521724,"url":"https://github.com/TimothyYe/glance","last_synced_at":"2025-03-31T20:32:43.134Z","repository":{"id":57532157,"uuid":"203316958","full_name":"TimothyYe/glance","owner":"TimothyYe","description":"一款基于命令行文本小说阅读工具，996与10107程序员摸鱼划水必备神器","archived":false,"fork":false,"pushed_at":"2019-12-02T02:31:37.000Z","size":5745,"stargazers_count":178,"open_issues_count":5,"forks_count":18,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T08:13:11.211Z","etag":null,"topics":["cli-reader","glance","txt-reader"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TimothyYe.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-08-20T06:50:11.000Z","updated_at":"2025-03-24T11:52:30.000Z","dependencies_parsed_at":"2022-09-07T04:52:56.740Z","dependency_job_id":null,"html_url":"https://github.com/TimothyYe/glance","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Fglance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Fglance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Fglance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyYe%2Fglance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimothyYe","download_url":"https://codeload.github.com/TimothyYe/glance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246536250,"owners_count":20793409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli-reader","glance","txt-reader"],"created_at":"2024-08-01T06:00:37.541Z","updated_at":"2025-03-31T20:32:40.706Z","avatar_url":"https://github.com/TimothyYe.png","language":"Go","funding_links":[],"categories":["好玩项目"],"sub_categories":["摸鱼神器"],"readme":"# Glance\n\n\u003cimg src=\"https://github.com/TimothyYe/glance/blob/master/demo/glance.png?raw=true\" width=\"120\" /\u003e\n\n一款基于命令行跨平台文本小说阅读工具，996与10107程序员摸鱼划水必备神器。\n\n![](https://github.com/TimothyYe/glance/blob/master/demo/demo.gif?raw=true)\n\n[English Version](#)\n\n## 功能亮点\n\n* 使用Go开发，无需额外运行时和依赖库。\n* 软件运行于命令行，对Vimer友好，支持Vim方式的Key Binding进行翻页和跳转。\n* 支持Boss Key，方便紧急情况下对界面隐藏和伪装。\n* 支持自动定时翻页模式\n\n## 安装步骤\n\n其实，你和摸鱼之间，只有两步的距离：\n\n```bash\nbrew tap timothyye/tap\nbrew install timothyye/tap/glance\n```\n\n注: 也可以选择[直接下载](https://github.com/TimothyYe/glance/releases)可执行文件并运行。\n\n## 支持平台\n* Mac OS\n* Linux\n* Windows (计划中)\n\n## 支持格式\n* TXT (已支持)\n* PDF (计划中)\n* epub (计划中)\n\n## 快捷键说明\n\n* `?` 显示与隐藏帮助菜单\n* `q` 或者 `ctrl+c` 退出程序\n* `j`, `ctrl+n`, `\u003cSpace\u003e` 或者 `\u003cEnter\u003e` 显示下一行内容\n* `k` 或者 `ctrl+p` 显示上一行内容\n* `p` 显示与隐藏当前阅读进度\n* `b` Boss Key，隐藏当前内容并显示伪装Shell提示符\n* `f` 显示与隐藏边框\n* `c` 切换显示字体颜色\n\n## 跳转命令\n\nGlance支持与Vim相同的快捷跳转命令，方便在阅读时快速定位以及跳转到想要阅读的位置。例如:\n\n* `G` 跳转到最后一行  \n* `50G` 跳转到第50行\n* `gg` 跳转到第一行\n* `20j` 向下跳转20行\n* `30k` 向上跳转30行\n\n## 开发环境集成展示\n\nGlance可以运行在任何支持Terminal的开发软件及环境中，包括并不仅限于JetBrains全家桶, Vim, Tmux, Emacs……\n\n* GoLand\n![](https://github.com/TimothyYe/glance/blob/master/demo/goland.png?raw=true)\n\n* Spacemacs\n![](https://github.com/TimothyYe/glance/blob/master/demo/spacemacs.png?raw=true)\n\n* VSCode\n![](https://github.com/TimothyYe/glance/blob/master/demo/vscode.png?raw=true)\n\n* Tmux\n![](https://github.com/TimothyYe/glance/blob/master/demo/tmux.png?raw=true)\n\n## Issue 与 PR\n\n欢迎提交issue与merge request。\n\n## 协议\n\n本开源软件基于[Apache License 2.0](#)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTimothyYe%2Fglance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTimothyYe%2Fglance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTimothyYe%2Fglance/lists"}