github-tools / github-tools/github
Commit an image to a gist
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 809
- PR merge metrics
- No merged PRs in 30d
Description
Can we replicate this in javascript?
https://gist.github.com/mroderick/1afdd71aa69f6b29601d335751a1a9be
When I try to write it with gist.update(...), I get a bunch of binary garbage uploaded.
I can however commit images to github with `{encode: false}`. Can a similar parameter be passed to gist.update?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the gist.update(...) entry point and compare its image handling with the GitHub commit path that accepts {encode: false}. Use the linked gist as the behavioral example; done means images are committed without binary garbage and the requested encoding option behaves consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100