{"id":21680694,"url":"https://github.com/cleasbycode/imgprmt","last_synced_at":"2026-03-11T19:33:16.124Z","repository":{"id":227084199,"uuid":"646263046","full_name":"CleasbyCode/imgprmt","owner":"CleasbyCode","description":"JPG-HTML polyglot tool.","archived":false,"fork":false,"pushed_at":"2026-02-12T08:49:42.000Z","size":26582,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-12T17:50:34.392Z","etag":null,"topics":["ai-prompts","aiart","alt-text","bluesky-social","bsky","exif","html","image-prompt","jpg-image","mastodon","midjourney","pixelfed","polyglot-files","prompt","prompt-sharing","steganography","tumblr","turbojpeg","twitter","webpage"],"latest_commit_sha":null,"homepage":"","language":"C","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/CleasbyCode.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-27T20:10:50.000Z","updated_at":"2026-02-12T08:49:46.000Z","dependencies_parsed_at":"2024-04-16T09:48:04.876Z","dependency_job_id":"ad242736-4265-4fcb-a6cc-1bb1ecb9bb46","html_url":"https://github.com/CleasbyCode/imgprmt","commit_stats":null,"previous_names":["cleasbycode/imgprmt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CleasbyCode/imgprmt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fimgprmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fimgprmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fimgprmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fimgprmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleasbyCode","download_url":"https://codeload.github.com/CleasbyCode/imgprmt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fimgprmt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30395638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T18:46:22.935Z","status":"ssl_error","status_checked_at":"2026-03-11T18:46:17.045Z","response_time":84,"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":["ai-prompts","aiart","alt-text","bluesky-social","bsky","exif","html","image-prompt","jpg-image","mastodon","midjourney","pixelfed","polyglot-files","prompt","prompt-sharing","steganography","tumblr","turbojpeg","twitter","webpage"],"created_at":"2024-11-25T15:20:03.304Z","updated_at":"2026-03-11T19:33:16.107Z","avatar_url":"https://github.com/CleasbyCode.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imgprmt\n\nUse the CLI tool ***imgprmt*** to embed an AI image ***text prompt/description*** within a ***JPG*** image.  \n\nThe program outputs a separate ***JPG+HTML*** polyglot image file. You can then share the image on a number of social media sites, such as ***X/Twitter***, ***Tumblr***, ***Mastodon***, ***Flickr*** \u0026 ****Bluesky***.  \n\nThese platforms will retain the embedded prompt, so that it's available to anyone who downloads your image.   \n\n*You can try the [***imgprmt Web App, here,***](https://cleasbycode.co.uk/imgprmt/app/) if you don't want to download and compile the CLI source code.*  \n\n***If you intend to share your prompt-embedded image on ***Bluesky***, you ***must*** first add the ***-b*** option to the CLI arguments (*PS G:\\demo\u003e .\\imgprmt -b my_image.jpg*). Secondly, to post the image on ***Bluesky***, you will need to use the ***bsky_post.py*** python script (*located in the repo src folder*). An App-Password is also required to use with the python script, which you can create from your Bluesky account (https://bsky.app/settings/app-passwords). Prompt-embedded images created with the -b (Bluesky) option are only compatible for posting on the ***Bluesky*** platform. Image file size limit for Bluesky is 1MB.**\n\n![Demo Image](https://github.com/CleasbyCode/imgprmt/blob/main/demo_image/demo_image4.jpg)  \n\nView the embedded prompt as a basic web page by renaming the ***.jpg*** file extension to ***.htm***  \n\nhttps://github.com/user-attachments/assets/7fb4832c-f404-4e7a-8d2b-ea3ef1a4bf49\n\n## Usage (Windows CLI Default)\n\n```console\n\nPS G:\\imgprmpt\\demo\u003e .\\imgprmt.exe\n\nUsage: imgprmt [-b] \u003cjpg-image\u003e  \n       imgprmt --info\n\nPS G:\\imgprmpt\\demo\u003e .\\imgprmt Mansion_Monster.jpg\n\nEnter a Web link (Image source, Social media page, etc.)\n\nURL: https://x.com/CleasbyCode\n\nType or paste in your prompt as one long sentence. Add \u003cbr\u003e tags for new lines, if required.\n\nImage Description: In a grand yet dilapidated mansion interior with intricate wooden wall panelling\nand a majestic staircase, an eerie, imposing figure standing on the stairs, lunges forward.\u003cbr\u003e\u003cbr\u003e\nThis character is a blend of historical and fantastical elements, wearing a mask that evokes the textures\nof burlap and bandages, accentuated with metal rivets and a sinister, grill-like mouthpiece.\u003cbr\u003e\u003cbr\u003e\nThe eyes behind the mask are obscured by a cross-hatch pattern, enhancing its mysterious aura.\nThe attire is composed of ragged, earth-toned fabrics, suggesting a bygone era or a post-apocalyptic world.\n\u003cbr\u003e\u003cbr\u003eIn one hand, it holds a blade, stained with blood, while the other hand reaches out toward the viewer\nwith a bloodied finger, threateningly pointed. The setting’s opulence clashes with the figure's menace, creating\na stark juxtaposition between the lavish environment and the character's foreboding presence.\n\u003cbr\u003e\u003cbr\u003eThe lighting casts dramatic shadows, emphasizing the cinematic quality of the scene.\nCinematic and photographic styles. --ar 16:9\n\nCreated output file: \"imgprmt_2547.jpg 401529 Bytes\"\n\n```\n## Usage (Windows CLI Bluesky Option and Upload Script)\n\n```console\n\nPS G:\\imgprmpt\\demo\u003e .\\imgprmt.exe\n\nUsage: imgprmt [-b] \u003cjpg-image\u003e  \n       imgprmt --info\n\nPS G:\\imgprmpt\\demo\u003e .\\imgprmt -b Mansion_Monster.jpg\n\nEnter a Web link (Image source, Social media page, etc.)\n\nURL: https://x.com/CleasbyCode\n\nType or paste in your prompt as one long sentence. Add \u003cbr\u003e tags for new lines, if required.\n\nImage Description: In a grand yet dilapidated mansion...... \n\nCreated output file: \"imgprmt_21195.jpg 401529 Bytes\"\n\nPS G:\\imgprmpt\\demo\u003e python3 .\\bsky_post.py --handle cleasbycode.bsky.social --password xxxx-xxxx-xxxx-xxxx --image imgprmt_21195.jpg --alt-text \"Testing prompt embedded image. To view the embedded prompt, save image, then change the .jpg file extension to .htm\" Image_Test\n\n```\n\nhttps://github.com/user-attachments/assets/f31089c8-2ec3-47b5-91f9-9cb169fe2a49\n\n##\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleasbycode%2Fimgprmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleasbycode%2Fimgprmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleasbycode%2Fimgprmt/lists"}