2 ms·
Linkified version: https://github.com/xxhomey19/github-uploader https://github.com/xxhomey19/github-uploader. So I think this is pretty cool, because I do this
by ezekg 9y ago
Linkified version: https://github.com/xxhomey19/github-uploader https://github.com/xxhomey19/github-uploader.
So I think this is pretty cool, because I do this same thing all the time to upload images in a pinch, especially for images/files to be used within a readme.
Instead of using a fake account, hardcoding the password, and using a headless browser to do your bidding—why not just use the API endpoint GitHub is actually using to upload the files? Then you could let users use their own GitHub tokens.