8 ms·
Show HN: Marathono – A GUI tool for managing long-running processes in macOS
- realworldview 10y agoI don't get it. Sorry.
- anon4711 10y agoThe use-case? Well, you have a process that will run for a long time. You don't want to keep a terminal open. You /could/ just detach it. Now what if you want to kill it? Open another terminal, kill it by PID or through pkill. Clicking a button might be more convenient.
- jbverschoor 10y agoAnd sometimes you'd want to watch the output. I like it.. Less clutter.
- noobermin 10y agoScreen? Tmux? >Marathono is a small GUI tool that helps you manage long-running processes in macOS, so you don't have to maintain multiple windows/tabs/tmux sessions in your Terminal. How about one tmux session and a couple of windows? You could name the windows perhaps. I could see how this might not scale, but I bet my socks someone else has found a way to script this and make it easy. I know we don't want to be overly negative on HN, but this doesn't sound like a problem that needed a completely newly rolled solution. So you have GUI output. What if I want to grep or save it to a file? I can see how this will be usable for people who aren't comfortable with a terminal--as a someone who transplated linux-to-mac, I know how terrible the terminal experience is on mac. EDIT: below I was corrected that Marathono does all manipulating text output, +1.
- nperez 10y agoI find that Windows developers seem more comfortable with GUI-heaviness in their dev environment, Linux developers seem less comfortable with it, and Mac is in kind of an odd gray zone in between. This seems fitting for the general style of the OS - sometimes sacrificing power to make things "just work" in a minimal UI. There might be cases where I would find it useful but overall its usefulness is subjective and dependent on what you're looking for in your workflow/workspace.
- smacktoward 10y ago> So you have GUI output. Which seems like it would be a Big Deal, for a Mac user. The entire appeal of the Mac (for a developer) is that it layers a friendly GUI over a Unix-ey foundation. Presumably a user who values that GUI would also value GUI-oriented ways to do things that were previously terminal-only. If "just use screen" was an answer that would make that user happy, they wouldn't have spent the extra money to buy a Mac in the first place.
- yliang 10y agoThe "Show Output" menu of Marathono opens a Terminal/iTerm tab to tail the output. Currently Marathono is designed for start-and-forget kind of processes - outputs are for occasional debugging purpose only.
- noobermin 10y agoThat's good to know, I clicked around looking for a hint of whether it did that. Thanks for informing the conversation.
- vikeri 10y agoDoes this have to be the case? I have a couple of long running processes that I would really like to check the output of from time to time. Couldn't you have an option to just show the last line for example? Was super excited to see this as I've been bugged by exactly this but if I can't see the output it's a dealbreaker for me unfortunately
- yliang 10y agoWhat do think would be a place to show "the last line"? Or would [1] be more useful for your use case? If not, would you mind creating a new issue? 1. https://gitlab.com/marathono/marathono/issues/7 https://gitlab.com/marathono/marathono/issues/7
- vikeri 10y agoPosted an issue here: https://gitlab.com/marathono/marathono/issues/10 https://gitlab.com/marathono/marathono/issues/10
- NickBusey 10y agoThe main benefit for me is it saves all the commands you want to commonly run. So for things like an SSH tunnel, rather than having to keep some snippet around to copy/paste into that new tmux window (yes, I use tmux extensively), I can just put all the random SSH tunnel strings I need into one list, and turn them on/off as needed. Also, I have to disagree with the terminal experience on the mac being terrible. Between iTerm and brew, I've never come across anything I couldn't do, but that could be done on linux.
- noobermin 10y agoUsually when I want to repeat something, I make a script. Copy and pasting more than 4 times usually prompts me to make a script or an alias. I mean, you are of course free to do what ever you want to do and have which ever workflow you feel comfortable with.
- yliang 10y agoExactly. And other convenient features like termination notification and file system monitoring.
- deleted 10y ago[deleted]
- fredsted 10y agoScreen solves this, and is remotely accessible :)
- tbrock 10y agoJust use "brew services", it couldn't be easier.
- yliang 10y agoCorrect me if I'm wrong, "brew services" work for launchd services installed with homebrew only. But Marathono allows you to run any arbitrary commands.
- outworlder 10y agoI thought that was a frontend for brew services. Apparently it's not.
- zuck9 10y agoThere is BitBar and it works great with brew services and a lot of other things.
- zongitsrinzler 10y agoWow, this is super convenient. Thanks!
- scrabble 10y agoI could see myself getting use out of this. Thanks!
- daturkel 10y agoThis looks fantastic. I could see this speeding up a lot of build processes for all sorts of devs. (Just realized, auto-compiling modified latex docs is another great use-case).
- matt4077 10y agoIt's somewhat similar to https://github.com/typicode/hotel https://github.com/typicode/hotel, although more generic. I feel a bit discouraged from trying it by the uncertainty about the eventual price. I guess they're going to start charging for it at some point and that's ok. But I'd like to know a broad range before I start depending on it.
- yliang 10y agoThe "may start charging for it" piece is mostly for stopping people from asking me to open source the app. If I do start charging money, it will probably be at the price of a burger. I'm the developer of PSequel (a popular PostgreSQL client, http://www.psequel.com/ http://www.psequel.com/) and it has been free since it came out two years ago. I got people asking for open sourcing it almost every single day. Many people assume free == open source.
- davidcollantes 10y agoLove the app, dislike the icon you have picked for it (both, the app icon and the one on the menu bar).
- leppr 10y agoAs an offender to this kind of behavior, I think it's more of a feeling that the only really compelling arguments against open-source apply only to commercial software, so you, the author of a free app, may be more easily convinced into open-sourcing. And actually I'm curious, what would you say is your main reason for keeping the source code of your free tools private? (ugly code being a totally acceptable answer to which I can relate :))
- gerry_shaw 10y agoAs a developer that has closed source free programs and has run open source programs, sometimes I just don't want to deal with the extra effort of having to manage an open source project. This is usually true when I'm building something for myself but then share (for free) where I think others might enjoy using.
- primitivesuave 10y agoI was thinking about making a terminal utility for doing this a couple days ago, the Mac app you made is so much better. I'll definitely be using this and upgrading to your paid version when you put it out. The major annoyance I was having is when a long-running process dies, I might waste a couple minutes trying to figure out what's going on, only to realize that a gulp build stopped or some service crashed. Even if it only wastes a couple minutes here and there, the time and frustration add up. Thank you for taking the time to make this available to everyone!
- egeozcan 10y agoIs this like a "services.msc"[1] for MacOS? [1]: Microsoft Windows Services console.
- frou_dh 10y agoNo, because macOS's "real" services infrastructure is all about interacting with `launchd` and its idea of job definitions. If I'm not mistaken, the infamous systemd was influenced by launchd.
- StyloBill 10y agoI love this tool, it's very convenient. Thanks for your work! The only thing I don't really like is the icon. I find it a bit cluttered. I'll gladly pay a few bucks to keep this in my toolbelt.
- yliang 10y agolol..not a designer. I just put together some hand-drawing over the weekend. Will probably redesign the icon to make it a more serious app..
- lobster_johnson 10y agoThis looks nice, but I wish it would just use Launchd under the hood. Launchd is solid and full-featured: * Good process management (failure retries with backoff) * Supports watching folders * Decent command-line client for when you want to script or work fast in the shell * Supports starting daemons on login * Can start/stop based on whether certain things (network, paths, mounts, etc.) are up/down * Supports calendar-based scheduling (replaces cron) * Can redirect logging * Can enforce resource limits (RAM, CPU, I/O, number of processes etc.) + nice level I run all my daemons (Homebrew apps as well as personal development stuff) under Launchd, and I would love a convenient menu-bar GUI like this.
- ndrake 10y agoLingon is a GUI for managing Launchd, but does not have a menubar widget. https://www.peterborgapps.com/lingon/ https://www.peterborgapps.com/lingon/
- lobster_johnson 10y agoYes, I used it a long time ago. It was very buggy then, probably better now. Not free, though, and as you say, no menu bar support.
- deleted 10y ago[deleted]
- blacksmith_tb 10y agoLingon is also useful for alerting you when installers and updaters change your Launchd tasks.
- seanp2k2 10y agohttp://www.soma-zone.com/LaunchControl/ http://www.soma-zone.com/LaunchControl/ Makes it easy to set up your own launchd entries and manage existing ones, both user and system. I set up an rsync script to sync my photos with my NAS when I'm on my home wifi automatically. I like it so much I bought it. There is no registration or serials or copy protection (IOW paying is optional) but after using it for a few weeks I felt like the asking price of $10 was more than justified for the utility I received from this utility.
- reacharavindh 10y agoAwesome tool. Very simple and focussed as it should be. Definitely prefer this over the bunch of launchd scripts spread all over my system. Will definitely upgrade to your future paid version if you retain the simplicity and promise to respect privacy. Cheers!
- rkv 10y agoGreat tool. On OS X 10.11 using a dark theme causes the menulet to color the padding of the UI elements which makes it difficult to see the entries in the list.
- yliang 10y agoHmm..I'm also using 10.11 with the dark theme. Does the app on your machine look very different from what I show in the second screenshot at http://www.marathono.com/ http://www.marathono.com/? If it does, please consider reporting a bug thru the Help menu of the app.
- rkv 10y agoYes, see[1]. Another user also reported the UI defects using the light theme as well on 10.11.6. 1. https://gitlab.com/marathono/marathono/issues/5 https://gitlab.com/marathono/marathono/issues/5
- pier25 10y agoThe project needs a new logo, and a new name.
- yliang 10y agoAgree on the logo part. Could you tell me why you think the name is bad?
- chillacy 10y agoI think the name is okay. Marathon by itself would be a better name, though that I believe is taken by the Mesos task runner. As for the logo, it's clever but too complex. It wouldn't bother me if it weren't prominent in the menu bar. Something more simple for the menubar icon could just be a ">" logo. For reference on logos, compare with iTerm and Prompt: https://www.iterm2.com/ https://www.iterm2.com/ https://panic.com/prompt/ https://panic.com/prompt/ Prompt especially has a great logo IMO.
- pier25 10y agoI don't like the sound of it, and it seems a name for a lifestyle / sports app.
- yliang 10y agoApparently it's also a popular name for developer tools. https://mesosphere.github.io/marathon/ https://mesosphere.github.io/marathon/
- pier25 10y agoI don't like the sound of it, and it seems a name for a lifestyle / sports app.
- qwertyuiop924 10y agoPah. GUIs are for wimps. I use nohup $COMMAND &, or datch/tmux if I need to re-attach later. And listing your running daemonized processes is for wimps who can't use ps. /joke
- donatj 10y agoI'm at the point in my life where I simply don't trust free software that isn't open source. I've been burned too many times. Either charge me money so we have a legal bond, or open source it. Free closed source is untrustworthy software that may just disappear/break with no respite. If it's open source and you stop maintaining it, I can fix it myself or at least try to. It if isn't, I'm screwed. I won't become dependent on software I can't trust to work years from now - I don't need that in my life.
- subway 10y agoWhy do you assume Open Source is really any better? Have you seen the absurd number of 'Go download the latest version of this dep from some 3rd party remote host' steps in the build processes of modern software (oss or not)? Or my favorite 'Just use this image we pushed to dockerhub as your startingpoint for building our software'.
- jiiam 10y agoIt's not that it is inherently better, is that a good open source software has fewer chances of becoming an abandonware (and can brought back to life if need be)
- donatj 10y agoBecause I can at least try to fix it when it fails. I'm not completely helpless. I can't simply have the rug pulled out from under me. I've had a fair number apps in recent years, particularly those sold in the App Store that had become vital parts of my workflow entirely stop working after OS upgrades, and the author no where to be found.
- yliang 10y agoWell, if charging you money makes you feels better, I can set something up for you to pay ;)
- johnhenry 10y agoThat that would actually be better in the eyes of some -- it would show that there is at least some incentive for you to maintain it.
- tedmiston 10y agoThis is cool. Is anyone else using tmux (backgrounded) for this use case today? I'm not arguing that tmux is without tradeoffs, but the tmux integration in iTerm is pretty good.
- donatj 10y agoI as well use tmux as a lazy hack for things I don't want to bother adding to Launchd
- jiiam 10y agoSeems nice but the fact that it's not open source is a strong deterrent to start using it until there's a community using it.
- infinitone 10y agoIs there something like this but for windows?
- nikolay 10y agoLet's not forget the Homebrew-friendly LaunchRocket [0]! [0]: https://github.com/jimbojsb/launchrocket https://github.com/jimbojsb/launchrocket
- HNSucksAss 10y agoIs something supposed to appear when you launch this thing? Because nothing does...
- daemonk 10y agoI work mostly remotely by ssh-ing into the work ubuntu server from my macbook, so I don't really use the local terminal all that much. I've noticed in the past that the local osx terminal can be somewhat different from a standard terminal. Is there no screen or nohup in the local osx terminal for long running processes?