{"id":21538257,"url":"https://github.com/lanius412/ps-dialog","last_synced_at":"2026-04-19T04:31:28.884Z","repository":{"id":57704157,"uuid":"497241812","full_name":"lanius412/ps-dialog","owner":"lanius412","description":"MessageBox, InputBox, FileDialog for Go","archived":false,"fork":false,"pushed_at":"2022-05-29T05:02:16.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T07:45:16.311Z","etag":null,"topics":["dialog","golang","powershell","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","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/lanius412.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}},"created_at":"2022-05-28T07:07:27.000Z","updated_at":"2023-12-16T17:12:12.000Z","dependencies_parsed_at":"2022-09-26T21:12:05.930Z","dependency_job_id":null,"html_url":"https://github.com/lanius412/ps-dialog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanius412%2Fps-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanius412%2Fps-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanius412%2Fps-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanius412%2Fps-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lanius412","download_url":"https://codeload.github.com/lanius412/ps-dialog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244110086,"owners_count":20399561,"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":["dialog","golang","powershell","windows"],"created_at":"2024-11-24T04:11:29.805Z","updated_at":"2026-04-19T04:31:28.848Z","avatar_url":"https://github.com/lanius412.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ps-dialog\nWindows Dialog using powershell for Go\nDetails : \n\n# Features\n* Message Box  \n |- Button Type - https://docs.microsoft.com/ja-jp/dotnet/api/system.windows.forms.messageboxbuttons?view=windowsdesktop-6.0  \n |_ Icon Type - https://docs.microsoft.com/ja-jp/dotnet/api/system.windows.forms.messageboxicon?view=windowsdesktop-6.0\n* Input Box\n* File Dialog (Open and Save)\n\n# Usage\n```\nimport dialog \"github.com/lanius412/ps-dialog\"\n\nfunc main() {\n  /* Message Box */\n  msgBox := dialog.Message(\"Do you want to try again?\").Title(\"Message\")\n  result, err := msgBox.Button(dialog.Btn_AbortRetryIgnore).Icon(dialog.Icon_Exclamation).Show()\n  if err != nil {\n    panic(err)\n  }\n  fmt.Println(result) // Abort, Retry or Ignore\n  \n  /* Input Box */\n  psword, _ := dialog.InputBox().Title(\"Input\").Description(\"Type password\").Show()\n  fmt.Println(psword)\n  \n  /* File Dialog */\n  fileDlg := dialog.File().Title(\"File\")\n  filepaths, result, _ := fileDlg.SetStartDir(\"C:\\\\\").SetFileter(\"text file(*.txt)\", \"txt\").Multiple().Open()\n  if result != \"Cancel\" {\n    fmt.Println(filepaths) // [C:\\Users\\[username]\\Downloads\\sample1.txt, C:\\Users\\dev_win\\Downloads\\sample2.txt]\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanius412%2Fps-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanius412%2Fps-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanius412%2Fps-dialog/lists"}