willnorris / willnorris/imageproxy
[question] is it possible to create alias for remote url
Open
Nobody has claimed this yet.
plugins
- Dominant language
- Go
- Stars
- 4k
- Forks
- 513
- PR merge metrics
- No merged PRs in 30d
Description
eg: instead of this
http://localhost:8080/500/https://octodex.github.com/images/codercat.jpg
we can create alias like octo and url will become this
http://localhost:8080/500/octo/images/codercat.jpg
Would you accept a PR for such feature? I'm not familiar with Go but I could give a try if you can point me to where to look at.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating the URL parsing and request-routing entry points in the Go image proxy, then determine how an alias would be configured and resolved. Done means the example alias produces the equivalent remote image URL and is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100