{"id":20481291,"url":"https://github.com/0xricksanchez/howto","last_synced_at":"2026-05-07T20:10:33.510Z","repository":{"id":185697045,"uuid":"673950577","full_name":"0xricksanchez/howto","owner":"0xricksanchez","description":"openAI command-line helper tool to ask chatGPT \"how to do X\"","archived":false,"fork":false,"pushed_at":"2023-08-07T10:50:25.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-16T04:12:06.588Z","etag":null,"topics":["ai","howto","openai","openai-api"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xricksanchez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-02T19:47:35.000Z","updated_at":"2023-08-03T23:17:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"541a9d8f-2b73-41ba-a204-ffc8448c2f49","html_url":"https://github.com/0xricksanchez/howto","commit_stats":null,"previous_names":["0xricksanchez/howto"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xricksanchez%2Fhowto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xricksanchez%2Fhowto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xricksanchez%2Fhowto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xricksanchez%2Fhowto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xricksanchez","download_url":"https://codeload.github.com/0xricksanchez/howto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242058080,"owners_count":20065062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","howto","openai","openai-api"],"created_at":"2024-11-15T16:07:39.670Z","updated_at":"2026-05-07T20:10:28.487Z","avatar_url":"https://github.com/0xricksanchez.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAI How-To Helper\n\nThis Rust program provides a simple CLI to interact with OpenAI's GPT* models using the OpenAI API.\n\n## Prerequisites\n\n- [Rust](https://www.rust-lang.org/tools/install)\n- [OpenAI API Key](https://openai.com/blog/openai-api)\n\n## Setup\n\nFirst, build the binary:\n\n```bash\ncargo build --release\n```\n\nThen you can run the program with:\n\n```bash\nexport OPENAI_API_KEY=your-api-key\ncargo build\n./target/debug/howto get closer to world peace\nPromote open dialogue, empathy, and understanding between different cultures and nations. Encourage diplomacy, conflict resolution, and cooperation on global issues. Foster education, tolerance, and respect for diversity. Support organizations and initiatives dedicated to peacebuilding and non-violence.\n```\n\n### Usage\n\n```bash\nUsage: howto [OPTIONS] \u003cMESSAGE\u003e...\n\nArguments:\n  \u003cMESSAGE\u003e...  \n\nOptions:\n  -m, --model \u003cMODEL\u003e              The openAI model to use [default: gpt-3.5-turbo]\n  -t, --temperature \u003cTEMPERATURE\u003e  The temperature to use for the model. Higher values mean more random results. A value between 0.0 and 1.0! [default: 0.5]\n  -x, --max-tokens \u003cMAX_TOKENS\u003e    The maximum number of tokens to generate. Between 1 and 2048 [default: 2048]\n  -s, --stream                     Disable streaming the output from openAI.\n  -h, --help                       Print help\n  -V, --version                    Print version\n```\n\n## Contributing\n\nContributions are welcome. Please open an issue to discuss your ideas before making large changes.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xricksanchez%2Fhowto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xricksanchez%2Fhowto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xricksanchez%2Fhowto/lists"}