Stack Overflow command line written in python. Using SoCLI you can search and browse Stack Overflow without leaving the terminal. Just use the socli command:
Install python and just use pip command to install socli:
Download and install Python. Don't forget to check the option "Add to path".
Open a command prompt with administrative privileges and use pip command to install socli:
Use easy_install if your python path has a space in it. Read more: "Failed to create process":
For Mac (via homebrew)
Install python and socli:
Use the command below to update your existing version of socli to the newest version so that you won't miss any features:
Use the socli command followed by the search query:
The above command will search for the query "for loop in python syntax" and displays the first most voted question in Stack Overflow with its most voted answer. Pretty quick, right?
You can search Stack Overflow interactively by using the command below:
This will display a list of questions from Stack Overflow for the query "html error 404" and it will allow you to choose any of the questions you like interactively. When you choose a question, it will display the complete description of the chosen question with its most voted answer. You can also browse through the other answers to that question using the up and down arrow keys as well as go back to the list of questions using the left arrow key.
This will allow you to specify a requested question number for your query. For example, consider the following command:
Stack Overflow supports topic by using tags. socli allows you to query Stack Overflow based on specific tags. Just specify the tag via the following command:
You can also specify multiple tags, Just separate them with a comma:
See the complete list of tags here.
User Profile Browsing
Just use the command below to set your [user ID](https://github.com/beerzyp/socli/ http://meta.stackexchange.com/a/111130) in socli. When you execute the command next time, it will automaticially fetch the data.
if your are an extensive user of StackOverflow, socli allows you to set your own API key to overcome the StackOverflow API Limitations. Just use the command below:
You can get an API Key here by registering as a new app. Please don't use SoCLI as app name.
Posting a New Question
If you can't find an answer for your question in Stack Overflow, socli allows you to create a new question via the web browser. Just type the command below and socli will open the new question page of Stack Overflow in the web browser for you:
socli has the following syntax
This term refers to what you're searching for in Stack Overflow.
These are the amazing features of SoCLI:
Command line interface for:
Please check out the list of issues.
If you are willing to contribute to SoCLI project, you are awesome! Just follow the steps below:
Special thanks to these superheroes:
If you are experiencing any bugs, don’t forget to open a new issue.
If you encounter "AttributeError: 'module' object has no attribute 'SSL ST INIT'
Hope you liked this project, don't forget to give it a star :star: