Giter Club home page Giter Club logo

melodyjerry / glance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from timothyye/glance

0.0 0.0 0.0 5.61 MB

一款基于命令行文本小说阅读工具,996与10107程序员摸鱼划水必备神器。一款基于命令行的文本小说阅读工具,996 与 10107 程序员摸鱼划水必备神器。该开源项目使用 Go 开发,无需额外运行时和依赖库。支持Boss Key,方便紧急情况下对界面隐藏和伪装。支持自动定时翻页模式

License: Apache License 2.0

Go 90.78% Makefile 9.22%

glance's Introduction

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

glance's People

Contributors

timothyye avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.