Skip to content

yahya-saad/Image-Faker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Faker

main image

nodejs express express

Table of Contents

About The Project

ImageFaker lets you make images instantly, and it's totally free! Craft your images on the fly with speed and ease.

preview.mp4

📔 Documentation

Size

https://imgfaker.onrender.com/400x600
https://imgfaker.onrender.com/400/600

height is optional, useful for creating a square:

https://imgfaker.onrender.com/600

Colour

Specify background and text colours using hex values

https://imgfaker.onrender.com/400/600/eee/999

using CSS names

https://imgfaker.onrender.com/600/400/green/white

Also you can combine both

https://imgfaker.onrender.com/600/400/orange/fff

Text

Specify text using query string

https://imgfaker.onrender.com/600/400?text=imageFaker

Font

Specify font using query string

https://imgfaker.onrender.com/600/400?font=lora

The following fonts are available , default Roboto

More Examples

https://imgfaker.onrender.com/600x400/navy/eee?text=example
https://imgfaker.onrender.com/600/400/059669/ecfdf5?font=Raleway&text=example

https://imgfaker.onrender.com/600/400/be185d/white?font=Oswald

🏃 Run Locally

Clone the project

  git clone https://github.com/yahya-saad/Image-Faker

Go to the project directory

  cd project-directory

Install dependencies

  npm install

Start the server

  npm start

Finally, I'd like to acknowledge the inspiration drawn from placehold.co for this project.

linkedin