{"id":16485837,"url":"https://github.com/fabsrc/they-live-placeholder","last_synced_at":"2025-09-05T20:37:54.122Z","repository":{"id":85180315,"uuid":"72951669","full_name":"fabsrc/they-live-placeholder","owner":"fabsrc","description":":sunglasses: Generates placeholder images in the style of billboards from John Carpenter's movie 'They Live'.","archived":false,"fork":false,"pushed_at":"2017-07-22T19:14:58.000Z","size":163,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T14:11:17.738Z","etag":null,"topics":["placeholder-image","they-live"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/fabsrc.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-05T20:32:23.000Z","updated_at":"2023-05-28T08:31:38.000Z","dependencies_parsed_at":"2023-08-26T06:02:41.910Z","dependency_job_id":null,"html_url":"https://github.com/fabsrc/they-live-placeholder","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"e1ebdd77e344b7ede63fb693ccdd23aea4cab923"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabsrc%2Fthey-live-placeholder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabsrc%2Fthey-live-placeholder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabsrc%2Fthey-live-placeholder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabsrc%2Fthey-live-placeholder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabsrc","download_url":"https://codeload.github.com/fabsrc/they-live-placeholder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241262288,"owners_count":19936046,"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":["placeholder-image","they-live"],"created_at":"2024-10-11T13:27:27.175Z","updated_at":"2025-02-28T22:42:12.481Z","avatar_url":"https://github.com/fabsrc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# They Live Placeholder\n\n\u003e ![:sunglasses:](https://media.giphy.com/media/gSbao9WRhhlUQ/giphy.gif)\n\nGenerates placeholder images in the style of billboards from John Carpenter's movie [*They Live*](https://www.youtube.com/watch?v=JI8AMRbqY6w).\n\n## Requirements\n\n* [GD](https://libgd.github.io/) with FreeType, JPEG and PNG libraries\n\n## Install\n\n```bash\n$ composer install\n```\n\n## Start\n\n```bash\n$ php -S 0.0.0.0:3000 index.php\n```\n\n## Usage\n\n```\nhttp://localhost:3000/{width}x{height}.{format}?text={text}\n```\n\n* `width`: Width of the image.\n* `height` *(optional)*: If omitted, a squared image will be created based on the specified width.\n* `format` *(optional)*: `png` (default), `gif` or `jpg` are valid formats.\n* `text` *(optional)*: If no text is specified, random slogans from the movie are used.\n\n\n### Examples\n\n* http://localhost:3000/300\n* http://localhost:3000/300x600\n* http://localhost:3000/900x1200.png\n* http://localhost:3000/900x1200.jpg\n* http://localhost:3000/900x1200.jpeg\n* http://localhost:3000/500.jpg\n* http://localhost:3000/500.jpg?text=Hello%20World\n* http://localhost:3000/500x700.jpg?text=Hello%20World\n\n\n#### Example Image\n\n\u003e http://localhost:3000/600x400\n\n![They Live Placeholder Example](https://raw.githubusercontent.com/fabsrc/they-live-placeholder/example/600x400.png)\n\n### Use with Apache\n\nIn order to use this script with an *Apache* server use a `.htaccess` file to redirect all requests to `index.php`.\n\n```\nRewriteEngine on\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteRule . index.php [L]\n```\n\n## License\n\nLicensed under the [MIT License](http://opensource.org/licenses/mit-license.php).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabsrc%2Fthey-live-placeholder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabsrc%2Fthey-live-placeholder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabsrc%2Fthey-live-placeholder/lists"}