clamshell
runlike
clamshell | runlike | |
---|---|---|
8 | 14 | |
58 | 1,810 | |
- | - | |
0.9 | 0.0 | |
about 1 year ago | about 1 year ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
clamshell
-
Shells Are Two Things
This is well made case - but I'm not sure I buy the central argument. Within some basic limits, I don't think terseness and readability have the contradiction made out here, because in programming we have abstraction, which gives us both.
To take the example command that's given:
beef.txt | grep "lasagna" | sort -n | uniq
Sure, writing the logic out for this in something like python straight out the bat with only the standard library might look messy, but with one basic convenience function it could quickly be:
search(for='lasagna', in='beef.txt', clear_duplicates=False).sorted()
Obviously you have to write the function in the first place, but I'd say if you're doing something like this often, it's easily worth spending that 2 minutes. And if you're not doing this often, you'll have a faster time writing more code, but keeping less heavy lifting of "how does bash pipe together" in your head.
I shared a project here a few weeks ago experimenting with what my dream shell might look like, what surprised me more than anything else, was how easy writing a repl environment actually is. I put a scrappy one together as one person in a few hours, so I don't understand why as developers we've reached general language models before being able to make a powerful, but new-user friendly shell.
Also, completely unrelated note, but posix only allows passing back strings - but isn't this true of web apis too which we use all the time? How come no json as a standard passback from programs?
Shameless plug for the project I mentioned earlier: https://github.com/benrutter/clamshell
-
This Week In Python
clamshell – experimenting with a python based shell
- FLiP Stack Weekly 28 Jan 2023
- FLiP Stack Weekly 28-Jan-2023
- Show HN: Clamshell- an experimental Python based shell
-
Clamshell- an experimental, interactive shell
Check it out here!
- Clamshell- an experimental, interactive daily shell
runlike
-
Pharo 11
You can use this tool to figure out how to run again any currently running container https://github.com/lavie/runlike
- [Help] Change Directory Bindings for a "--restart=always" Container
- View the commands used to create a docker container
- FLiP Stack Weekly 28 Jan 2023
- FLiP Stack Weekly 28-Jan-2023
-
Runlike: Given an existing Docker container, prints the command line to run it
Issue for podman support: https://github.com/lavie/runlike/issues/71
-
Self-Hosting Dozens of Web Applications and Services on a Single Server
I had started out the same way, especially if it was a new app and I wasn't familiar with how I really wanted to run it. Some containers expect a fair number of environment variables and multiple mounts. Once I got everything working, I would create a script /svcs with the corresponding docker run command. There's even a cool tool called "runlike" which can create a well formatted command for any running container.
https://github.com/lavie/runlike/
But I've got those migrated to docker-compose files these days and I try to start with the docker-compose file instead of going directly into testing out docker run commands.
What are some alternatives?
shell-genie - Your wishes are my commands
docker-autocompose - Generate a docker-compose yaml definition from a running container
logs-benchmark - Logs performance benchmark repo: Comparing Elastic, Loki and SigNoz
docker-qnap-pushover - Pushover notifications for QNAP NAS system events 🔔
streamnative-rest-stocks
Docker Compose - Define and run multi-container applications with Docker
xontrib-pipeliner - Let your pipe lines flow thru the Python code in xonsh.
carbonyl - Chromium running inside your terminal
sematic - An open-source ML pipeline development platform
SirTunnel - Minimal, self-hosted, 0-config alternative to ngrok. Caddy+OpenSSH+50 lines of Python.
python-functown - Helper library for Azure Function programming