DevLeonardoCommunity / github-stats

Aggregating and displaying YOUR GitHub Stats in meaningful metrics (we learn web development in the meantime)
https://public-github-stats.vercel.app
MIT License
71 stars 37 forks source link

FIX #3 exported the json file and text data #15

Closed piyushjha0409 closed 1 year ago

piyushjha0409 commented 1 year ago

I have made export buttons on both JSON and Text, made separate functions for each format export but right now text data is not all fetched it is only downloading the first few lines. Any suggestions would be appreciated! :)

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @Balastrong on Vercel.

@Balastrong first needs to authorize it.

piyushjha0409 commented 1 year ago

Will find a solution soon :v:

Balastrong commented 1 year ago

Hey @piyushjha0409, thank you for the PR!

The JSON export looks good!

Thinking about the text export... right now it still generates some HTML tag, what do you think if we create a function that from the repositories array generates a text (newline can be /n or something like that) and then use the same function for both display and export. How does it sound to you? If it doesn't go on a new line, you can use the class whitespace-pre-line on the parent div.

We can also have a chat on Discord if you want :)