10 ms·
Suitcase: A macOS tool for deploying GUIs for simple commands and scripts
- graddrisrp 6y agoI'd rather avoid macos gui system as much as possible IMHO
- saagarjha 6y agoThat’s unfortunately a problem for people who use macOS.
- fimdomeio 6y agodoes anyone know of similar tools for linux?
- rjstelling 6y agoOnce SwiftUI is available on Linux, Suitcase will "just work". But don't hold your breath.
- mumphster 6y agosomething like this? (albeit tied to gtk) http://manpages.ubuntu.com/manpages/precise/en/man1/zenity.1.html http://manpages.ubuntu.com/manpages/precise/en/man1/zenity.1...
- fit2rule 6y agoThis also works on Linux. Edit: my mistake, no it doesn't. Apologies.
- mumphster 6y agowhere do you see that? theres not even code in this repo, and the only release is a dmg file
- rjstelling 6y agoIt's not open source yet, but I am planning on making it so. Watch this space. In the mean time I'm open to feedback and bug reports via GitHub issues.
- fit2rule 6y agoRight there in the demo, Ubuntu windows. Edit: never mind, my apologies. It's the dark theme of Mac OS.
- guessbest 6y ago"Xdialog is designed to be a drop in replacement for the "dialog" or "cdialog" programs. It converts any terminal based program into a program with an X-windows interface. The dialogs are easier to see and use while adding even more functionalities (e.g. with the treeview, the file selector, the edit box, the range box, the help button/box). Because Xdialog uses GTK+, it will also match your desktop theme." http://xdialog.free.fr/ http://xdialog.free.fr/
- Aloha 6y agoI dont think Xdialog is maintained anymore, dialog is though.
- fungos 6y agothere is also kdialog
- de_watcher 6y agodialog, wish, whiptail...
- hawski 6y agoTcl/Tk is like this up to eleven (in positive sense).
- ysleepy 6y agoZenity is a classic example.
- KMnO4 6y agoAwesome, I welcome any tools that simplify the GUI deployment process. I've built quite a collection of scripts that clean and process my company's domain-specific data. I once needed to share that with a data-scientist/computer-Luddite (sadly too common) who wasn't comfortable running CLI scripts. The solution I came up with used Platypus[0] to generate a lovely app wrapper where files could be dragged in. [0]: https://github.com/sveinbjornt/Platypus https://github.com/sveinbjornt/Platypus
- dimator 6y agoI've used this to create a little muxer for opening URLs, which routes some to safari and some to Firefox, based on domain. Platypus allows to associate the app as a URL handler with the OS, which is very nice.
- k2enemy 6y agoVery cool. Just a suggestion for the demos in the README though. Maybe have the code shown statically, then a gif of the GUI. Watching all the typing gets long when I just want to see the resulting GUI.
- oefrha 6y agoAlso, move at least one screenshot/cast to the top, not after tons of technical documentation.
- kirstenbirgit 6y agoYep, there's zero reason for the gifs. They seem really slow to me. Makes it impossible to copy the code if I wanted to, as well.
- sbarre 6y agoThe code is on the page, in text, directly below the GIF, if you want to copy it. The GIFs help, they should just start with the code getting pasted in, not typed in.
- nfin 6y agoand clicking the gif gives you a skippable video
- azinman2 6y agoExcept there are several videos and no need for me to click each one to find out what the output eventually looks like.
- zapzupnz 6y agoTaking me to another website to look at the same clip — and then make me skip to the end myself and then manage having to pause the video — is lipstick on a pig. A JPEG will be just fine.
- 6y ago
- mszmszmsz 6y agoWaiting for the gifs to show the output Drives. Me. Nuts.
- rankam 6y agoOk I feel like an idiot, but where is the code in the repo that produces the GUI - ie where is the Suitcase code?
- rozab 6y agoI guess it isn't open source ¯\_(ツ)_/¯ Strange how GitHub has apparently become the default distribution platform
- mikestew 6y agoEDIT: okay, I'm the idiot for not actually opening the source archive and verifying that there's anything in there worth looking at. You aren't the idiot in this equation. Inexplicably, the source can be found in zip or tar format on the download page: https://github.com/Impedimenta/Suitcase/releases/tag/1.0.0-alpha https://github.com/Impedimenta/Suitcase/releases/tag/1.0.0-a...
- de_watcher 6y agoHoly hell, the source archive is huge. I just saw how that the demo is slow to boot and wanted to see the horror of the code. Ok no, there is no code in the archive. Only images.
- karkisuni 6y agoThe "source code" zip has the same files as in the repo. No source.
- choward 6y agoYes, you're an idiot for thinking a project on GitHub is open source. What a lame use of GitHub. Can I get the minute back I wasted reading that readme?
- crad 6y agoNeat, but "instantly" is a bit much. How about quickly? :-p
- de_watcher 6y agoI just need to know why that garbageware is so slow. Show me the code! :) What happened to the good old days of 'wish' and friends?
- sairamkunala 6y agoCodeless GUI for Mac OS
- booi 6y agoInstant oatmeal takes 2 minutes so the term already has no meaning
- turnipla 6y agoAll of that doesn’t seem to belong on to CLI flags. I love the possibilities this opens up, but I’d much rather write a configuration file.
- robinhouston 6y agoWho else remembers Commando in the Macintosh Programmer’s Workshop? That was a long time ago, but then the world moved in a different direction. It’s interesting that this sort of thing has been out of fashion for so long. I wonder if it will come back.
- harrylepotter 6y agoSuper cool. Reminds me of "platypus" - a similar tool I use frequently: https://sveinbjorn.org/platypus https://sveinbjorn.org/platypus
- ruffrey 6y agoCool, but needs a license.
- mister_hn 6y agoI hope for a porting to Linux
- danpalmer 6y agoAs the source code isn't actually available I've opened a GitHub issue to clarify whether this is deliberate, or to track the adding of the code. https://github.com/Impedimenta/Suitcase/issues/4 https://github.com/Impedimenta/Suitcase/issues/4
- tptacek 6y agoThe author was on this thread an hour before you posted this clarifying that it is not yet open source, so you could delete that Github issue.
- jakear 6y agoWhy not have an issue tracking it? The author will likely close the issue themselves when they open source it.
- rjstelling 6y agoThanks for this. My plan is to open source it eventually, but I just ran out of time to get it into shape for launch day. I've removed the PR comment so as not to confuse any more people.
- evandena 6y agoAnyone know something similar to this, but with help generating a web front end? I'd love to generate a small UI for my team to help with openssl commands, being able to input data would be a bonus. I could probably cook something up with node fairly fast, but I'm a remedial programmer.
- goostavos 6y agoMaybe Wooey[0] fits your needs? https://github.com/wooey/Wooey https://github.com/wooey/Wooey
- nathancahill 6y agoSee also, Hammerspoon for an open source project that does this.
- tambourine_man 6y agoReally nice. Reminds me of Platypus[1]. I don't really use GitHub but, if possible, please change the GIFs to MP4. Besides being sharper and way smaller, one can control the playback to rewind/fast forward. [1] https://sveinbjorn.org/platypus https://sveinbjorn.org/platypus
- mkchoi212 6y agoReally cool but I’m wondering why have the user input args in as a command line arg? Seems very arduous and shell is just... shell. IMO, I would love something like this `> suitecase my_layout.yaml`
- hawski 6y agoMaybe you could start a script with a shebang. Call it something more descriptive like a Windowing Shell - wish for short. Put it on top of a command language and make whole thing cross-platform.
- rjstelling 6y agoPlease open an issue, I'd love to hash out what that might look like.
- lxe 6y agoThis new trend on HN of CLI tools controlled through a ton of CLI arguments... Why not pass a config/yaml/json/xml file/stdin?
- marcoperaza 6y agoDoes anyone know of something like this for Windows? Would be nice to build a small UI around some powershell scripts I have, without having to resort to a full WinForms application.
- goostavos 6y agoShameless plug: checkout Gooey. Works on Win/OSX/Linux While it won't bootstrap your GUI straight from powershell, it can give you a pleasant GUI that calls your powershell stuff with just a few lines of Python (no actual GUI code required!) ^_^ https://github.com/chriskiehl/Gooey https://github.com/chriskiehl/Gooey
- dvno42 6y agoWow. This this is a really impressive project. Thanks for sharing!
- macintux 6y agoI wish that supported Click. Very cool.
- marcoperaza 6y agoA python dependency is unfortunately out of the question for me, but that is a really cool project.
- gardaani 6y agoMac Quick Actions and Automator can be used for the simplest cases. I've build several file processing Quick Actions, which I can run by pressing buttons in Finder. https://support.apple.com/guide/automator/use-quick-action-workflows-aut73234890a/mac https://support.apple.com/guide/automator/use-quick-action-w...
- tedmiston 6y agoWow, this is awesome, and surprisingly easy to use. I'd been looking for a simple way to run command like uptime or to get battery info not in the menu item without launching a terminal. Thank you.
- pkamb 6y agomacOS Quick Actions (formerly called Services) are great, but I've always found them very cumbersome to use due to being relegated to the submenu. And having no icons, and a severe lack of customization and control over their order. I recently released an indie Mac app to bring your Applications and Scripts to the top of the Finder right-click menu, customized exactly how you like. https://servicestation.menu/ https://servicestation.menu/ It's on the Mac App Store and uses the modern Finder Extension API, so safe to install and no Finder haxies.
- miles 6y agoOne of the major features Service Station advertises is "Open Terminal by right-clicking the Finder!", but isn't this functionality already available in macOS via System Preferences > Keyboard > Shortcuts > Services > checking "New Terminal at Folder" under "Files and Folders"? A feature that might make Service Station even more useful would be adding "New Text File" and "Rich Text Document" options, similar to the app "New File Menu"[0]. This is the second time today[1] I've seen a closed source project hosted at GitHub[2]; I had mistakenly assumed GitHub was for open source projects (like SourceForge). [0] https://apps.apple.com/us/app/new-file-menu/id1064959555?mt=12 https://apps.apple.com/us/app/new-file-menu/id1064959555?mt=... [1] https://news.ycombinator.com/item?id=23020258 https://news.ycombinator.com/item?id=23020258 [2] https://github.com/knurling/ServiceStation/ https://github.com/knurling/ServiceStation/
- williesleg 6y agoNice that you did the needful! Thank you!
- ysleepy 6y agoCustomizable dialog tools have some history, there are a bunch on linux but macOS also has some. Linux: https://help.gnome.org/users/zenity/3.32/ https://help.gnome.org/users/zenity/3.32/ https://techbase.kde.org/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs https://techbase.kde.org/Development/Tutorials/Shell_Scripti... macOS: https://cocoadialog.com/ https://cocoadialog.com/ https://www.bluem.net/en/projects/pashua/ https://www.bluem.net/en/projects/pashua/
- ibdf 6y agoCan this handle user inputs?
- codeisawesome 6y agoAs of now this is not actually open source - though that’s the default expectation of a repository being on GitHub. I don’t like the pattern of doing that because I feel GitHub will become a very slick SourceForge. One more experience like this and I’ll uninstall the GitHub apps from my devices because I can’t trust them to not be warez themselves or some sort.
- slantyyz 6y agoThis will date me, but when I think of Suitcase for the Mac, I think of the font manager application that predated OSX... which surprisingly, still exists.[1] [1] https://www.extensis.com/suitcase-fusion https://www.extensis.com/suitcase-fusion
- EricE 6y agoI’ll just add that I liked Font/DA mover. Need to set up a laser printer? That’s your tool! (what we tolerated because we didn’t have better at the time - yikes!)
- 7ewis 6y agoLooks cool, anyone got any good use cases for it?
- zelienople 6y agoThis was a very unpleasant experience. Read through the documentation... awful documentation, but the project looks cool. Looked for the source... no source, that's weird, isn't this Github? Found the binary... crashes without Combine.framework. That's funny... nothing about requirements in the docs... Looked through the comments... couldn't get the source ready for "Launch Day"? Nor, apparently, any of the above. So what is the point of a launch day? Maybe I'll try a sample app at the Bazaar... It says it's for sharing, right? So I can see some demos there... Nope. Got 234 upvotes at this point, though, so people seem to be finding something worthwhile here. Wish I knew what it was.
- mazatta 6y agoSeems like a less-good derivative of Briefcase: https://github.com/beeware/briefcase https://github.com/beeware/briefcase