[go: up one dir, main page]

Skip to content
Max Bridgland edited this page Aug 23, 2019 · 6 revisions

Welcome to the howdoi wiki!

How howdoi works

The answers currently come from Stack Overflow, searched using Google site search. Howdoi scrapes and prints the first code block in the top answer, or the full text of the top answer if it contains no code block.

howdoi/howdoi.py is the code that actually does the work.

Software that uses howdoi

PySimpleGUI

A GUI version of howdoi was written using PySimpleGUI. It runs on Windows and requires Python 3. To install, use pip: pip install pysimplegui-howdoi

To run the installed software python -m pysimplegui-howdoi.pysimplegui-howdoi

The interface looks like this:

snag-0101

Type the query into the bottom portion of the window. The results are displayed in the top. You can highlight, copy and paste the responses. There is a history feature built-in so you can re-run queries. Use the arrow keys or mouse scroll-wheel to cycle through the history.

Learn more about PySimpleGUI: Documentation - http://www.PySimpleGUI.org GitHub - http://www.PySimpleGUI.com

AREPL

A real-time python scratchpad for VSCode. See https://github.com/Almenon/AREPL-vscode

howdoi is a built-in function in AREPL - just call howdoi and pass in your query:

howdoi('calculate fibbonaci in python') # AREPL will print out the result

WebDoI

A flask application that adds a beautiful frontend to the howdoi tool.

Demo Site: https://howdoi.maxbridgland.com

Source Code: https://github.com/M4cs/WebDoI

To do

  • have some way of saying if the answer was right (e.g. $ howdoi thanks)
Clone this wiki locally