{"id":28221018,"url":"https://github.com/feri-irawan/fiimage","last_synced_at":"2025-06-10T11:32:22.267Z","repository":{"id":119692881,"uuid":"583407754","full_name":"feri-irawan/fiimage","owner":"feri-irawan","description":"Resize image, create video thumbnail, and create open graph image for your website.","archived":false,"fork":false,"pushed_at":"2023-10-27T14:01:40.000Z","size":400,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"2.0","last_synced_at":"2025-05-18T05:15:27.008Z","etag":null,"topics":["generator","hacktoberfest","image","image-resize","og-image","open-graph","resize","resize-image","screenshot","thumbnail","video","video-thumbnail","web-capture","web-screenshot"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feri-irawan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-12-29T17:29:26.000Z","updated_at":"2024-07-15T19:26:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"95ae57c1-9a4a-471a-9bcb-3677bc8ad335","html_url":"https://github.com/feri-irawan/fiimage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feri-irawan%2Ffiimage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feri-irawan%2Ffiimage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feri-irawan%2Ffiimage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feri-irawan%2Ffiimage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feri-irawan","download_url":"https://codeload.github.com/feri-irawan/fiimage/tar.gz/refs/heads/2.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feri-irawan%2Ffiimage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259066856,"owners_count":22800218,"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":["generator","hacktoberfest","image","image-resize","og-image","open-graph","resize","resize-image","screenshot","thumbnail","video","video-thumbnail","web-capture","web-screenshot"],"created_at":"2025-05-18T05:15:20.362Z","updated_at":"2025-06-10T11:32:22.241Z","avatar_url":"https://github.com/feri-irawan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fiimage\n\nResize image and create a thumbnail of a video, made with ❤ by Feri Irawan at 28/12/2022\n\n## Resize Image\n\n```\nGET /\n```\n\nThe query strings are:\n\n| Name           | Description                                        |\n| -------------- | -------------------------------------------------- |\n| `url`          | The Image URL                                      |\n| `s` (optional) | The size will be generate. For example `s=100x100` |\n\n### Auto Width\n\nYou can use the `?` mark, like this: `s=?x200`. This means the width will be auto and the height will be `200px`.\n\nExample:\n\n```\nhttps://fiimage.vercel.app?s=?x200\u0026url=https://images.unsplash.com/photo-1518791841217-8f162f1e1131\n```\n\nOutput:\n\n![Cat](https://fiimage.vercel.app/?s=?x200\u0026url=https://images.unsplash.com/photo-1518791841217-8f162f1e1131)\n\n### Auto Height\n\nSimilar to [auto width](#auto-width), you can also use the `?` mark, like this: `s=200x?`\n\nExample:\n\n```\nhttps://fiimage.vercel.app?s=200x?\u0026url=https://images.unsplash.com/photo-1518791841217-8f162f1e1131\n```\n\nOutput:\n\n![Cat](https://fiimage.vercel.app/?s=200x?\u0026url=https://images.unsplash.com/photo-1518791841217-8f162f1e1131)\n\n### Force width and height\n\nYou can use `s=300x200`, that means the width will be `300px` and height will be `200px`.\n\nExample:\n\n```\nhttps://fiimage.vercel.app?s=300x200\u0026url=https://images.unsplash.com/photo-1518791841217-8f162f1e1131\n```\n\nOutput:\n\n![Cat](https://fiimage.vercel.app/?s=300x300\u0026url=https://images.unsplash.com/photo-1518791841217-8f162f1e1131)\n\n## Generate Video Thumbnail\n\n```\nGET /\n```\n\nThe query strings are:\n\n| Name           | Description                                                                    |\n| -------------- | ------------------------------------------------------------------------------ |\n| `url`          | The Video URL                                                                  |\n| `s` (optional) | The thumbnail size (similar to [image resize](#resize-image))                  |\n| `t` (optional) | The time (in seconds) of the video that will be used to generate the thumbnail |\n\nExample:\n\n```\nhttps://fiimage.vercel.app/?s=300x?\u0026t=5\u0026url=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4\n```\n\nOutput:\n\n![Big Buck Bunny](https://fiimage.vercel.app/?s=300x?\u0026t=5\u0026url=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4)\n\n## Create a Open Graph Image (og:image)\n\n```\nGET /og\n```\n\nThe query strings are:\n\n| Name                  | Description                                                            |\n| --------------------- | ---------------------------------------------------------------------- |\n| `url`                 | The your web URL (must be start with `https://` or `http://` protocol) |\n| `template` (optional) | The template (for now you can choose `0` or `1`), default: `0`         |\n\nExample:\n\n```\nhttps://fiimage.vercel.app/og?url=https://github.com/feri-irawan/fiimage\n```\n\nOutput:\n\n![Open Graph Image](https://fiimage.vercel.app/og?url=https://github.com/feri-irawan/fiimage)\n\nUsing template: `1`\n\n![Open Graph Image](https://fiimage.vercel.app/og?template=1\u0026url=https://github.com/feri-irawan/fiimage)\n\n\u003e Stay tuned for the new template :)\n\n## Contribution\n\nIf you wish to contribute to this project, please create a pull request and follow the contribution guidelines.\n\n## License\n\nThis project is licensed under the MIT license.\n\nThank you, and hope it proves useful. Feel free to report issues or provide suggestions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferi-irawan%2Ffiimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferi-irawan%2Ffiimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferi-irawan%2Ffiimage/lists"}