Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes not working #74

Closed
sant527 opened this issue Sep 9, 2019 · 3 comments
Closed

Sometimes not working #74

sant527 opened this issue Sep 9, 2019 · 3 comments

Comments

@sant527
Copy link

sant527 commented Sep 9, 2019

I have a README.md

I wanted to create TOC

wget https://raw.githubusercontent.com/ekalinin/github-markdown-toc/master/gh-md-toc
chmod a+x gh-md-toc
cat README.md | ./gh-md-toc -

Sometimes it shows the contents, but sometimes it return blank. I cant understand why sometimes it works and sometimes not

@ekalinin
Copy link
Owner

ekalinin commented Sep 9, 2019

Hey @sant527

It seems like you're exceeding GitHub API Limit.
Please, take a look here:

@sant527
Copy link
Author

sant527 commented Sep 9, 2019

I found that my file size is more than 400kb. The program it didnt shown any messages. When i looked at the source code then i found that.

User limit is 60 requests per hour. and with OAuth is 5000 requests per hour

Thank you

@sant527
Copy link
Author

sant527 commented Sep 9, 2019

Also i am trying to create a personal access token to use this app.

Which scopes i have to accept or tick to access this api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants