{"id":19153380,"url":"https://github.com/leetcode-opensource/image-trick","last_synced_at":"2025-09-09T02:32:29.094Z","repository":{"id":96867001,"uuid":"166186208","full_name":"LeetCode-OpenSource/image-trick","owner":"LeetCode-OpenSource","description":"Hide some messages into a image","archived":false,"fork":false,"pushed_at":"2023-04-07T10:09:25.000Z","size":168,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T20:21:23.622Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/LeetCode-OpenSource.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":"2019-01-17T08:07:19.000Z","updated_at":"2021-07-27T08:35:30.000Z","dependencies_parsed_at":"2023-04-18T20:17:29.456Z","dependency_job_id":null,"html_url":"https://github.com/LeetCode-OpenSource/image-trick","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LeetCode-OpenSource/image-trick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetCode-OpenSource%2Fimage-trick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetCode-OpenSource%2Fimage-trick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetCode-OpenSource%2Fimage-trick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetCode-OpenSource%2Fimage-trick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeetCode-OpenSource","download_url":"https://codeload.github.com/LeetCode-OpenSource/image-trick/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetCode-OpenSource%2Fimage-trick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274232754,"owners_count":25246059,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T08:22:55.212Z","updated_at":"2025-09-09T02:32:28.752Z","avatar_url":"https://github.com/LeetCode-OpenSource.png","language":"JavaScript","readme":"# image-trick\n\nHide some messages into a image\n\n```\n➜  image-trick git:(master) ✗ yarn start -h\nyarn run v1.12.0\n$ node src/index.js -h\nUsage: index [options]\n\nOptions:\n  -V, --version        output the version number\n  -i, --image \u003cimage\u003e  set source image, e.g. https://abc.com/d.jpg\n  -t, --text \u003ctext\u003e    set shown text\n  -s, --spliter \u003cs\u003e    set spliter\n  -c, --codec \u003cc\u003e      set codec, default: \"hex,base64\", accept: [hex, base64, jwt] e.g. \"hex,jwt\"\n  -H, --height \u003ch\u003e     set height, e.g. 40 or 50%, and width will be computed to keep aspect ratio\n  -h, --help           output usage information\n```\n\nGenerate a ascii image containing encoded messages:\n\n```\n$ yarn start -H 20 --text hohoho --codec hex,base64\n\nUsed args:\n--------------------\n- image: https://upload.wikimedia.org/wikipedia/commons/d/d9/Edsger_Wybe_Dijkstra.jpg\n- text: hohoho\n- spliter: //////\n- codec: hex,base64\n--------------------\n\n----------------\ncode: Njg2ZjY4NmY2ODZm\ndecoded: hohoho\n----------------\n\nfetching and generating...\n```\n\n![generated file](./assets/generated.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleetcode-opensource%2Fimage-trick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleetcode-opensource%2Fimage-trick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleetcode-opensource%2Fimage-trick/lists"}