Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mlh-fellowship/stackoverflow-cli

💥 Work with the Stack Overflow inside your terminal
https://github.com/mlh-fellowship/stackoverflow-cli

automation nodejs nodejs-cli stackoverflow stackoverflow-api terminal-app

Last synced: about 1 month ago
JSON representation

💥 Work with the Stack Overflow inside your terminal

Awesome Lists containing this project

README

        

![stackoverflow-cli](images/cover.png)


Search any query on Stack Overflow without leaving your IDE


version
downloads
license

# 💥 stackoverflow-cli

- Search any query inside your terminal
- Top 10 threads
- Order the results in ascending/descending order
- Sort the results via relevance/votes/activity/creation

## ↓ INSTALL

```sh
# install the cli globally
npm i -g cli-stackoverflow

# use it via npx
npx cli-stackoverflow
```

## ⚡️ USAGE

You can run the CLI by executing following commands inside the terminal:

```sh
stack
```

### 📃 Guide

- Right → key – Next thread
- Left ← key – Prev thread
- Up ↑ key – Next Answer
- Down ↓ key – Prev Answer

![demo](images/demo.gif)

### 🏳 Flags

```sh
# CLI help
stack --help
```

![help text](images/cli-help.png)

```sh
# Order results in ascending order
stack --asc

# Sort results according to the most activity
stack --activity

# Sort results according to votes
stack --votes

# Sort results according to the creation
stack --creation
```

![flags](images/flags-demo.gif)

## 👨🏻‍💻 CONTRIBUTORS

- [Saad Irfan](https://github.com/msaaddev)
- [Aneesh Kodali](https://github.com/aneeshkodali)
- [Angelina Gasharova](https://github.com/angelinag)

## 🔑 LICENSE

- MIT