{"id":26063746,"url":"https://github.com/mavrick-1/mavrickai","last_synced_at":"2026-04-27T05:06:51.765Z","repository":{"id":243545912,"uuid":"812721650","full_name":"MAVRICK-1/mavrickAI","owner":"MAVRICK-1","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-09T17:47:29.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-10T21:07:39.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/MAVRICK-1.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-06-09T17:35:22.000Z","updated_at":"2024-06-09T17:47:31.000Z","dependencies_parsed_at":"2024-06-09T19:17:13.563Z","dependency_job_id":null,"html_url":"https://github.com/MAVRICK-1/mavrickAI","commit_stats":null,"previous_names":["mavrick-1/mavrickai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MAVRICK-1/mavrickAI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAVRICK-1%2FmavrickAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAVRICK-1%2FmavrickAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAVRICK-1%2FmavrickAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAVRICK-1%2FmavrickAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MAVRICK-1","download_url":"https://codeload.github.com/MAVRICK-1/mavrickAI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAVRICK-1%2FmavrickAI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32323233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08T17:18:42.628Z","updated_at":"2026-04-27T05:06:51.742Z","avatar_url":"https://github.com/MAVRICK-1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"```markdown\n# Mavrick - Free ChatBot CLI 🤖\n\n`Mavrick` is a command-line interface (CLI) `AI ChatBot` that uses `Google’s Gemini` API to generate natural language responses. You can chat with Mavrick about anything, from images to documents, and have fun and engaging conversations.\n\n## Quick Demo\n[![Mavrick Demo](https://github.com/sujjeee/gemai/assets/101963203/461c7675-33ad-4a91-a98a-ff8a2f29d8f6)](https://github.com/sujjeee/gemai/assets/101963203/461c7675-33ad-4a91-a98a-ff8a2f29d8f6)\n\n## Installation:\nInstalling Mavrick is simple. For global access, execute one of the commands below:\n\n* **Using Node Package Manager (NPM):**\n```bash\nnpm install -g mavrick\n```\n\n* **or if you are using (PNPM):**\n```bash\npnpm install -g mavrick\n```\n\n## Usage:\n\n### Logging In:\nBefore using Mavrick, you'll need to log in with your Google Gemini API token. To do this, run the following command:\n\n```bash\nmavrick login [token]\n```\n\n**Example:**\n```bash\nmavrick login Flqw9TUeaSkRfRii3lmgZLid\n```\n\nThis command sends a request to the Gemini endpoint for authentication. Upon receiving a successful response, your API key will be verified. \n\nTo obtain your free API key, head over to [Google Gemini API Key](https://makersuite.google.com/app/apikey).\n\nIf you encounter any issues, try running `mavrick login \u003ctoken\u003e` again to refresh your credentials.\n\n### Viewing Configuration:\nTo view your current Mavrick configuration, simply type:\n\n```bash\nmavrick config\n```\n\nThis will display the contents of the `mavrick.json` file stored on your machine.\n\n### Updating Configuration:\n\nTo update the default values of Mavrick, run this command:\n\n```bash\nmavrick config set\n```\n\nBy default, when you log in, we have set some default values that are required for the Google Gemini API to work properly, such as:\n\n- `maxOutputTokens`: 2048\n- `topK`: 40\n- `topP`: 1\n- `temperature`: 0.7\n- `kwargs`: 1\n\nTo update these default values, simply run `mavrick config set`. After running this command, you will be prompted to enter your desired values in place of the default values.\n\n### Chat with Mavrick:\nTo start chatting with the Mavrick chatbot, run this command:\n\n```bash\nmavrick chat\n```\n\nOnce you are logged in, you can have a natural language conversation with the chatbot.\n\n### Chat with image\nYou can also chat with an image by running:\n\n```bash\nmavrick vision \u003cimage path\u003e\n```\n\nWhen you provide the path to an image, it will be converted to `base64`. When you ask a question about the image, `Mavrick` will send a request to the `Gemini Vision` endpoint with the image data and your question. The response from Gemini will be used to generate a reply.\n\n**Example:**\n```bash\nmavrick vision public/image.jpg\n```\n\nYou can ask questions like \"What's happening in the image?\", \"Who are the people in the image?\", or \"What is the object on the left?\".\n\n### Chat with Document\nYou can also chat with a document by running:\n\n```bash\nmavrick read \u003cdocument path\u003e\n```\n\nYou need to provide the `path` of your document, and optionally specify its `file type` using the `-f` flag. Default `file type` is set to `text` because it allows for easier splitting and chunking of content.\n\nHowever, we generally `recommend` using the `text` file type for seamless conversations with any document.\n\n**Example:**\n\n```bash\nmavrick read \u003cdocument path\u003e -f pdf\n```\nMavrick supports five file types: `pdf`, `text`, `json`, `csv`, and `url`. \n\n**Note:** The `url` file type is included for convenience, allowing you to fetch data from websites that allow bots to scrape their web pages.\n\nMavrick also provides `verbose` output, displaying the retrieval process of chunks based on your queries.\n\n**Example:**\n```bash\nmavrick read resume.pdf -f pdf -t\n```\n**Fun Fact:** We can't use `-v` for `verbose` flag as it is already assigned as version flag.\n\nBy default, Mavrick use `MemoryVectorStore` to manage splitted chunks and indexes. \n\nIf you want to save the chunks and indexes to your local machine, you can use the `-s` flag. This will create a directory with a nanoid in `/user/.config/configstore/mavrick`. You can also use the `-n` flag to give a `custom name` to the directory.\n\n**Example:**\n```bash\nmavrick read resume.pdf -f pdf -s -n resume-store\n```\n\nIf you have already created and saved a `vector store` on your machine, you can load it by using the `-l` flag. This flag requires the location/path of the vector store directory.\n\n**Example:**\n```bash\nmavrick read resume.pdf -f pdf -l C:\\Users\\asus\\.config\\configstore\\mavrick\\resume-store\n```\n\n## Credits:\nMavrick utilizes `Google's Gemini` API for its chatbot capabilities. To obtain your free API key, head over to [Google Gemini API Key](https://makersuite.google.com/app/apikey).\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavrick-1%2Fmavrickai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmavrick-1%2Fmavrickai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavrick-1%2Fmavrickai/lists"}