{"id":13408156,"url":"https://github.com/MakisChristou/rustgpt","last_synced_at":"2025-03-14T12:32:13.546Z","repository":{"id":154224463,"uuid":"627605005","full_name":"MakisChristou/rustgpt","owner":"MakisChristou","description":"Yet another command-line chat GPT frontend written in Rust.","archived":false,"fork":false,"pushed_at":"2023-08-04T20:47:16.000Z","size":59,"stargazers_count":32,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T02:52:30.864Z","etag":null,"topics":["chat","chatbot","chatgpt","chatgpt-cli","gpt-3","gpt-4","gpt3-turbo","openai","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/MakisChristou.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}},"created_at":"2023-04-13T20:15:31.000Z","updated_at":"2025-01-20T00:44:22.000Z","dependencies_parsed_at":"2024-01-07T21:02:11.522Z","dependency_job_id":"25106a77-7398-45a8-a48a-2f289cab610e","html_url":"https://github.com/MakisChristou/rustgpt","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakisChristou%2Frustgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakisChristou%2Frustgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakisChristou%2Frustgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakisChristou%2Frustgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MakisChristou","download_url":"https://codeload.github.com/MakisChristou/rustgpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243578539,"owners_count":20313848,"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":["chat","chatbot","chatgpt","chatgpt-cli","gpt-3","gpt-4","gpt3-turbo","openai","rust"],"created_at":"2024-07-30T20:00:51.109Z","updated_at":"2025-03-14T12:32:11.851Z","avatar_url":"https://github.com/MakisChristou.png","language":"Rust","funding_links":[],"categories":["\u003ca name=\"ai\"\u003e\u003c/a\u003eAI / ChatGPT","Rust"],"sub_categories":[],"readme":"# rustgpt\nYet another command-line chat GPT frontend written in Rust.\n\n![Example Usage](https://user-images.githubusercontent.com/39631552/232221182-d0d8409f-ff76-4bad-b909-77c9ff44740b.gif)\n\n## Install\n```bash\ncargo install rustgpt\n```\n\n## Features\n* Stream output with typing effect\n* Store chat messages/history\n* Context aware conversation\n* Simple and minimal\n* Multiline mode (use `{}` to enter multiline mode)\n\n## Prompt Shortcuts\n* Search History `CTRL + R`\n* Clear Prompt `CTRL + L`\n* Exit `CTRL + C` twice\n\n## Future Features\n* ~~Multiline input~~\n* Syntax highlighting\n* Choose model/role\n* Add Jailbreaks\n\n## Build\n1. Clone the repository to your local machine.\n2. Navigate to the directory where the repository was cloned.\n3. Run the following command to build the application:\n\n```bash\n$ cargo build --release\n```\n\nQuickly run \n```bash\n$ cargo run\n```\n\n## Getting Started\nTo get the most basic of setups up and running you need to create a `.env` file and populate it with your api key\n\n```bash\ntouch .env\n```\n\nEdit your `.env` file by adding your api key.\n\n```bash\nAPI_KEY=sk-...\n```\n\nTo exit the program simply Ctrl + C twice.\n\n\n## Configuration Options\n\n- `API_KEY`: Set this to your chat gpt api key\n- `CONTEXT`:  (Optional) Set this to `true` if you want to keep context in your conversation. Default `false`.\n- `HISTORY`: (Optional) Set this to `true` if you want to store your chat history. Default `false`.\n- `MODEL`: (Optional) Set this to any of the models supported by OpenAI (`gpt-4`, `gpt-4-0314`, `gpt-4-32k`, `gpt-4-32k-0314`, `gpt-3.5-turbo`, `gpt-3.5-turbo-0301`) Default `gpt-3.5-turbo`\n- `TYPING_DELAY`: (Optional) Set the delay between each letter in milliseconds (Default `10`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMakisChristou%2Frustgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMakisChristou%2Frustgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMakisChristou%2Frustgpt/lists"}