cc-resource-archive icon indicating copy to clipboard operation
cc-resource-archive copied to clipboard

[Feature] GitHub API integration with resource submission form

Open Lakshay-Pruthi opened this issue 2 years ago • 5 comments

Problem

Follow up to the issue #9

Description

The alternative solution that has been suggested is to allow users to submit a pull request (PR) if they want to contribute a resource.

However, this can be a problem for non-tech-savvy users who may not be familiar with the GitHub platform. Therefore, we should consider using the GitHub API to link our custom-made form with GitHub and simplify the process for the users.

By using the GitHub API, we can authenticate users and create a pull request directly from our custom form. This will enable our users to submit their resources seamlessly without having to navigate through the GitHub platform. I think that this will improve the user experience and encourage more contributions to our resources.

Implementation

  • [x] I would be interested in implementing this feature.

Lakshay-Pruthi avatar Mar 24 '23 11:03 Lakshay-Pruthi

I don't think it's a good idea to have people create a GitHub account for submitting a resource.

asrvd avatar Mar 25 '23 06:03 asrvd

@asrvd I don't think there is any other feasible and efficient way to authenticate user. If there is any I'm open to it.

Lakshay-Pruthi avatar Mar 25 '23 06:03 Lakshay-Pruthi

You don't need to authenticate them :)

asrvd avatar Mar 25 '23 06:03 asrvd

According to me, There should be some kind of authentication otherwise it will increase the risk of spams. As you suggested, The automated bot account, which is also great but we need to use Captcha's, spam filters, etc. At the end, it is all about avoiding spam submission.

Lakshay-Pruthi avatar Mar 25 '23 07:03 Lakshay-Pruthi

I like the idea, but agree authentication is a barrier. If there was a way to do so and prevent spam it might be a solid route to go forward.

Converting to a discussion for now.

possumbilities avatar Mar 31 '23 19:03 possumbilities