{"id":24568152,"url":"https://github.com/bug-ops/vkteams-bot-cli","last_synced_at":"2025-04-22T15:24:57.143Z","repository":{"id":213740724,"uuid":"734827338","full_name":"bug-ops/vkteams-bot-cli","owner":"bug-ops","description":"VK Teams Bot API CLI","archived":false,"fork":false,"pushed_at":"2024-07-19T21:58:56.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T20:48:36.901Z","etag":null,"topics":["api","bot","cli","rust","vkteams"],"latest_commit_sha":null,"homepage":"https://docs.rs/vkteams-bot-cli/latest","language":"Rust","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/bug-ops.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":"2023-12-22T18:26:35.000Z","updated_at":"2025-01-10T13:18:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"9519e3a2-50eb-4b29-a543-4f8bede0a7ba","html_url":"https://github.com/bug-ops/vkteams-bot-cli","commit_stats":null,"previous_names":["k05h31/vkteams-bot-cli","bug-ops/vkteams-bot-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bug-ops%2Fvkteams-bot-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bug-ops%2Fvkteams-bot-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bug-ops%2Fvkteams-bot-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bug-ops%2Fvkteams-bot-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bug-ops","download_url":"https://codeload.github.com/bug-ops/vkteams-bot-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250265724,"owners_count":21402161,"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":["api","bot","cli","rust","vkteams"],"created_at":"2025-01-23T14:19:56.789Z","updated_at":"2025-04-22T15:24:57.117Z","avatar_url":"https://github.com/bug-ops.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv\u003e\n\u003ca href=\"https://docs.rs/vkteams-bot-cli/latest/vkteams_bot_cli/\"\u003e\n    \u003cimg src=\"https://img.shields.io/docsrs/vkteams-bot-cli/latest\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://crates.io/crates/vkteams-bot-cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/vkteams-bot-cli\"\u003e\n\u003c/a\u003e\n \u003ca href=\"https://github.com/k05h31/vkteams-bot-cli/actions\"\u003e\n    \u003cimg src=\"https://github.com/k05h31/vkteams-bot-cli/workflows/Rust/badge.svg\"\u003e\n\u003c/a\u003e\n\u003c/div\u003e\n\n# VK Teams Bot API Cli\n\nVK Teams Bot API terminal application.\n\n## Table of Contents\n\n- [Environment](#environment)\n- [Usage](#usage)\n\n## Environment\n\n1. Begin with bot API following [instructions](https://teams.vk.com/botapi/?lang=en)\n2. Set environment variables or save in `.env` file\n```bash\n# Unix-like\n$ export VKTEAMS_BOT_API_TOKEN=\u003cYour token here\u003e #require\n$ export VKTEAMS_BOT_API_URL=\u003cYour base api url\u003e #require\n$ export VKTEAMS_PROXY=\u003cProxy\u003e #optional\n\n$ cargo install vkteams-bot-cli\n\n# Windows\n$ set VKTEAMS_BOT_API_TOKEN=\u003cYour token here\u003e #require\n$ set VKTEAMS_BOT_API_URL=\u003cYour base api url\u003e #require\n$ set VKTEAMS_PROXY=\u003cProxy\u003e #optional\n\n# Build from source\n$ cargo install vkteams-bot-cli\n```\n\n## Usage\n\n```bash\n# Help\n$ vkteams-bot-cli --help\n# Listen for events\n$ vkteams-bot-cli get-events -l true | grep \"ALARM\"\n# Send text\n$ vkteams-bot-cli send-text -u \u003cUSER_ID\u003e -m \"text message\"\n# Send file\n$ vkteams-bot-cli send-file -u \u003cUSER_ID\u003e -f \u003cFILE_PATH\u003e\n# Download file\n$ vkteams-bot-cli get-file -i \u003cFILE_ID\u003e -f \u003cFILE_PATH\u003e\n```\n\n## Commands\n| Command | Description |\n|---------|-------------|\n| `get-events` | Listen for events (long polling) |\n| `send-text` | Send text message |\n| `send-file` | Send file to chat |\n| `get-file`  | Download file from API |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbug-ops%2Fvkteams-bot-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbug-ops%2Fvkteams-bot-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbug-ops%2Fvkteams-bot-cli/lists"}