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

Dynamic projects #4

Open
Moosems opened this issue Dec 12, 2023 · 5 comments
Open

Dynamic projects #4

Moosems opened this issue Dec 12, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@Moosems
Copy link
Member

Moosems commented Dec 12, 2023

Finds names of all public repos and dynamically creates the page from the app readme. For images for the apps we should make sure that all repos have a images/demo_img.png for the website to pull.

@Moosems Moosems self-assigned this Dec 12, 2023
@Moosems Moosems added the enhancement New feature or request label Dec 12, 2023
@im-coder-lg
Copy link
Member

im-coder-lg commented Dec 13, 2023

This clearly would have to implement GitHub APIs, but is the data request quota(like 10k requests or so) on our(owner/repo/website) side or the client's?
By client I mean a browser ofc

@Moosems
Copy link
Member Author

Moosems commented Dec 13, 2023

Who said you need GitHub APIs? Whatever happened to web scraping?

@im-coder-lg
Copy link
Member

Seriously not understanding web scraping here. How are you going to implement this in such a way that it wouldn't be limited by number of queries, or something else?

@Moosems
Copy link
Member Author

Moosems commented Dec 15, 2023

An API call is made every time you request a website. This API call requires no API key or anything. To use the API alone, you are limited by queries and are required a key. Therefore: requesting a webpage and then parsing the file returned allows for infinitely more calls to GH than a free API key. This, however, does have a negative side effect: a massive slowdown. If this is something we cannot tolerate, we could perform all actions through a server that keeps track of all this data and updates ever week or so. This would include the members of the group, the projects publicly available, and a files for each project (the readme parsed to html, the image, and the base html document for the JS to push everything into).

@Moosems
Copy link
Member Author

Moosems commented Dec 15, 2023

Downside to this is it can only update periodically so API calls don't get out of hand.

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