Coder Social home page Coder Social logo

tooomm / github-release-stats Goto Github PK

View Code? Open in Web Editor NEW

This project forked from somsubhra/github-release-stats

65.0 65.0 12.0 631 KB

GitHub release stats API queries at https://tooomm.github.io/github-release-stats

Home Page: https://tooomm.github.io/github-release-stats

License: MIT License

CSS 10.67% HTML 32.09% JavaScript 57.24%

github-release-stats's People

Contributors

phrozenbyte avatar somsubhra avatar theolaa avatar tooomm 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

Watchers

 avatar  avatar  avatar

github-release-stats's Issues

allow for relative linking inside the stat page

link releases

link could be e.g.: https://tooomm.github.io/github-release-stats/?username=Cockatrice&repository=Cockatrice&tag=2017-05-05-Release-2.3.17
and should jump to the correct release stats on the github-release-status page

same handling as on github wiki or readme files for headlines would be neat:

  • hover of release "area" or anker area should highlight anker logo
  • click on it will jump to that release within the page (reload page on that new link)
  • you can copy and paste the address bar to share it

different pages for repos with a lot of releases

split releases into several pages for very big repos

helps with loading time and scrolling/finding particular releases
split by years and/or just every 10-20 releases for example

or:
only show last pre-release and last normal release
and hide releases older than 2y (button to load more)

show count of days since release

Instead showing Published: 2017-10-20,
it could be Published: 2017-10-20 (38 days ago)

(Or the other way around, e.g. Published: 38 days ago (2017-10-20))

This would help with quickly parsing the age and better understand the up-to-dateness of a release.
Maybe only show for most recent release (or/and most recent pre-release instead, if available)?

Website does not respond to new requests

Sorry if this is the wrong place to report this, but the instance of this project hosted at https://tooomm.github.io/github-release-stats/ seems to have stopped responding to new requests since yesterday. Instead it just shows the loader.gif animation.

I want to add that this tool has provided me many usage insights in the status of my projects, as well as a quick method of verifying that new releases are properly accessible. So thank you for hosting it!

add combined download count per release

release x
artifact1 = 100 downloads
artifact2 = 22 downloads

--> downloads for release x: 122


Just the same as the all time download count for all releases in total works.

properly differentiate between releases and pre-releases

Releases and Pre-Releases are treated the same.
If you published a Pre-Release it will show up as Latest Release in the repo statistics, which is something else in GitHub terms.

It would be cool to differentiate between them and tag releases and pre-releases differently (same as GitHub does).

icons and branding updates

  • github logo upper right
  • page name and logo upper left
  • uniformity favicon and branding/logo
  • icons for release, tag and dl info etc. more similar style (all more transparent or all more bold)

  • Stats --> Statistics / Analytics ...

  • loading icon a bit more central (vertically) --> not as low
  • loading circle is also displayed if main page is just reloading/refreshed without a querry

  • remove/hide username+repo box after searching
    --> move or display in header instead?

  • home icon somewhere?
  • link back to easily visit queried repo

(list of random thoughts, subject to changes at any point)

add "Release Name" as headline, above release tag

IDEA: Release Tag is now the main information to separate releases

Many repos use code names or extend the semver tag to add the application name etc.
Might look cleaner and just more appropriate to have that as headline on the top instead.

Would have to be tested.
What do people actually use? Do they put the same information for name and tag?

Could also be a line in Release Info instead!
(Then, only show if different than release tag: linking c5b9a11)

Hint for releases with no downloads

Change "undefined" hint to something more useful like "No download assets for this release available" for example.

untitled


Hiding such releases altogether is probably not a good practice.

Update document title with user/repository

Would be nice to have the title updated once the repository is selected.
This way when it's added as a bookmark it would include it already (currently I have to update the title manually).
Would also make it easier to identify different repositories while switching tabs

Eg.
GitHub Release Stats

would become

GitHub Release Stats - tooomm/github-release-stats

improve readme

  • add example link and pic
  • explain no search option (not yet there)

enter doesnt work to start search

Enter doesn't swap the input cursor from the name field to the repo field.

Additionally, it doesn't confirm your data and activate the search button to display the results once you're done.

change "release info" order

better overview and priotizing of important information.

Now it's:

  Release Info:

      Release Author: ZeldaZach
      Published on: 2017-06-29
      Downloads: 982

could be:

  Release Info:

      Published on: 2017-06-29
      Release Author: ZeldaZach
      Downloads: 982

align tag names after line breaks

Long tag names lead to names separated over two lines:
untitled


Right now, a new line starts at the position of the "tag" icon.
Should continue aligned to the tag name!

Better to not break at all? Or lower font size? Tags might just not be that big anyway...

wrong total download count if more than 100 releases

hi,

i think the total download count shown is wrong, due to the api not responding with the full sets of releases.
If a project has more than 100 releases, the api needs additional parameter for paginated results, example:

$ curl -s https://api.github.com/repos/abbbi/virtnbdbackup/releases | jq .[].name | wc -l
30
$ curl -s https://api.github.com/repos/abbbi/virtnbdbackup/releases?per_page=1000 | jq .[].name | wc -l
100

$ curl -s https://api.github.com/repos/abbbi/virtnbdbackup/releases?per_page=1000 | egrep 'download_count'  | cut '-d:' -f 2 | sed 's/,/+/' | xargs echo | xargs -I N echo N 0  | bc
2292
 $ curl -s https://api.github.com/repos/abbbi/virtnbdbackup/releases | egrep 'download_count'  | cut '-d:' -f 2 | sed 's/,/+/' | xargs echo | xargs -I N echo N 0  | bc
1744

show percentage distribution for downloads over different assets for a release

This would help to understand e.g. the user base better.

Downloads: 100 000

- Asset A
Last updated on 2021-01-26 — Downloaded 75 000 times (75,0%)
- Asset B
Last updated on 2021-01-26 — Downloaded 20 400 times (20,4%)
- Asset C
Last updated on 2021-01-26 — Downloaded 5 600 times (4,6%)

Or show a tooltip with such additional information when hovering an asset in the list of downloads.

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.