ddgr
ctop
ddgr | ctop | |
---|---|---|
25 | 37 | |
2,846 | 15,167 | |
- | - | |
5.9 | 0.0 | |
4 months ago | 7 months ago | |
Python | Go | |
GNU General Public License v3.0 only | 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.
ddgr
-
Add Link to selection without using the browser
Using the shell commands plugin and ddgr, I managed to create a nice trick, which allows you to add the link to selected text without having to google it (hard to describe, but the gif should give you the idea). Here is how it works: - install the shell commands plugin https://obsidian.md/plugins?id=obsidian-shellcommands - install ddgr https://github.com/jarun/ddgr - add the following code as shell command: bash query="{{selection}}" link=$(ddgr --num=1 --json "$query" | grep "url" | cut -d'"' -f4) mdlink="[$query]($link)" echo -n "$mdlink" - in the settings for that shell command, set the stdout to "current file: caret position" - you are good to go. (Maybe give it a hotkey)
-
Chatgpt is pretty nice for terminals, one of the biggest reason you leave the terminal is to look stuff up on the web, which you can now do easily from CLI
search from the CLI is hardly new.. some examples by jarun: - google: https://github.com/jarun/googler - duckduckgo: https://github.com/jarun/ddgr
- FLaNK Stack Weekly 3 April 2023
-
What video(s) really demonstrates how effective and helpful vim can be?
Leveraging filter commands (i.e. :!) to easily/quickly manipulate lines or entire buffers/files. For example, :!date will run the external date and show you results, but :.!date (which is done by typing !! then date will run the external date command and put the result on the current line. But, also, if you have the word date on a line, then you can run :.!bash (which is done by typing !! then bash), which will execute the command date and replace the current line with the result. There are infinite uses for this, like :!sort (for sorting text), :!column -t (for aligning/tabulating text), :!awk for text manipulation, :!ddgr duckduckgo cli, ...etc
- ddgr: DuckDuckGo from the terminal
- What happened to jarun/googler GitHub repo?
-
This might be a repost but I was wondering if on there was a program (linux debian based) that would allow you to make searches on youtube for videos (preferely based on mpv) kinda line ani-cli for gogoanime ? (or if there's a way to repurpose ani-cli to search on youtube)
I like ddgr https://github.com/jarun/ddgr. Duckduckgo for the terminal. googler (https://github.com/jarun/googler) was great but google seem to have crippled it, at least for me. ddgr --site youtube.com QUERY .... You can use the builtin URL handler, or the JSON output, to pass the URL to a video player like mpv. yt-dlp is required for mpv to launch the video from URL.
-
I dare you
Here is link number 1 - Previous text "Yes"
- Googler archived
ctop
-
Lazydocker
This does remind me of ctop as well: https://github.com/bcicen/ctop
It also let's you look at containers, resource usage graphs, their logs and even do some actions through a TUI.
-
Portainer Business Edition 5 free nodes plan will change to 3 nodes in the future.
ssh, nnn, micro and ctop is all I need on my dockerhosts
- Ctop – Top-like interface for container metrics
-
Found an amazingly handy terminal UI for both docker and docker-compose. Have actually just added the bin to my git repo with all my compose files. Great for a quick look at what is going on host machines.
My problem with ctop is, that it seems to show wrong memory usage data: https://github.com/bcicen/ctop/issues/314
- FLaNK Stack Weekly 3 April 2023
-
Portainer Alternatives?
When talk about interface and cli... I am a huge fan of ctop
-
What do you think about Portainer?
You can use CTOP. It's like a lite portainer on CLI. You can check logs, stats, restart containers.
-
Ask HN: What is the best source to learn Docker in 2023?
In the terminal, there are also a few useful projects:
- for Docker, there is ctop: https://github.com/bcicen/ctop
-
Docker 2.0 went from $11M to $135M in 2 years
> I tried portainer, awful UX experience and all good features are inside paid version.
This is interesting to me, because it doesn't quite match my experience - I've been using Portainer for around 3 years at this point and it's been pretty decent.
The worst issues that I've gotten is networking issues in some hybrid configurations with Docker Swarm (e.g. Portainer cannot reach the manager node of the cluster for a bit), or troubles configuring Traefik ingresses when managing Kubernetes (though I think the recent patch notes talked about improving the ingress section, so maybe the experience will get better with non-Nginx ingresses).
Other than that, it's been great for onboarding new people, illustrating the cluster state at a glance, easily operating with stacks and scaling/restarting services as needed, including pulling new images, viewing the logs or even connecting to containers through a web UI if need be. The webhook functionality in particular is really nice - you can just do a curl request against a given URL and that will pull the new container versions for the given image and do a redeploy, which works nicely with a variety of CI solutions.
When I last tried, initializing Nomad clusters with networking encryption was a bit less of a smooth experience (needing to essentially manage your own PKI) and the web UI felt more like a dashboard, instead of something that you could click around in, if you're a proponent of that workflow.
Rancher is probably better than both of those options, though there's a certain overhead in regards to running both that software and a full Kubernetes cluster. If Kubernetes feels like a good fit for a particular project and resources aren't an issue, definitely check it out! You can, of course, also have some success with lightweight clusters, like K3s: https://k3s.io/
I'll definitely agree that Lazydocker is a nice tool, but I wouldn't call it superior, just different (TUI vs GUI), their demo video is nice though: https://youtu.be/NICqQPxwJWw
It actually reminds me of ctop, which you might also want to check out, though it's not something that you'd manage clusters in, merely the individual containers on a node (which won't always be enough, same as Docker Compose isn't): https://github.com/bcicen/ctop
Regardless, for Kubernetes, I'm inclined to say that you'd enjoy k9s a bunch then, it has a similar TUI approach: https://k9scli.io/
-
Looking for a simple Docker dashboard
However, something like ctop may be easier to use.
What are some alternatives?
pup - Parsing HTML at the command line
Plausible Analytics - Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
ytfzf - A posix script to find and watch youtube videos from the terminal. (Without API)
colima - Container runtimes on macOS (and Linux) with minimal setup
googler - :mag: Google from the terminal
go-dry - DRY (don't repeat yourself) package for Go
tuxi - Tuxi is a cli assistant. Get answers of your questions instantly.
minify - Go minifiers for web formats
cordless - The Discord terminal client you never knew you wanted.
csvtk - A cross-platform, efficient and practical CSV/TSV toolkit in Golang
wee-slack - A WeeChat script for Slack.com. Supports threads and reactions, synchronizes read markers, provides typing notification, etc..
git-time-metric - Simple, seamless, lightweight time tracking for Git