Skip to content

A tool to fetch stackoverflow answers to you in a JSON file.

License

Notifications You must be signed in to change notification settings

sumandipanshu/AnswerMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Perl Stars Issues Forks

InstallationUsageKey FeaturesTo-Do


AnswerMe is a script (written in perl) which fetches you the StackOverflow answers for all of your programming/coding doubts. It uses StackOverflow as well as Google's best search results available.

It is inspired from HowTo which is purely written in Go.


Installation

Clone the repo, install prerequisites (see below), then build it:

# clone this repo
$ git clone https://github.com/sumandipanshu/AnswerMe.git

# change the working directory to AnswerMe
$ cd AnswerMe

# install perl5 if not installed

$ perl Makefile.PL

# build + unit tests
$ make && make test

Then install it:

# this step may require writing permissions
$ sudo make install

Note: On Windows platforms, you should use dmake or nmake, instead of make.

If your perl is system-managed, you can create a local::lib in your home directory to install modules to. For details, see the local::lib documentation: https://metacpan.org/pod/local::lib

The prerequisites of this distribution will also have to be installed manually. The prerequisites are listed in one of the files: MYMETA.yml or MYMETA.json generated by running the manual build process described above.

Usage

To run this script, type the following:

$ answerme.pl

You can find the Search Results in your working directory named as results.json.


Features

  • Uses google's result along with stackoverflow's result.
  • Provides JSON file containing results from both (can used wherever you want).

To-Do

  • Add google results along with stackoverflow results
  • Create a Terminal ui for navigating through the answers
  • Implement Syntax Highlighting for code parts
  • Setup the AnswerMe on Docker

License

License


About

A tool to fetch stackoverflow answers to you in a JSON file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages