isaacs / github

Just a place to track issues and feature requests that I have for github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Large Markdown or Asciidoctor README are cut off at 512k bytes from repo front pages

cirosantilli opened this issue · comments

Minimal synthetic examples:

On the above examples, it can be seen that the README is cut off on the repo main pages at: 00000000031999, which according to wc is exactly 512000 bytes.

The blob view however shows up to the correct value of 00000000063999. Edit: as of 2020-06-04 there was an update, and now the blob view just says "Sorry about that, but we can’t show files that are this big right now.", which I'm fine with as it is a clear result. I'd rather have the cropped readme with a clear warning though.

Please either render the full thing, or give a clear warning somewhere that the README is being cut down.

I wonder if it's truly not technically feasible to render it somehow, since the corresponding github pages of those websites render fine: https://************.com/linux-kernel-module-cheat/ I know this is a dynamic website, but maybe there's a way.

Real world examples:

Oh, and the blame unicorns "This page is taking way too long to load": https://github.com/************/linux-kernel-module-cheat/blame/d6d7f15c912ed6371c8cf15a93f43488d6fc5efb/README.adoc (archive).