Code Monkey home page Code Monkey logo

lazyhub's Introduction

logo

lazyhub

GoDoc

:octocat: lazyhub - Terminal UI Client for GitHub using gocui.

Demo

demo

Features

  • 🚀Check the trending repositories on GitHub today
  • 🔍Search repositories
  • 📘Read the README
  • 📄Copy the clone command to clipboard
  • 💻Open the repository page on your browser

Install

Using brew

brew tap ryo-ma/lazyhub
brew install lazyhub

Using go get

go get -u github.com/ryo-ma/lazyhub

Binary Download

Binary releases are available

Usage

Run the following command.

lazyhub

Keys

  • j / DownArrow(↓) Move down a line
  • k / UpArrow(↑) Move up a line
  • q / CTRL+C Quit
  • CTRL+D Move down 5 lines
  • CTRL+U Move up 5 lines
  • x Back panel
  • Enter / r Open the README
  • c Copy the clone command to clipboard
  • o Open the repository page on your browser
  • CTRL+f Search repositories

Using API

LICENSE

Apache LICENSE 2.0

LICENSE

lazyhub's People

Contributors

ryo-ma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lazyhub's Issues

Nil pointer dereferece on darwin/amd64

Hi,

first of all, thanks for this awesome tool. I really like how you decoupled all the UI relevant stuff so it can be used somewhere else. I actually used some of the components underui/*.go to implement my own application. I really liked your "clean code" approach. And BTW: Why gocui and not tcell for example? gocui seems to have less "features".

I wanted to actually run your tool on my Mac OS and after running it I immediately got:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x133bb7a]

goroutine 1 [running]:
github.com/ryo-ma/lazyhub/lib.(*Result).Draw(0x0, 0x1486ac0, 0xc00019e200, 0x0, 0x0)
        /Users/vdorneanu/go/src/github.com/ryo-ma/lazyhub/lib/githubclient.go:125 +0x3a
github.com/ryo-ma/lazyhub/ui.(*RepositoryPanel).DrawView(0xc00018e0c0, 0xc00018c000, 0x0, 0x0)
        /Users/vdorneanu/go/src/github.com/ryo-ma/lazyhub/ui/repository.go:34 +0x178
main.main()
        /Users/vdorneanu/go/src/github.com/ryo-ma/lazyhub/main.go:42 +0x34a

I didn't have the time to do some debugging. But I guess this might as well be interesting for you.

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.