• Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 5 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

一款基于命令行文本小说阅读工具,996与10107程序员摸鱼划水必备神器

Glance

一款基于命令行跨平台文本小说阅读工具,996与10107程序员摸鱼划水必备神器。

English Version

功能亮点

  • 使用Go开发,无需额外运行时和依赖库。
  • 软件运行于命令行,对Vimer友好,支持Vim方式的Key Binding进行翻页和跳转。
  • 支持Boss Key,方便紧急情况下对界面隐藏和伪装。
  • 支持自动定时翻页模式

安装步骤

其实,你和摸鱼之间,只有两步的距离:

brew tap timothyye/tap
brew install timothyye/tap/glance

注: 也可以选择直接下载可执行文件并运行。

支持平台

  • Mac OS
  • Linux
  • Windows (计划中)

支持格式

  • TXT (已支持)
  • PDF (计划中)
  • epub (计划中)

快捷键说明

  • ? 显示与隐藏帮助菜单
  • q 或者 ctrl+c 退出程序
  • j, ctrl+n, <Space> 或者 <Enter> 显示下一行内容
  • k 或者 ctrl+p 显示上一行内容
  • p 显示与隐藏当前阅读进度
  • b Boss Key,隐藏当前内容并显示伪装Shell提示符
  • f 显示与隐藏边框
  • c 切换显示字体颜色

跳转命令

Glance支持与Vim相同的快捷跳转命令,方便在阅读时快速定位以及跳转到想要阅读的位置。例如:

  • G 跳转到最后一行
  • 50G 跳转到第50行
  • gg 跳转到第一行
  • 20j 向下跳转20行
  • 30k 向上跳转30行

开发环境集成展示

Glance可以运行在任何支持Terminal的开发软件及环境中,包括并不仅限于JetBrains全家桶, Vim, Tmux, Emacs……

  • GoLand

  • Spacemacs

  • VSCode

  • Tmux

Issue 与 PR

欢迎提交issue与merge request。

协议

本开源软件基于Apache License 2.0

More Repositories

1

godns

A dynamic DNS client tool supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.
Go
1,347
star
2

skm

A simple and powerful SSH keys manager
Go
860
star
3

mydotfiles

All my dot configuration files.
Vim Script
383
star
4

ydict

Yet another command-line youdao dictionary for geeks!
Go
361
star
5

bing-wallpaper

A RESTful API to fetch daily wallpaper from Bing.com
Go
238
star
6

biturl

URL shortener service, powered by Go.
Go
116
star
7

k8s-offline

Offline installation package for kubernetes.
Shell
69
star
8

namebeta

A command line domain query tool.
Go
45
star
9

DynDNS

Dynamic DNS script tool, written by ruby.
Ruby
37
star
10

exchangerate

A command-line tool to query exchange rate.
Go
34
star
11

vim-tips-web

Source code for vim-tips.com, rewritten by Go.
Go
32
star
12

doom-emacs

My Doom Emacs configuration
YASnippet
24
star
13

bspwm-config

My bspwm configuration.
Shell
13
star
14

vim-tips

A vim plugin to show tips of vim in Vim editor.
Vim Script
10
star
15

gpool

A lightweight Goroutine pool.
Go
7
star
16

DailyVimTips

Vim tips app for iOS, powered by Swift.
Swift
7
star
17

vim-ydict

A Vim plugin for ydict
Vim Script
6
star
18

martini-paginate

A pagination plugin for go-martini web framework.
Go
3
star
19

minyx-lite-timothy

PHP
3
star
20

leetcode

My leetcode solutions by Go.
Go
2
star
21

iris-demo

Iris demo project.
Go
2
star
22

kbt

KBT 程序员键盘发烧社, an open source forum, forked from elixir-china.
Elixir
2
star
23

btc-api

Restful API for getting latest Bitcoin price
JavaScript
2
star
24

emacs

My GNU Emacs Configuration
1
star
25

alfred2-vimtips-workflow

Alfred 2 Workflow to get random vim tips from vim-tips.com
1
star