A Node.js API that serves random images on your readme.
- Clone the repository with Git or download the source.
- Put your desired images on
imagesinside thesrcfolder. - Install all project dependencies with
npm iorbun i. - Run the server with
npm startorbun start.
While testing, you can use nodemon to avoid restarting manually the server whenever you changed something.
- Install
nodemonwithnpm i nodemon -gorbun i nodemon -g - Then run it with just
nodemon. With this, you can avoid restarting your server manually. Do not worry.nodemonrestarts the server whenever you changed some file.
Please read this carefully if you are really going to use this:
- Images are being served on a 1:1 aspect ratio, with the resolution being 300x300 by default. Feel free to change this if you want.
- Ignore the sample images. These are only meant to be on my personal README.
- Only requests from GitHub's Camo service are allowed.
2025 Lucas Gabriel (lucmsilva) - BSD 3-Clause