-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add option to ignore lines from certain files #122
Comments
Changing to the tokei api may help. They even have badges, and ignore code comments in a ton of languages. |
Interesting idea. Thanks man |
Thanks for the assignment; I appreciate the gesture! I don't know that I'll be able to put much time into this, but I'll see what I can do. |
@Lazerbeak12345 let's keep in touch regarding this task. I want to make it too. It would be great feature) |
I played around with their badges api and discovered that it usually works on smaller repos such as:
But it often either takes a long time to load, or just never resolves for larger repos, such as chromium: . ( You may need to wait a bit for these images to load, if they load at all. (I've been getting 502 errors) |
Ohh, that's great. I will keep in mind. |
Just thought i'd look at making this happen, and I've got bad news. Tokei provides an API, sure, but there's two ways of using it:
They have no api to get the actual number. This will work but it'll limit the ability to have status updates like "loading..." etc. |
Expected Behavior
I want to be able to ignore some files when calculating the repo lines (such as
package-lock.json
)Actual Behavior
Count the lines from every file
The text was updated successfully, but these errors were encountered: