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

Can't figure out how to use BlackWidow to grab and download a private github repo on a separate account #79

Open
LevitateGamer opened this issue Dec 31, 2022 · 3 comments

Comments

@LevitateGamer
Copy link

LevitateGamer commented Dec 31, 2022

Anyone willing to create the code because I have no idea on how to create it, due to me not having any coding experience with dotnet. Also I would like to do this w/o having to make it using tokens if possible as they are annoying to create

@LevitateGamer LevitateGamer changed the title Can't figure out how to use BlackWidow to grab and download a private github repo Can't figure out how to use BlackWidow to grab and download a private github repo on a separate account Dec 31, 2022
@javidsho
Copy link
Contributor

javidsho commented Jan 2, 2023

You'd just need javascript to write a grabber. The problem is that the repo provides no tool for you to test it at the moment. However it can still be tested on the browser or other environments with a slight change of code to make it compatible with BlackWidow.
Check out the wiki and samples to get an idea.

@javidsho
Copy link
Contributor

javidsho commented Jan 4, 2023

The GitHubGrabberRepository class is written to basically download the scripts that are put in here:
https://github.com/dotnettools/SharpGrabber/tree/master/blackwidow/repo/scripts

This way, the latest version of the js files is always available to the clients.
That doesn't mean that this implementation is limited to this repository only. You can change the path to another repo, or completely ditch GitHub and instead use a local folder where js files are.

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