SkillAgentSearch skills...

Inputbox

Cross-platform library for displaying desktop dialog boxes in your go application

Install / Use

/learn @martinlindhe/Inputbox
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

About

GoDoc

InputBox is a simple cross-platform library for displaying desktop dialog boxes in your go application

Example

package main

import "github.com/martinlindhe/inputbox"

func main() {
	got, ok := inputbox.InputBox("Dialog title", "Type a number", "abc")
	if ok {
		fmt.Println("you entered:", got)
	} else {
		fmt.Println("No value entered")
	}
}

Windows

Uses a powershell script

Windows

macOS

Uses a osascript

macOS

Linux

Uses zenity (gtk)

Linux

More

If you like this, check out https://github.com/martinlindhe/notify for cross-platform desktop notifications.

License

Under MIT

View on GitHub
GitHub Stars32
CategoryDevelopment
Updated5mo ago
Forks6

Languages

Go

Security Score

92/100

Audited on Oct 22, 2025

No findings