{"id":21286074,"url":"https://github.com/vineetagarwal-code/goask","last_synced_at":"2025-07-11T11:32:39.229Z","repository":{"id":255418269,"uuid":"849556090","full_name":"VineeTagarwaL-code/goask","owner":"VineeTagarwaL-code","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-30T05:10:46.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T03:21:52.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/VineeTagarwaL-code.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-08-29T20:00:46.000Z","updated_at":"2025-01-25T21:14:32.000Z","dependencies_parsed_at":"2024-08-29T22:20:45.081Z","dependency_job_id":"5e1e5d20-946c-4c2c-943f-21b19d113a8d","html_url":"https://github.com/VineeTagarwaL-code/goask","commit_stats":null,"previous_names":["vineetagarwal-code/goask"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VineeTagarwaL-code/goask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VineeTagarwaL-code%2Fgoask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VineeTagarwaL-code%2Fgoask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VineeTagarwaL-code%2Fgoask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VineeTagarwaL-code%2Fgoask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VineeTagarwaL-code","download_url":"https://codeload.github.com/VineeTagarwaL-code/goask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VineeTagarwaL-code%2Fgoask/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264795402,"owners_count":23665231,"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-21T11:27:29.489Z","updated_at":"2025-07-11T11:32:38.936Z","avatar_url":"https://github.com/VineeTagarwaL-code.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoAsk - AI-powered Linux Command Assistant\n\nGoAsk is a command-line tool that uses AI to suggest and execute Linux commands based on natural language descriptions.\n\nhttps://github.com/user-attachments/assets/d4a02d95-533f-4c64-9a53-95651e449396\n\n## Installation\n\n1. Ensure you have Go installed on your system. If not, download and install it from [golang.org](https://golang.org/).\n\n2. Clone this repository or download the `goask.go` file.\n\n3. Install the required dependencies:\n\n\n   ```\n   go get github.com/joho/godotenv\n   ```\n\n4. Compile the program:\n   ```\n   go build -o goask goask.go\n   ```\n\n5. Move the compiled binary to a directory in your system's PATH. For example:\n   ```\n   sudo mv goask /usr/local/bin/\n   ```\n\n## Configuration\n\n1. Create a `.goask.env` file in your home directory:\n   ```\n   touch ~/.goask.env\n   ```\n\n2. Open the `.goask.env` file in a text editor and add your Gemini API key and endpoint:\n   ```\n   GEMINI_API_KEY=your_actual_api_key_here\n   GEMINI_API_ENDPOINT=https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:generateContent\n   ```\n\n   Replace `your_actual_api_key_here` with your real Gemini API key.\n\n3. Save and close the file.\n\n## Usage\n\nOnce installed and configured, you can use GoAsk from anywhere in your terminal:\n\n```\ngoask how to do something in linux\n```\n\nFor example:\n```\ngoask how to list all files including hidden ones\n```\n\nThe AI will suggest a command, and you'll be prompted whether you want to execute it.\n\n## Safety Note\n\nAlways review the suggested command before executing it, especially for commands that might modify your system.\n\n## Troubleshooting\n\nIf you encounter any issues:\n\n1. Ensure your `.goask.env` file is correctly set up in your home directory.\n2. Check that you have the necessary permissions to execute the `goask` command.\n3. Verify that your Gemini API key is valid and has the necessary permissions.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\n[Specify your license here]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvineetagarwal-code%2Fgoask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvineetagarwal-code%2Fgoask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvineetagarwal-code%2Fgoask/lists"}