bashblog
cli-guidelines
bashblog | cli-guidelines | |
---|---|---|
8 | 48 | |
1,620 | 2,793 | |
- | 1.1% | |
0.0 | 5.0 | |
12 months ago | 8 days ago | |
Shell | CSS | |
- | Creative Commons Attribution Share Alike 4.0 |
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.
bashblog
-
How do you create time-stamped text files for personal diaries or work logs?
bashblog is a single file bash shell script that will do what you want.
-
Examples of cool || non-standard || "simply insane" bash stuff?
Bashblog - a single bash script to generate a static blog site. It’s over 1000 lines of code, but works well and is super easy to tweak/enhance
-
How do you guys go about making websites the suckless way?
If you’ve ok with learning Markdown, then probably the most suckless way to build a static website is bashblog It’s one single bash script - that’s it.
-
What resources do you guys use to study the terminal?
Use a note taking app - I like Joplin and bashblog, but whatever works for you. I also have a personal pastebin set up so that I can zap stuff to it, and then look at it later when I have time.
- Bashblog: A single Bash script to create blogs
-
Blogging from the command line
A while ago I did some research and while it's not the only option I was quite taken with bashblog As you can see from the Changelog it's still actively developed and tweaked for some 10 years now.
-
How to Start a Blog with Vim
You can use bashblog, a simple bash script that converts Markdown to HTML.
- Frank Chimero · Everything Easy Is Hard Again
cli-guidelines
- Ask HN: Where to read about terminal UIs?
-
Ask HN: Do you read Secrets from Environment Variables
The Command Line Interface Guidelines [1] says:
> Do not read secrets from environment variables
> Secrets should only be accepted via credential files, pipes, `AF_UNIX` sockets, secret management services, or another IPC mechanism
Which one of these do you use? On github it seems common for projects to use environment variables for secrets.
[1] https://clig.dev/#environment-variables
-
Command Line Interface Guidelines
Seems they took a small step back from their previous "don't bother with man pages" stance. Now it's "Consider providing man pages."
I still find it a rather shocking order of priority, honestly.
https://clig.dev/#documentation
-
Ask HN: Best way to do scoped commands in a CLI app
- E. `blah project foo --edit`
Wondering if there was any guidance on this from the UNIX people. Perhaps scoping should be done using the file system. `cd path/to/project && blah edit`. Like git does with `git --cwd=path/to/project`. Maybe a virtual FS could even be used. Then you wouldn't have to continuously type in the scope with each command. Interesting thinking about how to maintain state in the terminal...thinking about how Python's virtual env bin/activate modifies the shell.
Found an interesting guide here: https://clig.dev/
-
CLI user experience case study
Capturing these guidelines is one of the primary reasons that https://clig.dev/ exists.
-
Introducing my Password Manager project - Seeking Feedback and Contributions
You may want to take a look at various existing CLIs to get inspiration on how they operate, the user feedback loop and the ergonomics on using them. Here is a great website on some CLI structing guidance https://clig.dev/
What are some alternatives?
ghlog - Write to a logbook/journal stored in Github from the command line.
redox - Mirror of https://gitlab.redox-os.org/redox-os/redox
bcapps
nodejs-cli-apps-best-practices - The largest Node.js CLI Apps best practices list ✨
bashrun2 - launch applications from interactive bash sessions
bubblewrap - Low-level unprivileged sandboxing tool used by Flatpak and similar projects
bashttpd - A web server written in bash
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
easybashgui - EasyBashGUI is a Bash functions library for *BSD and GNU/Linux that aims to give simple GUI functions using yad, gtkdialog, kdialog, zenity, Xdialog, gum, (c)dialog, whiptail or bash builtins depending on KDE or GNOME running or not, Yad/Gtkdialog/Xdialog installed or not and, eventually, X server running or not.
argparse-benchmarks-rs - Collected benchmarks for arg parsing crates written in Rust [Moved to: https://github.com/rosetta-rs/argparse-rosetta-rs]
Expose - A simple static site generator for photoessays
picocli - Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.