Show HN: How Many Pages? – GitHub Repo-to-8.5"X11" count(howmanypages.herokuapp.com) |
Show HN: How Many Pages? – GitHub Repo-to-8.5"X11" count(howmanypages.herokuapp.com) |
If you printed each file to one page, allowing a couple files to span 2 pages, that adds up to 8. I can't imagine a way to print this repository that would need 10x the amount of pages!
Current formula is: LOC (Based on Linguist's default values) / 64 (which seemed to be about the num of lines that had shown up when opening a given file in print dialog)
With the change, your back at 1 for that repo ;).
I also tried to use directly the repository address instead of the github user, but I got an error. I know the text says explicitly "search by username" but I like to ignore the documentation and search directly https://github.com/torvalds/linux (sorry if it's too big) (consider to add some caching)
Edit: 20.392.848 pages!
and had most def had the thought of supported repo urls as well--thank you! and yes, could most def cache data for some of the more popular repos!
thanks a ton for your feedback!