{"id":18258566,"url":"https://github.com/eiz/chatgpt2py","last_synced_at":"2025-04-08T23:22:03.056Z","repository":{"id":188461651,"uuid":"609160658","full_name":"eiz/chatgpt2py","owner":"eiz","description":"step aside, curl | bash.","archived":false,"fork":false,"pushed_at":"2023-03-03T16:01:16.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T18:18:59.599Z","etag":null,"topics":[],"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/eiz.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}},"created_at":"2023-03-03T14:01:35.000Z","updated_at":"2023-03-03T14:15:55.000Z","dependencies_parsed_at":"2023-08-15T13:11:38.856Z","dependency_job_id":null,"html_url":"https://github.com/eiz/chatgpt2py","commit_stats":null,"previous_names":["eiz/chatgpt2py"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiz%2Fchatgpt2py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiz%2Fchatgpt2py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiz%2Fchatgpt2py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eiz%2Fchatgpt2py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eiz","download_url":"https://codeload.github.com/eiz/chatgpt2py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247942487,"owners_count":21022209,"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":[],"created_at":"2024-11-05T10:32:42.357Z","updated_at":"2025-04-08T23:22:03.035Z","avatar_url":"https://github.com/eiz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"my contribution to the ChatGPT craze.\n\nInstall:\n\n```\ncargo install chatgpt2py\n```\n\nPut your OpenAI API key in a text file called `~/.openai`\n\nUsage:\n\n```\neiz@eiz13k:~$ gpt print all the sysctls from /proc/sys | python\n['abi', 'debug', 'dev', 'fs', 'fscache', 'kernel', 'net', 'sunrpc', 'user', 'vm']\neiz@eiz13k:~$ gpt print all the sysctls from /proc/sys, recursively | python\n/proc/sys/abi/vsyscall32\n/proc/sys/debug/exception-trace\n/proc/sys/debug/kprobes-optimization\n/proc/sys/dev/raid/speed_limit_max\n/proc/sys/dev/raid/speed_limit_min\n/proc/sys/dev/scsi/logging_level\n/proc/sys/dev/tty/ldisc_autoload\n/proc/sys/fs/aio-max-nr\n/proc/sys/fs/aio-nr\n...\neiz@eiz13k:~/chatgpt2py$ gpt print the first 10 prime numbers | python\n2\n3\n5\n7\n11\n13\n17\n19\n23\n29\neiz@eiz13k:~$ gpt automate updating an ubuntu system | python\n[sudo] password for eiz:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feiz%2Fchatgpt2py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feiz%2Fchatgpt2py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feiz%2Fchatgpt2py/lists"}