tinydialogs
Tiny file dialogs Nim bindings.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:23 |
Tags
Installation
nimble install tinydialogs
choosenim install tinydialogs
git clone https://github.com/Patitotective/tinydialogs
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| tinydialogs | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/Patitotective/tinydialogs |
|---|---|
| Homepage | https://github.com/Patitotective/tinydialogs |
| Registry Source | nimble_official |
README
tinydialogs
High-level Tiny file dialogs v3.8.8 Nim bindings.
Example
import std/os
import tinydialogs
beep()
notifyPopup("Message", "You just received a message from Beef", Info)
echo messageBox(
"Hey", "Do you want to receive more notifications?", YesNo, Question, Yes
)
echo inputBox("Name", "Please enter your password :]", "")
echo saveFileDialog(
"Save the file", getCurrentDir() / "\0", ["*.txt", "*.text"], "Text file"
) # "\0" for an emtpy file
echo openFileDialog(
"Open the file", getCurrentDir() / "\0", ["*.txt", "*.text"], "Text file"
)
echo openMultipleFilesDialog(
"Open the files", getCurrentDir() / "\0", ["*.txt", "*.text"], "Text files"
)
echo selectFolderDialog("Open the directory of the file", getCurrentDir())
echo colorChooser("Choose a color")
echo colorChooser("Choose a color", "#000000") # Hex
echo colorChooser("Choose a color", [0u8, 0u8, 0u8]) # RGB
Read more at the docs.
About
- GitHub: https://github.com/Patitotective/ImTemplate.
- Discord: https://discord.gg/U23ZQMsvwc.
Contact me:
- Discord: Patitotective#0127.
- Twitter: @patitotective.
- Email: cristobalriaga@gmail.com.