{"id":16483454,"url":"https://github.com/dbohdan/messagebox","last_synced_at":"2026-04-27T20:31:59.436Z","repository":{"id":68307464,"uuid":"66280732","full_name":"dbohdan/messagebox","owner":"dbohdan","description":"Display message boxes from Windows batch files and command line programs","archived":false,"fork":false,"pushed_at":"2020-01-19T19:59:37.000Z","size":23,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T20:10:03.871Z","etag":null,"topics":["batch","batch-file","cli","dialog","gui","windows"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/dbohdan.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":"2016-08-22T14:41:16.000Z","updated_at":"2024-06-22T23:53:02.000Z","dependencies_parsed_at":"2023-03-11T03:25:57.700Z","dependency_job_id":null,"html_url":"https://github.com/dbohdan/messagebox","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dbohdan/messagebox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbohdan%2Fmessagebox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbohdan%2Fmessagebox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbohdan%2Fmessagebox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbohdan%2Fmessagebox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbohdan","download_url":"https://codeload.github.com/dbohdan/messagebox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbohdan%2Fmessagebox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["batch","batch-file","cli","dialog","gui","windows"],"created_at":"2024-10-11T13:14:04.391Z","updated_at":"2026-04-27T20:31:59.414Z","avatar_url":"https://github.com/dbohdan.png","language":"Shell","readme":"# Batch MessageBox\n\n[![AppVeyor CI build status](https://ci.appveyor.com/api/projects/status/github/dbohdan/messagebox?branch=master\u0026svg=true)](https://ci.appveyor.com/project/dbohdan/messagebox)\n\nThis is a tiny hack to display message boxes from Windows batch files and\ncommand line programs. There are many like it but I didn't find any that was\nopen source, non-copyleft and had no external dependencies like the .NET\nFramework.\n\n\u003cs\u003eAnother goal of this project is to create a framework that makes building\na simple Windows program with MinGW and running the tests for it surprisingly\neasy and pleasant.\u003c/s\u003e Never mind that; use MSYS2. (The old build scripts are\npreserved in the branch\n[mingw](https://github.com/dbohdan/messagebox/tree/mingw).)\n\n## Binary downloads\n\nYou can download a prebuilt .exe file from the\n[Releases](https://github.com/dbohdan/messagebox/releases) page on GitHub.\n\n## Use example\n\n```batch\n@echo off\nchcp 65001 \u003e nul\nset MB_YESNO=4\nset MB_ICONQUESTION=32\nset MB_ICONINFORMATION=64\nset IDYES=6\nset /a type=%MB_YESNO% + %MB_ICONQUESTION%\nmessagebox \"Shall we play a game?\" \"Helpful Computer\" %type%\nif \"%ERRORLEVEL%\"==\"%IDYES%\" messagebox \"What a cliché answer!\" \"Helpful Computer\" %MB_ICONINFORMATION%\n```\n\nSee [demo.cmd](./demo.cmd) for more.\n\n## Build requirements\n\n* [MSYS2](https://msys2.github.io/);\n* Optionally, [sendkey](https://web.archive.org/web/20190305143035/http://www.f2ko.de/en/cmd.php) to run the tests.\n\nInstall MSYS2 then start the 32-bit MinGW shell (with `C:\\msys32\\mingw32.exe` or\n`C:\\msys64\\mingw32.exe` in an up-to-date MSYS2 installation) and run\nthe following commands:\n\n```sh\npacman --sync --noconfirm git make mingw-w64-i686-gcc wget\ngit clone http://github.com/dbohdan/messagebox\ncd messagebox\nmake\nmake sendkey.exe # Download sendkey.exe and verify its checksum.\nmake test\n```\n\n## License\n\nMIT.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbohdan%2Fmessagebox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbohdan%2Fmessagebox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbohdan%2Fmessagebox/lists"}