News for hackers. Stuff that matters.
Re:Runme – Interactive Runbooks Built with Markdown by lowbloodsugar on Thursday August 24, 2023 @06:36PM (#37255457)
How is this better than actual Jupiter?
Re:Runme – Interactive Runbooks Built with Markdown by theossuary on Thursday August 24, 2023 @06:47PM (#37255546)
I wouldn't squirrel my documentation away in an ipynb file. So even though I'd like to use notebooks as runbooks, Jupyter just isn't the right solution for that. This could be a great tool for when you want to augment markdown documentation with runnable snippets. I really like this idea, it gives off literate programming[0] vibes.

[0]: http://literateprogramming.com/

Re:Runme – Interactive Runbooks Built with Markdown by joncp on Thursday August 24, 2023 @06:56PM (#37255617)
Another is that it looks like runme is written in Go instead of python. It's a single executable I can drop onto any new machine instead of futzing around getting a particular python version installed before doing any work.
Re:Runme – Interactive Runbooks Built with Markdown by admc on Thursday August 24, 2023 @08:26PM (#37256307)
I'm on the Runme team, and one of the goals of the primary goals of runme is to use a shared markdown parsing engine so that the behavior in the CLI, the VS Code notebook and in a Github action is consistent.
Re:Runme – Interactive Runbooks Built with Markdown by admc on Thursday August 24, 2023 @08:47PM (#37256474)
You nailed it, thanks for calling that connection out. We were very much inspired by literate programming.
Re:Runme – Interactive Runbooks Built with Markdown by enriquto on Friday August 25, 2023 @05:45AM (#37259830)
> I wouldn't squirrel my documentation away in an ipynb file.

This! ipynb files are a nightmare to deal with. Fortunately, you can use jupyter without ever seeing a .ipynb file, by storing your notebooks in a different format (e.g. as programs or as markdown files). Bonus points: you'll hear fewer complains from your local graybeards if they can edit and run notebooks from their favorite text editor.

Re:Runme – Interactive Runbooks Built with Markdown by admc on Thursday August 24, 2023 @08:28PM (#37256323)
There are actually many differences. We focus more on operational tasks, and allow cells to contain code from a number of programming languages in addition to python. In fact most folks are using runme to make executing runbooks full of bash commands a better experience.
Re:Runme – Interactive Runbooks Built with Markdown by lowbloodsugar on Thursday August 24, 2023 @09:17PM (#37256666)
Ok, so from the front page I got the impression it was only bash. I'm hitting cloud APIs via python so Jupyter works for that, and I'm using the python to ssh into systems and run bash there. The two missing things from Jupyter are 1. ssh-ing to remote hosts and running shell scripts (we do it with a bunch of code) and 2. running cells concurrently. But python is a hard requirement.
Re:Runme – Interactive Runbooks Built with Markdown by admc on Thursday August 24, 2023 @10:01PM (#37256985)
I've just added the currently supported languages you can execute to runme.dev in the features section (Javascript, Typescript, Shell, Lua, Perl, Python and Ruby for now). Also, the Runme CLI (https://github.com/stateful/runme) also supports running cells in parallel with `runme run -all -p`.

We'd be interested to know how we can help Runme satisfy your use cases, join us on Discord! https://discord.gg/runme

Re:Runme – Interactive Runbooks Built with Markdown by mst on Friday August 25, 2023 @08:57AM (#37261175)
I wonder if you'd get some mileage from my https://p3rl.org/Object::Remote module (or at least stealing the ideas therein ;) - it effectively applies https://p3rl.org/App::FatPacker on-demand over the wire so the remote code can use any (pure perl) module you've got installed locally without needing to be able to write to the disk.

(at https://shadow.cat/ we use it to investigate things on new customers' platforms with only an ssh login and a perl core install as requirements, along with as an ad-hoc "I need to run this on lots of machines without being intrusive" tool)

Re:Runme – Interactive Runbooks Built with Markdown by sourishkrout on Thursday August 24, 2023 @10:26PM (#37257206)
VS Code can attach to VMs via SSH and the notebooks will transparently run on the remote host. Python works out of the box as mentioned. I’m a co-creator of Runme btw.