前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >酷软趣站 | 23 个超好用的终端效率工具(GO 系列)

酷软趣站 | 23 个超好用的终端效率工具(GO 系列)

作者头像
iMike
发布2021-05-18 14:46:52
8350
发布2021-05-18 14:46:52
举报
文章被收录于专栏:运维之美运维之美

Github 上 Star 的项目有点多,整理了一些有意思的用 Go 编写的终端实用工具分享给大家,非常值得一试哟!

syncthing

一款强大的文件同步工具,可用来构建私人同步盘。

  • https://github.com/syncthing/syncthing

fzf

一个强大的终端文件浏览器。

  • https://github.com/junegunn/fzf

hey

http 负载测试工具,简单好用。

  • https://github.com/rakyll/hey

vegeta

http 负载测试工具,功能强大。

  • https://github.com/tsenart/vegeta

dive

功能强大的Docker镜像分析工具,可以查看每层镜像的具体差异等。

  • https://github.com/wagoodman/dive

ctop

容器运行时资源分析,如CPU、内存消耗等。

  • https://github.com/bcicen/ctop

container-diff

Google推出的工具,功能就顾名思义了。

  • https://github.com/GoogleContainerTools/container-diff

transfer.sh

快捷的终端文件分享工具。

  • https://github.com/dutchcoders/transfer.sh

vuls

Linux/FreeBSD漏洞扫描工具。

  • https://github.com/future-architect/vuls

restic

高性能安全的文件备份工具。

  • https://github.com/restic/restic

gitql

使用 sql 的方式查询 git 提交。

  • https://github.com/cloudson/gitql

gitflow-toolkit

一款快速生成 Gitflow 格式 commit message 的小工具。

  • https://github.com/mritd/gitflow-toolkit

git-chglog

对主流的 Gitflow 格式的 commit message 生成 CHANGELOG

  • https://github.com/git-chglog/git-chglog

grv

一个 git 终端图形化浏览工具。

  • https://github.com/rgburke/grv

jid

命令行json格式化处理工具,类似jq,不过感觉更加强大。

  • https://github.com/simeji/jid

annie

类似 youget 的一个视频下载工具,可以解析大部分视频网站直接下载。

  • https://github.com/iawia002/annie
代码语言:javascript
复制
$ annie -i https://www.youtube.com/watch?v=dQw4w9WgXcQ

 Site:      YouTube youtube.com
 Title:     Rick Astley - Never Gonna Give You Up (Video)
 Type:      video
 Streams:   # All available quality
     [248]  -------------------
     Quality:         1080p video/webm; codecs="vp9"
     Size:            49.29 MiB (51687554 Bytes)
     # download with: annie -f 248 ...

     [137]  -------------------
     Quality:         1080p video/mp4; codecs="avc1.640028"
     Size:            43.45 MiB (45564306 Bytes)
     # download with: annie -f 137 ...

     [398]  -------------------
     Quality:         720p video/mp4; codecs="av01.0.05M.08"
     Size:            37.12 MiB (38926432 Bytes)
     # download with: annie -f 398 ...

     [136]  -------------------
     Quality:         720p video/mp4; codecs="avc1.4d401f"
     Size:            31.34 MiB (32867324 Bytes)
     # download with: annie -f 136 ...

     [247]  -------------------
     Quality:         720p video/webm; codecs="vp9"
     Size:            31.03 MiB (32536181 Bytes)
     # download with: annie -f 247 ...

up

Linux 下管道式终端搜索工具。

  • https://github.com/akavel/up

lego

Let’s Encrypt证书申请工具。

  • https://github.com/xenolf/lego
代码语言:javascript
复制
NAME:
   lego - Let's Encrypt client written in Go

USAGE:
   lego [global options] command [command options] [arguments...]

COMMANDS:
     run      Register an account, then create and install a certificate
     revoke   Revoke a certificate
     renew    Renew a certificate
     dnshelp  Shows additional help for the --dns global option
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --domains value, -d value   Add a domain to the process. Can be specified multiple times.
   --csr value, -c value       Certificate signing request filename, if an external CSR is to be used
   --server value, -s value    CA hostname (and optionally :port). The server certificate must be trusted in order to avoid further modifications to the client. (default: "https://acme-v02.api.letsencrypt.org/directory")
   --email value, -m value     Email used for registration and recovery contact.
   --filename value            Filename of the generated certificate
   --accept-tos, -a            By setting this flag to true you indicate that you accept the current Let's Encrypt terms of service.
   --eab                       Use External Account Binding for account registration. Requires --kid and --hmac.
   --kid value                 Key identifier from External CA. Used for External Account Binding.
   --hmac value                MAC key from External CA. Should be in Base64 URL Encoding without padding format. Used for External Account Binding.
   --key-type value, -k value  Key type to use for private keys. Supported: rsa2048, rsa4096, rsa8192, ec256, ec384 (default: "rsa2048")
   --path value                Directory to use for storing the data (default: "./.lego")
   --exclude value, -x value   Explicitly disallow solvers by name from being used. Solvers: "http-01", "dns-01", "tls-alpn-01".
   --webroot value             Set the webroot folder to use for HTTP based challenges to write directly in a file in .well-known/acme-challenge
   --memcached-host value      Set the memcached host(s) to use for HTTP based challenges. Challenges will be written to all specified hosts.
   --http value                Set the port and interface to use for HTTP based challenges to listen on. Supported: interface:port or :port
   --tls value                 Set the port and interface to use for TLS based challenges to listen on. Supported: interface:port or :port
   --dns value                 Solve a DNS challenge using the specified provider. Disables all other challenges. Run 'lego dnshelp' for help on usage.
   --http-timeout value        Set the HTTP timeout value to a specific value in seconds. The default is 10 seconds. (default: 0)
   --dns-timeout value         Set the DNS timeout value to a specific value in seconds. The default is 10 seconds. (default: 0)
   --dns-resolvers value       Set the resolvers to use for performing recursive DNS queries. Supported: host:port. The default is to use the system resolvers, or Google's DNS resolvers if the system's cannot be determined.
   --pem                       Generate a .pem file by concatenating the .key and .crt files together.
   --help, -h                  show help
   --version, -v               print the version

noti

贼好用的终端命令异步执行通知工具。

  • https://github.com/variadico/noti

sup

类似 Ansible 的一个批量执行工具,暂且称之为低配版 Ansible。

  • https://github.com/pressly/sup

gosu

临时切换到指定用户运行特定命令,方便测试权限问题。

  • https://github.com/tianon/gosu
代码语言:javascript
复制
$ gosu
Usage: ./gosu user-spec command [args]
   eg: ./gosu tianon bash
       ./gosu nobody:root bash -c 'whoami && id'
       ./gosu 1000:1 id

mmh

支持无限跳板机登录的 ssh 小工具。

  • https://github.com/mritd/mmh

aptly

Debian 仓库管理工具。

  • https://github.com/aptly-dev/aptly
本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2021-05-10,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 奇妙的Linux世界 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • syncthing
  • fzf
  • hey
  • vegeta
  • dive
  • ctop
  • container-diff
  • transfer.sh
  • vuls
  • restic
  • gitql
  • gitflow-toolkit
  • git-chglog
  • grv
  • jid
  • annie
  • up
  • lego
  • noti
  • sup
  • gosu
  • mmh
  • aptly
相关产品与服务
容器服务
腾讯云容器服务(Tencent Kubernetes Engine, TKE)基于原生 kubernetes 提供以容器为核心的、高度可扩展的高性能容器管理服务,覆盖 Serverless、边缘计算、分布式云等多种业务部署场景,业内首创单个集群兼容多种计算节点的容器资源管理模式。同时产品作为云原生 Finops 领先布道者,主导开源项目Crane,全面助力客户实现资源优化、成本控制。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档