Shenanigans to make my README.md hip and cool.
wip!
Serves a random image redirect (/api/random-photo) meant to be embedded in
a GitHub profile README as an <img> source, so the photo appears random on
each view.
- Edit
api/random-photo.js:- Replace the URLs in
IMAGESwith your own image URLs. - Set
FALLBACK_IMAGEto an image you're confident will always exist.
- Replace the URLs in
- Deploy to Vercel.
- In your profile README, use:
<img src="https://YOUR-PROJECT.vercel.app/api/random-photo" width="300" />