Skip to content

ablil/pyhowto

Repository files navigation

pyhowto

howto

Another howdoi but AI Powered

A minimalist command-line tool that fetches concise technical solutions from AI providers (OpenAI, Gemini, DeepSeek). with AI capabilities.

CI

Installation

pip instal pyhowdoi

Usage

Basic

$ howto get current timestamp in bash
> `date +%s` (seconds since epoch) or `date +"%Y-%m-%d %H:%M:%S"` (human-readable)

Switch AI provider

$ howto --provider deepseek get current timestamp in bash
> `date +%s` (seconds since epoch) or `date +"%Y-%m-%d %H:%M:%S"` (human-readable)

Supported AI providers:

AI provider Required env key Model
gemini (default) GEMINI_API_KEY gemini-1.5-flash
deepseek DEEPSEEK_API_KEY deepseek-chat
openai OPENAI_API_KEY gpt-4o