Giter Site home page Giter Site logo

somsubhra / github-release-stats Goto Github PK

View Code? Open in Web Editor NEW
523.0 523.0 84.0 612 KB

Get the latest release stats of your project on Github

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

License: MIT License

CSS 16.22% HTML 34.20% JavaScript 49.58%

github-release-stats's People

Contributors

ademkoc avatar marceloavf avatar phrozenbyte avatar somsubhra 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  avatar

github-release-stats's Issues

repo search not working correctly

If you enter an org or user, you'll get some proposals for matching repos within that org based on what you type. It's like a search within all available repos for that user/org.

But it has some issue.
Typing nod or node won't find you the node repo within the nodejs org:
search

Don't display input user/repo boxes in "result" page

Let's say I want to embed your superb stats into my project readme. So I user for example this link.

Could you please tweak the look if this "result" page so that it does not include the top "Enter project details..." section and starts directly with the results section?

Maybe just replace the top section with some kind of smaller button "Search another repo...".

Or perhaps just to make sure that page scrolls down to first release in "results" section when link to direct repo results is used?

BTW: Nice project, it was the last piece of stuff I needed to fully switch to GitHub which is better than BitBucket.

Total downloads and pagination

With the recent introduction of pagination the "Total downloads" now appears to only accumulate the downloads of the releases in the currently displayed page.

Could you bring back the total across all releases, perhaps naming it "grand total"?

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 - Somsubhra/github-release-stats

Connections to the web page fail

I'm no longer able to connect to the web site, Firefox complains about security:

Secure Connection Failed

An error occurred during a connection to somsubhra.com. PR_END_OF_FILE_ERROR

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

Safari has a similar problem.

Container size - could it automatically expand for longer file names?

Hi,

I have a little problem with your page (very useful, otherwise). My releases use files with quite long names, which do not fit the container.

Please take a look at:

https://www.somsubhra.com/github-release-stats/?username=gnu-mcu-eclipse&repository=arm-none-eabi-gcc

My skills at CSS are minimal, so I'm not able to suggest a PR, but could you think of a solution to make the container automatically expand to fit longer file names?

Thank you!

Per-user statistics

Hi. I use github-release-stats regularly, it's a very nice service.
A suggestion: Perhaps it would be interesting to be able to enter a github user name, and see the most popular repositories of that user, repositories with the most downloads first.

Not an issue but a thanks

I have been trying to find an easy way to do this. You did. Thank you. This was just what I needed.

Release ordering wrong

Here an example:
ordering wrong
The beta of v2.5.0 got obviously released before the full release and should be ordered second here. No matter if it's a pre-release or not.
In this example the full release might got drafted before the beta.16 was created. This still shouldn't happen.

At GitHub releases it's displayed in correct order for tags and releases:
releases-tags

Releases should be always sorted by "release date" (aka "published") in the first place!

(This might be related to #13)

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).

Support direct links to repo stats

It would be cool if we could get direct links to repo.
Add to url usename and repo when "Get the latest release stats" clicked and handle it url params on page loaded.

Thanks!

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)?

Widget for personal website

It would be great to have the possibility of generating a widget with some of the release information, for instance the number of total downloads.

no issue ...

... just want to say thank you for this really handy and nice tool, very useful !!!

I try to add a pull request for the recently added Total Downloads feature to have it on top of the page, for me this would be more convenient for large projects with many releases ... ;-)

improve readability/viewability of stats

Right now, if you have longer file names you get a not so pretty line break which destroys good readability and messes around with consistency/uniformity a lot.

Since the "Last updated" information is in a new line anyway, just go with something like this?

filename
Last updated on 2017-05-21 โ€” Downloaded 200 times

This will be uniform even for large download numbers, don't use up more space than the current version and always provides the information on the same location!

The API call you are using is not correct

According to GitHub documentation, the API call you are using will only returns the first 30 items by default. You are not supporting pagination.

You need to modify your API call by this one for example:

https://api.github.com/repos/username/reponame/releases?page=1&per_page=1000000

File size reported incorrectly

File size is reported in "MB" which I expected to mean megabytes. Instead, it is actually millions of bytes. Since there are 1024 bytes in a kB and 1024 kB in a MB, the correct size in megabytes is the number of bytes divided by 1048576.

not working

once i enter my username and password, the application just closes and doesn't provide and output or any further information

Get complete release stats

Hi,
In my fork, I explicetly hacked your great tool to get all 100000 releases in order to have complete stats on my Marlin-renderer project since 2013:

// Callback function for getting release stats
function getStats() {
    var user = $("#username").val();
    var repository = $("#repository").val();

    var url = apiRoot + "repos/" + user + "/" + repository + "/releases?page=1&per_page=1000000";
    $.getJSON(url, showStats).fail(showStats);
}

I noticed you added pagination, but is it possible to select 'All (slow)' ?

.zip and .tar.gz statistics

It would be possible to implement the funcinality of showing up the .zip and .tar.gz statistics?.

Thanks in advance.

LICENSE?

Please add a LICENSE file with an open source license :)

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.