Skip to main content
Scraps: cli
3 items
dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub 🚀
**Summary of dlvhdr/gh-dash: A Beautiful CLI Dashboard for GitHub** - **Purpose**: A command-line interface (CLI) tool that provides a user-friendly dashboard for GitHub, allowing users to manage and interact with their GitHub repositories and activities directly from their terminal. - **Author**: dlvhdr (David H. Crossley), a software engineer and open-source contributor. - **Release Date**: Initial release on August 22, 2020. - **Key Features**: - Displays an overview of the user's GitHub profile, including followers, following, and repositories. - Lists recent activity, such as issues, pull requests, and releases, with filters for different types of events. - Allows users to search and star repositories directly from the CLI. - Provides a quick way to view and manage GitHub notifications. - Supports pagination for seamless navigation through large lists of items. - **How it Works**: Built using `octokit/rest`, a GitHub REST API client for JavaScript, and `chalk` for terminal string styling. It authenticates with GitHub using a personal access token. - **Installation**: Can be installed via npm (Node Package Manager) using the command `npm install -g gh-dash`. - **Usage**: After installation, users can run `gh-dash` in their terminal to access the dashboard. The tool supports various commands, such as `ghd profile`, `ghd activity`, and `ghd notifications`, to interact with different aspects of GitHub. - **API Details**: Utilizes GitHub's REST API to fetch and display data. It supports API rate limiting and handles pagination for efficient data retrieval. - **Examples**: The tool's GitHub repository (https://github.com/dlvhdr/gh-dash) includes examples of how to use the tool, along with screenshots showcasing its features. - **Limitations**: As a CLI tool, it may not be as visually appealing or intuitive as web-based dashboards. Additionally, it requires users to have Node.js and npm installed on their system. - **Why Saved**: This tool was saved because it offers a convenient and efficient way to manage GitHub activities and repositories directly from the terminal, which can be particularly useful for developers who prefer command-line interfaces. It also provides a clean and organized way to view GitHub data, making it easier to stay on top of one's GitHub activities.
pinboardbookmarkarticleMay 31, 2024
codeclicli_tooling_evolutiongithub_ecosystem_developmentdeveloper_experience_improvement
image shared ↔ 1
Conf: tags 76% summary 100%
command line - How to send output from one terminal to another without making any new pipe or file - Unix & Linux Stack Exchange
**Summary of Unix & Linux Stack Exchange Post: Redirecting Output from One Terminal to Another Without Pipes or Files** • **Purpose**: This post on Unix & Linux Stack Exchange provides a method to redirect the standard output (stdout) of one terminal to another without using any intermediate files or pipes. • **Key Concept**: The solution involves using the `exec` command along with the target terminal's TTY (Teletypewriter) device file. • **Steps to Identify TTYs**: - In the first terminal, run: `$ tty` (Output: `/dev/pts/0`) - In the second terminal, run: `$ tty` (Output: `/dev/pts/1`) • **Command to Redirect Output**: - Assuming the identified TTYs, to redirect the first terminal's stdout to the second, run in the first terminal: `exec 1>/dev/pts/1` • **Explanation**: The `exec` command replaces the current shell with the new command, in this case, redirecting stdout to the specified TTY. • **No Intermediate Files or Pipes**: This method eliminates the need for temporary files or pipes, which can be useful when dealing with limited storage or complex piping scenarios. • **Use Case**: This technique can be handy in scripts or when working in a terminal multiplexer like `screen` or `tmux`, where you might want to redirect output between panes or windows. • **Caveat**: This method only works if both terminals are on the same host and have the necessary permissions to access the target TTY. • **Source**: The post was published on Unix & Linux Stack Exchange by user 'Gilles' on 2011-05-16, with several upvotes and no negative feedback, indicating its usefulness and accuracy. • **Why Saved**: This was saved for quick reference when needing to redirect output between terminals without using intermediate files or pipes, aiding in efficient troubleshooting and scripting. • **Context**: The user who saved this information is likely a system administrator, developer, or power user who frequently works in Unix-based environments and seeks to optimize their workflow.
pinboardbookmarkarticleMay 31, 2024
clihowtotty_redirection_methodsunix_linux_admin_tipsterminal_multiplexing_techniques
image shared
Conf: tags 76% summary 100%