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

Ability for users to create their own end point #27

Open
guylepage3 opened this issue Apr 3, 2023 · 6 comments
Open

Ability for users to create their own end point #27

guylepage3 opened this issue Apr 3, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@guylepage3
Copy link

Is your feature request related to a problem? Please describe.
Ability for users to create their own end point as this will allow for a better UX.

Describe the solution you'd like
A node.js implementation similar to https://github.com/anuraghazra/github-readme-stats that could be deployable on https://vercel..com would be very helpful.

Additional context
Your stats are by far the most accurate I've come across. Great work!

I am currently working on using my end point, https://awesome-github-stats.azurewebsites.net/user-stats/guylepage3/rank, in order to build out a different version of your readme.md stats. See example here: https://github.com/guylepage3.

I'd really like to get a more consistent version of these stats so that I can automate them. I feel by allowing users to create their own end points will allow for a much more cost efficient and better UX.

@brunobritodev brunobritodev added the enhancement New feature or request label Apr 4, 2023
@brunobritodev
Copy link
Owner

@guylepage3

As far as I can see, there is no way to deploy an asp.net core site to vercel. I really like vercel and how easy it can be, but I tried to find ways to do that without success and every docs says there are no support

@guylepage3
Copy link
Author

@brunobritodev, I was actually asking if there was a way to just create this in javascript instead of .net. But I guess that would be difficult if you're only a .net person.

@guylepage3
Copy link
Author

@brunobritodev, your end point seems to be causing some CORS issues. Is there a way to expose your endpoints to be raw .json data?

@brunobritodev
Copy link
Owner

brunobritodev commented Apr 5, 2023

@brunobritodev, your end point seems to be causing some CORS issues. Is there a way to expose your endpoints to be raw .json data?

The new version #31 are allowing cors from any origin.

@brunobritodev, I was actually asking if there was a way to just create this in javascript instead of .net. But I guess that would be difficult if you're only a .net person.

To create a version for nodejs isn't hard, but requires a lot of work and hard time on it. But I guess it requires less effort to make a dockerfile and publish it on dockerhub, so you can easily host it in another services, like Amazon ECS, AWS Fargate or Azure Container Instance.

@guylepage3 guylepage3 mentioned this issue Apr 5, 2023
@guylepage3
Copy link
Author

guylepage3 commented Apr 9, 2023

@brunobritodev at what time does the API end point update each day? It seems to be at 16:00:00 UTC. Can we change this to 12:00:00 UTC?

@brunobritodev
Copy link
Owner

There is a 24-hour cache because the GitHub API is quite restrictive in the number of calls a token can make. Although the project is small, there is a considerable number of calls per day.

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

No branches or pull requests

2 participants