{"id":15067276,"url":"https://github.com/mleidel/gptcom","last_synced_at":"2026-02-22T09:31:44.338Z","repository":{"id":209536629,"uuid":"724294809","full_name":"MLeidel/gptcom","owner":"MLeidel","description":"A command line AI client for Linux written in C using the OpenAI API","archived":false,"fork":false,"pushed_at":"2024-02-26T21:55:01.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T16:23:27.061Z","etag":null,"topics":["c","command-line","curl-library","json-api","linux-app","openai-api"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MLeidel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-11-27T19:42:56.000Z","updated_at":"2023-11-27T21:54:12.000Z","dependencies_parsed_at":"2023-11-30T03:24:26.256Z","dependency_job_id":"2cbfc9b6-fbcd-427b-a508-2059573e7c7b","html_url":"https://github.com/MLeidel/gptcom","commit_stats":null,"previous_names":["mleidel/gptcom"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MLeidel%2Fgptcom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MLeidel%2Fgptcom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MLeidel%2Fgptcom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MLeidel%2Fgptcom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MLeidel","download_url":"https://codeload.github.com/MLeidel/gptcom/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822306,"owners_count":20353499,"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":["c","command-line","curl-library","json-api","linux-app","openai-api"],"created_at":"2024-09-25T01:18:59.885Z","updated_at":"2025-10-28T05:03:52.498Z","avatar_url":"https://github.com/MLeidel.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gptcom\n__A command line AI client for Linux written C using the OpenAI API__\n\ngptcom is a small, one file, command-line executable that accepts Gpt prompts and prints\ntext responses to in the terminal.\n\nAll arguments typed after the command are input as the one prompt.\n\nWhen executed with no arguments a GUI text input box opens to accept your prompt.\n\nA running text log is kept: /$HOME/gptcom.log\n\n---\n\ngptcom uses three environment variables:\n\n- GPTKEY=your OpenAI API key\n- GPTMOD=the OpenAI Gpt model name to use\n- HOME=your Linux user home directory\n\nexample:\n```bash\nexport GPTMOD=\"gpt-4\"\n```\n---\n__zenity__ must be installed on your system:  \n```bash\nsudo apt install zenity\n```\nTo compile the source:\n```bash\ngcc -o gptcom gptcom.c -O1 -w JSON/cJSON.c -lm -l curl\n```\n\nThe curl library for c is also used:\n```bash\nsudo apt-get install libcurl4-openssl-dev\n```\nor download the library files from the cURL website.\n\n---\nbash file:\n\n\u003e`gptcom \"$@\"`\n\nSave as '$'\n\nExecute at command line:  \n\n\u003e`$ hello gpt ...`\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmleidel%2Fgptcom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmleidel%2Fgptcom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmleidel%2Fgptcom/lists"}