Giter Site home page Giter Site logo

ghtop's Introduction

๐Ÿ‘‹

ghtop's People

Contributors

akiniemi avatar basemax avatar hamelsmu avatar jph00 avatar louisjrdev avatar nat avatar rozbeh avatar sevazhidkov 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ghtop's Issues

--pause option

It seems like the pause option is not included in the latest releases on PyPi.

~ is ๐Ÿ“ฆ v0.1.0 via โฌข v15.8.0 via ๐Ÿ˜ v7.3.24
โžœ ghtop -h
usage: ghtop [-h] [--include_bots] [--types TYPES] [--filt {user,repo,org}]
             [--filtval FILTVAL]
             {tail,quad,users,simple}

positional arguments:
  {tail,quad,users,simple}  Operation mode to run

optional arguments:
  -h, --help                show this help message and exit
  --include_bots            Include bots (there's a lot of them!) (default:
                            False)
  --types TYPES             Comma-separated types of event to include (e.g
                            PushEvent) (default: )
  --filt {user,repo,org}    Filtering method
  --filtval FILTVAL         Value to filter by (for `repo` use format
                            `owner/repo`)
~ is ๐Ÿ“ฆ v0.1.0 via โฌข v15.8.0 via ๐Ÿ˜ v7.3.24
โžœ ghtop simple --pause 1
usage: ghtop [-h] [--include_bots] [--types TYPES] [--filt {user,repo,org}]
             [--filtval FILTVAL]
             {tail,quad,users,simple}
ghtop: error: unrecognized arguments: --pause 1
~ is ๐Ÿ“ฆ v0.1.0 via โฌข v15.8.0 via ๐Ÿ˜ v7.3.24
โžœ pip show ghtop
Name: ghtop
Version: 0.0.8
Summary: See what is happening on GitHub in real time
Home-page: https://github.com/fastai/ghtop/tree/master/
Author: natfriedman
Author-email: [email protected]
License: MIT
Location: /usr/local/lib/python3.9/site-packages
Requires: ghapi, emoji, enlighten, py-dashing, fastcore
Required-by:

Rendering issue

If I use the quad layout ghtop is writing over the lines and creates some weird glitches.
image

My Setup:
Arch Linux, 5.13.12-arch1-1
Terminal: Kitty 0.23.1 (38 lines, 151 cols)
Bash 5.1.8
Python 3.9.6
DE: LXDE with Openbox

Feature idea: monitor just the repos started by a user

Great tool you've created - thank you!

Unless I'm being dim, I don't think there's an easy way to do this already (?)

My thinking here was that I'd like a way to watch activity on just the items I had started. Thus it would be narrowed down but at the same time targeted to repos I'm interested in.

But in theory some people might want to watch activity of the repos a designated other person had starred, so accepting a star username would seem a handy way to do it.

Effectively it would look at the items on here:
https://github.com/username?tab=stars

NoneType' object is not subscriptable

Got this error after a few seconds in the quad view. I'm on Python 3.7.

Traceback (most recent call last):
  File "/home/myuser/.local/bin/ghtop", line 10, in <module>
    sys.exit(main())
  File "/home/myuser/.local/lib/python3.7/site-packages/fastcore/script.py", line 105, in _f
    tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/home/myuser/.local/lib/python3.7/site-packages/ghtop/ghtop.py", line 154, in main
    _funcs[mode](evts)
  File "/home/myuser/.local/lib/python3.7/site-packages/ghtop/ghtop.py", line 114, in quad_logs
    if x.type in d: d[x.type].append(f(x)[:95])
TypeError: 'NoneType' object is not subscriptable

Add Support for GitHub Enterprise endpoints

I work for a company which uses GitHub Enterprise and would love to see support for Enterprise GitHub endpoints so I can see what users in my company are doing in real-time.

Any thoughts on adding in support for a configurable endpoint?

Thanks!

Text gets beyond the tables and duplicates

When running ghtop quad I get this output
image
Where you can see, the text from the PRs table go through the Issues table (same for releases and commits), and the v1.4.5 release from VRTRIX/VRTRIXGlove_Unity3D_SDK comes twice.

Feature idea: a grep for ghtop

An interesting idea I got while playing around with this repo was the ability to filter by a commit message or PR/Issue title. It would be beautiful to filter out just all commit messages that are "initial commit" or "hello world".

DevHub

Hi, this reminds me of DevHub, check it out: https://github.com/devhubapp/devhub
But I didn't add a way to see ALL events, you need to at least specify something, e.g. the org.

Closing the issue as I just wanted to mention that :)
Thanks.

image

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.