{"id":24308866,"url":"https://github.com/tirth063/spring-image-forge","last_synced_at":"2025-03-06T20:17:14.871Z","repository":{"id":269393139,"uuid":"907257090","full_name":"tirth063/spring-image-forge","owner":"tirth063","description":"A powerful Spring Boot REST API for dynamic image generation, perfect for placeholders, mockups, and testing environments.","archived":false,"fork":false,"pushed_at":"2024-12-23T08:05:23.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T05:11:56.356Z","etag":null,"topics":["2d-graphics","api","backend","developers","image-api","image-processing","java","open-source","placeholder-image","programming","rest-api","springboot","web-development"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tirth063.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-23T07:20:58.000Z","updated_at":"2024-12-23T09:25:36.000Z","dependencies_parsed_at":"2024-12-23T09:22:08.399Z","dependency_job_id":"91d6bac5-964b-4245-a508-1e73f698cdea","html_url":"https://github.com/tirth063/spring-image-forge","commit_stats":null,"previous_names":["tirth063/spring-image-forge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirth063%2Fspring-image-forge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirth063%2Fspring-image-forge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirth063%2Fspring-image-forge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tirth063%2Fspring-image-forge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tirth063","download_url":"https://codeload.github.com/tirth063/spring-image-forge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277696,"owners_count":20101545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2d-graphics","api","backend","developers","image-api","image-processing","java","open-source","placeholder-image","programming","rest-api","springboot","web-development"],"created_at":"2025-01-17T05:11:48.644Z","updated_at":"2025-03-06T20:17:14.839Z","avatar_url":"https://github.com/tirth063.png","language":"Java","readme":"# 🖼️ SpringImageForge | Dynamic Image Generator API\n\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Spring Boot](https://img.shields.io/badge/Spring%20Boot-3.2.0-brightgreen.svg)](https://spring.io/projects/spring-boot)\n[![Java](https://img.shields.io/badge/Java-21-orange.svg)](https://www.oracle.com/java/)\n[![REST API](https://img.shields.io/badge/REST%20API-v2-blue.svg)](https://swagger.io/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)\n\n\u003e 🚀 A powerful, lightweight Spring Boot REST API for dynamically generating placeholder images, perfect for mockups, prototypes, and testing environments.\n\n## ✨ Features\n\n- 🎨 Multiple image formats (PNG, SVG, JPEG, GIF, WebP)\n- 📱 Retina display support (@2x, @3x)\n- 🎯 Custom dimensions with smart defaults\n- 🌈 Dynamic color customization (hex codes \u0026 color names)\n- 📝 Custom text with multi-line support\n- ⚡ High-performance image generation\n- 🛡️ Built-in error handling and validation\n- 📊 RESTful API design\n\n## 🚀 Quick Start\n\n### Prerequisites\n- Java 21 or higher\n- Maven 3.6+ or Gradle 7.0+\n- Spring Boot 3.2.0+\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/yourusername/spring-image-forge.git\n\n# Navigate to project directory\ncd spring-image-forge\n\n# Build the project\nmvn clean install\n\n# Run the application\nmvn spring-boot:run\n```\n\n## 🎯 API Usage\n\n### Base URL\n```\nhttp://localhost:8080/api/v2\n```\n\n### Generate Default Image\n```http\nGET /generate\n```\n\n### Generate Custom Image\n```http\nGET /generate/{width}x{height}[/{bgColor}][/{textColor}][.{format}]\n```\n\n### Examples\n\n1. Basic Image (300x150):\n```\n/generate/300x150\n```\n\n2. Custom Colors:\n```\n/generate/600x400/FF0000/FFFFFF\n```\n\n3. Retina Display:\n```\n/generate/600x400@2x\n```\n\n4. Custom Text:\n```\n/generate/600x400?text=Hello+World\n```\n\n5. SVG Format:\n```\n/generate/600x400.svg\n```\n\n## 🎨 Supported Features\n\n### Image Formats\n- PNG (default)\n- SVG (vector graphics)\n- JPEG/JPG\n- GIF\n- WebP\n\n### System Fonts\n- serif\n- sans-serif\n- monospace\n- dialog\n- dialoginput\n\n### Color Formats\n- Hex codes (#FF0000)\n- Color names (red, blue, etc.)\n- Default fallback colors\n\n## 🔧 Configuration\n\n```yaml\n# application.properties or application.yml\nspring:\n  application:\n    name: spring-image-forge\nserver:\n  port: 8080\n```\n\n## 🛠️ Technical Details\n\n### Architecture\n- RESTful API design\n- Spring Boot 3.x\n- Java AWT for image processing\n- SVG generation support\n- Error handling middleware\n- Input validation\n- Logging implementation\n\n### Performance\n- Lightweight response payloads\n- Optimized image generation\n- Caching support\n- Memory-efficient processing\n\n## 📚 Use Cases\n\n1. **Development \u0026 Testing**\n   - Placeholder images for prototypes\n   - UI/UX mockups\n   - Design system testing\n\n2. **Content Management**\n   - Dynamic banner generation\n   - Thumbnail creation\n   - Social media assets\n\n3. **E-commerce**\n   - Product image placeholders\n   - Category thumbnails\n   - Banner generation\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=tirth063/spring-image-forge\u0026type=Date)](https://star-history.com/#tirth063/spring-image-forge\u0026Date)\n---\n## 🔗 Related Projects\n\n- [Spring Boot Bill-Generation-System](https://github.com/tirth063/Bill-Generation-System)\n- [Spring Boot Sale Campaign System](https://github.com/tirth063/Sale-Campaign-System)\n- [Java-Servlet-and-MySQL Sign-in and Sign-up](https://github.com/tirth063/-User-Registration-and-Login-System-using-java-Servlet-and-MySQL)\n\n---\n\nMade with ❤️ by [Tirth R. Patel](https://github.com/tirth063)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirth063%2Fspring-image-forge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftirth063%2Fspring-image-forge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirth063%2Fspring-image-forge/lists"}