{"id":25898260,"url":"https://github.com/clebsf/terminal-ai","last_synced_at":"2025-03-03T00:17:46.900Z","repository":{"id":278661932,"uuid":"867314368","full_name":"clebsf/terminal-ai","owner":"clebsf","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-03T21:10:16.000Z","size":12405,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T01:39:24.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clebsf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-10-03T20:37:45.000Z","updated_at":"2024-10-03T21:04:52.000Z","dependencies_parsed_at":"2025-02-21T01:39:27.004Z","dependency_job_id":"36da1aca-4f5d-4dcf-af0d-1445062abb31","html_url":"https://github.com/clebsf/terminal-ai","commit_stats":null,"previous_names":["clebsf/terminal-ai"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clebsf%2Fterminal-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clebsf%2Fterminal-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clebsf%2Fterminal-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clebsf%2Fterminal-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clebsf","download_url":"https://codeload.github.com/clebsf/terminal-ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241587831,"owners_count":19986628,"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":"2025-03-03T00:17:46.369Z","updated_at":"2025-03-03T00:17:46.882Z","avatar_url":"https://github.com/clebsf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TERMINAL AI\n\n## Description\nTerminal AI is an AI assistant that runs directly in the user's terminal, utilizing the OpenAI API.\n\n## Prerequisites\n- Python 3.6 or higher\n- A valid OpenAI API key\n\n## Installation\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/byClebert/terminal-ai.git\n   cd terminal-ai\n   ```\n\n2. Create a virtual environment (optional, but recommended):\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`\n   ```\n\n3. Install the dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Set the environment variable with your OpenAI API key:\n   ```bash\n   setx OPENAI_API_KEY \"your_api_key_here\"  # On Windows\n   export OPENAI_API_KEY=\"your_api_key_here\"  # On Linux/Mac\n   ```\n\n## Usage\n\n1. Start the application:\n   ```bash\n   python main.py\n   ```\n\n2. Interact with the assistant by typing your questions or commands in the terminal.\n\n3. To exit the application, type `exit` or press `Ctrl+C`.\n\n## Creating an Executable\n\nTo create an executable of the project, follow these steps:\n\n1. Install PyInstaller if you haven't already:\n   ```bash\n   pip install pyinstaller\n   ```\n\n2. Run PyInstaller on the main script:\n   ```bash\n   pyinstaller --onefile main.py\n   ```\n\n3. The executable will be located in the `dist` directory.\n\n4. Run the executable directly on your system.\n\n## Contribution\nFeel free to open issues or submit pull requests for improvements.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclebsf%2Fterminal-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclebsf%2Fterminal-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclebsf%2Fterminal-ai/lists"}