{"id":26747222,"url":"https://github.com/weirui88888/anyphoto","last_synced_at":"2026-04-24T20:36:09.056Z","repository":{"id":225288457,"uuid":"692966096","full_name":"weirui88888/anyphoto","owner":"weirui88888","description":"Photo by any inspiration.You can generate any photo that satisfies you anywhere.","archived":false,"fork":false,"pushed_at":"2024-03-01T07:30:39.000Z","size":11025,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-11T00:22:48.601Z","etag":null,"topics":["canvas","cli","customization","dynamic-images","executable","graphics","javascript","nodejs"],"latest_commit_sha":null,"homepage":"https://anyphoto.space","language":"JavaScript","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/weirui88888.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}},"created_at":"2023-09-18T04:27:51.000Z","updated_at":"2024-12-09T07:13:38.000Z","dependencies_parsed_at":"2024-03-01T08:45:59.203Z","dependency_job_id":null,"html_url":"https://github.com/weirui88888/anyphoto","commit_stats":null,"previous_names":["weirui88888/anyphoto"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/weirui88888/anyphoto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weirui88888%2Fanyphoto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weirui88888%2Fanyphoto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weirui88888%2Fanyphoto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weirui88888%2Fanyphoto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weirui88888","download_url":"https://codeload.github.com/weirui88888/anyphoto/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weirui88888%2Fanyphoto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32240143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["canvas","cli","customization","dynamic-images","executable","graphics","javascript","nodejs"],"created_at":"2025-03-28T09:17:40.189Z","updated_at":"2026-04-24T20:36:09.039Z","avatar_url":"https://github.com/weirui88888.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# AnyPhoto\n\n[中文文档👉](https://github.com/weirui88888/anyphoto/blob/main/ZH-README.md)\n\nanyphoto is a drawing tool that allows you to generate beautiful pictures anywhere,based on [node-canvas](https://github.com/Automattic/node-canvas).\n\n## Playground\n\nYou can quickly experience it in [playground](https://text2image.fun/). (This visual playground is constantly being improved, and it is more recommended to install it locally to experience it)\n\n## Examples\n\nMore cases can be viewed in [examples](https://github.com/weirui88888/anyphoto/tree/main/examples).\n\n![demo1](https://static.anyphoto.space/blog/demo1-new.png)\n![demo2](https://static.anyphoto.space/blog/demo5.png)\n\n## Install\n\nBy default, binaries for macOS, Linux and Windows will be downloaded.Caused by core package [node-canvas](https://github.com/Automattic/node-canvas)\n\nThe first installation requires compilation, so it may take a long time. If you encounter problems during the installation process, please check [install wiki](https://github.com/Automattic/node-canvas/wiki) and find the corresponding solution before installing it.\n\n```shell\nnpm install anyphoto -g\n```\n\nYou can also use it by use `npx`\n\n## Usage\n\nIt is expected to support 4 commands, currently 2 of the core are supported.\n\n### Init\n\nGenerate a configuration file, and then you can make modifications in the configuration file. This command supports creating configuration files in any directory.\n\n```shell\nanyphoto init\n```\n\nMore configuration items can be viewed at [configuration](https://www.anyphoto.space/configuration). (due to time and energy issues, the document is being continuously improved)\n\n### Generate\n\nAfter executing this command, a picture will be generated based on the configuration file generated and modified in the previous step.\n\n```shell\nanyphoto generate\n```\n\n**This command supports passing parameters and several core options. You can pass them in when executing this command. The parameters and options passed in the command line will overwrite the corresponding configuration items in the configuration file.**\n\nYou can execute `anyphoto generate --help` to view them\n\n### Github(planning)\n\nAfter generating the image, you can execute this command to upload the image to github\n\n### Show(planning)\n\nPreset templates will be supported in the future. After executing this command, you can check which templates are currently available, and you can also view sample images of the specified template.\n\n## TODO\n\n- [ ] Support more preset templates\n- [ ] Supports more \"smart\" line wrapping of content\n- [ ] Support background images\n- [ ] Improve documentation\n\n## Contact\n\nIf you are interested in this project or encounter any problems during use, you can communicate with me through WeChat ID XdzD8b\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweirui88888%2Fanyphoto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweirui88888%2Fanyphoto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweirui88888%2Fanyphoto/lists"}