{"repo":"dawid-szewc/perplexity-cli","free":true,"listed":false,"github":"https://github.com/dawid-szewc/perplexity-cli","clone":"git clone https://github.com/dawid-szewc/perplexity-cli.git","description":"🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀","language":"Python","stars":178,"topics":["ai","bash-script","llm-inference","perplexity","perplexity-ai","perplexity-api","python","python3","bash","zsh"],"license":"MIT","category":"cli-tools","readme_excerpt":"Perplexity CLI 🔎 Perplexity CLI is a simple and convenient command-line client for the Perplexity API, allowing users to quickly ask questions and receive answers directly from the terminal. Features - Easy querying of the Perplexity API - Support for various language models - Optional display of token usage statistics - Optional display of citations - Colorful output formatting (with glow support) - API key handling from environment variable or command-line argument Requirements - Python 3.6+ - requests library Installation No installation is required. You can run the script directly from the GitHub repository or install it locally.Example of local installation: Usage With Additional Options Options - -v , --verbose : Enable debug mode - -u , --usage : Show token usage statistics - -c , --citations : Show citations - -g , --glow : Use Glow-compatible formatting - -a API KEY , --api-key API KEY : Set the API key (optional, defaults to PERPLEXITY API KEY environment variable) - -m MODEL , --model MODEL : Choose the language model (default: sonar-pro) Available Models - sonar-reasoning-pro - sonar-reasoning - sonar-pro - sonar Configuration Set the PERPLEXITY API KEY environment variable with your Perplexity API key: License This project is released under the MIT License. Author Dawid Szewc Contributing We welcome issue reports and suggestions for improvements through GitHub Issues.It's worth noting that the project is actively developed and may contain additional features or ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dawid-szewc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dawid-szewc/perplexity-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}