A single-file simple image placeholder generator tool to create placeholder images for your projects and websites. This project is built with Go and Fiber
Features • Usage • Installation • API • Todo • Contributing • Acknowledgments • License
- 📋 Dynamic placeholder image generate via parameters and query
- ✅ Supports custom width, height, and background color
- 🌐 User-friendly web interface for easy testing and usage
Method | Endpoint | Description |
---|---|---|
GET | /readyz |
Health check endpoint |
GET | /:format/:width/:height/:text |
Generate a placeholder image with the specified width, height, and text |
Parameter | Description | Default |
---|---|---|
format |
Image format (png, jpg, jpeg) | |
width |
Image width in pixels | 150 |
height |
Image height in pixels | 150 |
text |
Text to display on the image | width x height |
# Generate a 300x300 placeholder image with the text "Hello World"
https://placeholder.iamickdev.com/svg/300/300/Hello%20World
Access the intuitive web interface by navigating to placeholder.iamickdev.com
- Add support for custom text
- Add support for custom font size
- Add support for custom font family
- Add support for custom border radius
- Add support for custom border size
- Clone this repository:
git clone https://github.com/arnonsang/image-placeholder.git
- Navigate to the project directory:
cd image-placeholder
- Install the dependencies:
go mod tidy
- Start the server:
go run .
- Access the application at
http://localhost:4000
in your browser or use the API endpoints directly.
- Go - The programming language powering the server
- Fiber - Express-inspired web framework for Go
- Tailwind CSS - A utility-first CSS framework for rapid UI development
Contributions, issues, and feature requests are welcome! Feel free to check issues page or open pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
We'd like to tip our hats to:
- The awesome folks at favicon.io for their fantastic favicon generator. It's made our app look snazzy!
Your resources have been invaluable in making this project shine. Thank you! 🌟
Made with ❤️ by iamickdev
- Website: www.iamickdev.com
- Github: @arnonsang