golem | motllo | |
---|---|---|
3 | 1 | |
9 | 18 | |
- | - | |
4.5 | 0.0 | |
2 months ago | over 3 years ago | |
Shell | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
golem
-
SSH Quoting
This is the method I ended up using for golem (https://github.com/robsheldon/golem), a tool I wrote for executing server documentation on remotes. Shell quoting was by far the hardest part to get right, and the base64 pipe was the only solution that correctly handled all forms of quoting embedded in the scripts.
-
Literate: A Flexible Literate Programming System
I've seen a few posts here recently on literate programming; I really hope it takes hold as a trend.
A couple of months ago I released a "literate devops" tool: https://github.com/robsheldon/golem/
It extends https://github.com/bashup/mdsh so that you can execute shell code, embedded in markdown, on remote servers. I hope someday that documented server management becomes the standard.
-
Show HN: Stamp turns a folder into a plain text file and a file into a folder
I use this pattern a lot along with a tool I built for doing server deployments and administration using plain old shell scripts and ssh (golem: https://github.com/robsheldon/golem/).
There are two caveats:
First, if there's any chance at all that the heredoc may contain a $, or a `, or possibly some other shell-magical characters, then you have to use a single-quoted heredoc:
cat <<'EOF'...
motllo
-
Show HN: Stamp turns a folder into a plain text file and a file into a folder
Oh, this looks similar to my "motllo" project, [1] (and so many other projects, mine wasn't the first either). I have variable substitution, but no additional logic. For me the point was having a "readable" representation of the template.
[1]: https://github.com/rberenguel/motllo
What are some alternatives?
literate-programming - Creating programs from Markdown code blocks
scrollsdk - The code for Particles and Parsers, which Scroll is built on.
gomplate - A flexible commandline tool for template rendering. Supports lots of local and remote datasources.
blog.treenotation.org - Blog of the Tree Notation Lab
nasty-files - Some files with nasty names