stacks-cli 正在参加 2021 年度 OSC 中国开源项目评选,请投票支持!
stacks-cli 在 2021 年度 OSC 中国开源项目评选 中已获得 {{ projectVoteCount }} 票,请投票支持!
2021 年度 OSC 中国开源项目评选 正在火热进行中,快来投票支持你喜欢的开源项目!
2021 年度 OSC 中国开源项目评选 >>> 中场回顾
stacks-cli 获得 2021 年度 OSC 中国开源项目评选「最佳人气项目」 !
授权协议 MIT License
开发语言 JavaScript
操作系统 跨平台
软件类型 开源软件
开源组织
地区 不详
投 递 者 首席测试
适用人群 未知
收录时间 2021-11-17

软件简介

stacks-cli Buy Me A Coffee

stacks-cli

Check website stack from the terminal.

In fact I know there's already a pretty good Chrome extension called Wappalyzer, but I still wanna make a CLI tool for myself. There's 2 major reasons why:

  • I've already installed too many extensions so far.
  • I'm a CLI lover, it's just that simple.

OMMGGGGGGG

stacks-cli

Based on these demands, I started working on fixing these issues.

Install

$ npm install stacks-cli -g

Usage

Type the following command in your terminal:

$ stacks-cli

And the scripts will ask you:

? Which website stack do you wanna browse ?

Copy & Paste the URL of the website you want to analyze:

https://www.cloudflare.com/

Here's a screenshot of the result:

stacks-cli

Helper

Examples
$ stacks-cli

Analyze URL via cli
$ stacks-cli <URL>
$ stacks-cli -u <URL>

Helpers
$ stacks-cli -h


Show current version
$ stacks-cli -v


Source code of this side project
$ stacks-cli -s

Docker

Compile image locally

$ docker build -t stacks-cli .

Use compiled image locally

$ docker run --rm -ti stacks-cli -h

Use already compiled image

$ docker run --rm -ti femtopixel/stacks-cli

License openSource

MIT © WeiChiaChang

展开阅读全文

代码

评论 (0)

加载中
更多评论
暂无内容
发表了博客
2018/06/21 16:59

Docker:Stacks

Prerequisites Install Docker version 1.13 or higher. Get Docker Compose as described in Part 3 prerequisites.(ymal) Get Docker Machine as described in Part 4 prerequisites.(swarm) Read the orientation in Part 1. Learn how to create containers in Part 2. Make sure you have published the friendlyhello image you created by pushing it to a registry. We use that shared image here. Be sure your image...

0
0
发表了博客
2018/12/25 10:29

Stacks And Queues

栈和队列 大型填坑现场,第一部分的还没写,以上。 栈和队列是很基础的数据结构,前者后进先出,后者先进先出,如下图: 下面开始将客户端和具体实现分开,这样有两个好处:一是客户端不知道实现的细节,但同时也会有很多不同实现来选择;二是实现方面也不知道客户端需求的细节,但同时很多客户端可以也重用一样的实现。接口就像把二者连接起来的桥梁。 stacks 栈的操作主要是出栈入栈,热身来一个放字符串的栈。 stack API 栈的...

0
0
发表了博客
2018/04/06 07:57

sort numbers with three stacks

s3 是用来存放sort 结果的,整个算法非常像 selection sort/bubble sort 1: 每次从s1中选出最小的一个放在s3 中,其他非最小的放入s2 中 2: 然后把s2 的数字放回到s1 中 循环结束后,s3 中的就是sort 好的结果 1 public void sort(LinkedList<Integer> s1) { 2 Deque<Integer> s2 = new LinkedList<>(); 3 Deque<Integer> s3 = new LinkedList<>(); 4 5 int size = s1.size(); 6 for (int i =...

0
0
发表了博客
2018/09/08 22:00

UVA120-Stacks of Flapjacks(思维)

Problem UVA120-Stacks of Flapjacks Accept: 9232 Submit: 38455 Time Limit: 10000 mSec Problem Description Input The input consists of a sequence of stacks of pancakes. Each stack will consist of between 1 and 30 pancakes and each pancake will have an integer diameter between 1 and 100. The input is terminated by end-of-file. Each stack is given as a single line of input with the top pancake on a...

0
0
发表了博客
2018/03/19 02:24

sort numbers with two stacks(many duplicates)

1 public class SortNumbersWithTwoStacks { 2 Deque<Integer> stack1 = new LinkedList<>(); 3 Deque<Integer> stack2 = new LinkedList<>(); 4 5 6 public SortNumbersWithTwoStacks() { 7 stack1.push(1); 8 stack1.push(2); 9 stack1.push(4); 10 stack1.push(1); 11 stack1.push(2); 12 stack1.push(1); 13 stack1.push(3); ...

0
0
发表于服务端专区
2020/09/08 23:34

232. Implement Queue using Stacks

题目: 232. Implement Queue using Stacks 题目地址:https://leetcode.com/problems/implement-queue-using-stacks Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue. pop() -- Removes the element from in front of queue. peek() -- Get the front element. empty() -- Return whether the queue is empty. Example: MyQueue queue = new MyQueue(); queue...

0
0
没有更多内容
加载失败,请刷新页面
点击加载更多
加载中
下一页
暂无内容
0 评论
0 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部