{"id":18896301,"url":"https://github.com/santaspeen/triple-send","last_synced_at":"2026-05-06T10:32:06.941Z","repository":{"id":131812451,"uuid":"465214919","full_name":"SantaSpeen/Triple-send","owner":"SantaSpeen","description":"Send to Telegram, Vk, Discord","archived":false,"fork":false,"pushed_at":"2022-03-05T23:32:58.000Z","size":188,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T17:55:05.839Z","etag":null,"topics":["discord","python3","telegram","vk"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SantaSpeen.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,"publiccode":null,"codemeta":null}},"created_at":"2022-03-02T08:15:05.000Z","updated_at":"2022-09-27T20:40:15.000Z","dependencies_parsed_at":"2023-06-19T09:38:56.265Z","dependency_job_id":null,"html_url":"https://github.com/SantaSpeen/Triple-send","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SantaSpeen/Triple-send","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SantaSpeen%2FTriple-send","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SantaSpeen%2FTriple-send/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SantaSpeen%2FTriple-send/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SantaSpeen%2FTriple-send/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SantaSpeen","download_url":"https://codeload.github.com/SantaSpeen/Triple-send/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SantaSpeen%2FTriple-send/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32689102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["discord","python3","telegram","vk"],"created_at":"2024-11-08T08:33:28.802Z","updated_at":"2026-05-06T10:32:06.927Z","avatar_url":"https://github.com/SantaSpeen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Triple send\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/SantaSpeen/Triple-send/blob/master/LICENSE\"\u003e\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/SantaSpeen/Triple-send?style=for-the-badge\"\u003e\u003c/a\u003e    \n    \u003ca href=\"https://github.com/SantaSpeen/Triple-send/stargazers\"\u003e\u003cimg alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/SantaSpeen/Triple-send?style=for-the-badge\"\u003e\u003c/a\u003e    \n    \u003ca href=\"https://github.com/SantaSpeen\"\u003e\u003cimg src=\"./assets/magic_logo.svg\" alt=\"magic\"\u003e\u003c/a\u003e\n    \u003cbr/\u003e\n    \u003ca href=\"./src/main.py\"\u003e\n        \u003cimg src=\"./assets/preview_ds.png\" alt=\"preview ds\"\u003e\n        \u003cbr/\u003e\n        \u003cimg src=\"./assets/preview_vk.png\" alt=\"preview vk\"\u003e\n        \u003cbr/\u003e\n        \u003cimg src=\"./assets/preview_tg.png\" alt=\"preview tg\"\u003e\n    \u003c/a\u003e\n    \u003cbr/\u003e\n\u003c/p\u003e\n\n##### Версия для русских: [здесь](./README_RU.md)\n\nDemo:\n\n* Telegram: @Triple_project_bot\n* Discord:  Triple project#0877\n* Vkontakte: @dev.santaspeen\n\n### How to run\n\n* Install requirements\n```shell\n$ python3.9 -m pip install -r requirements.txt\nLooking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple\n...\n\n```\n\n\n```python\nimport triple\n\n# default vk_api_version is 5.131\ntr = triple.Triple(\n    vk_token=\"Token here\",  # Default None\n    tg_token=\"Token here\",  # Default None\n    ds_token=\"Token here\",  # Default None\n    prefix=\".\",  # default '.'\n    config_path=\"./config/polling.json\" # Default './config/polling.json'. This mean \u003cproject_folder\u003e/config/polling.json'.\n)\n\n\n@tr.on_message(\"echo\")\ndef bot_echo(event_type: str, event: triple.types.MessageObject):\n    \"\"\" example \"\"\"\n\n    # Triggered from '.echo'\n\n    # Available event_types:\n    # tg_event\n    # vk_event\n    # ds_event\n\n    if event_type == \"vk_event\":\n        return f\"Event type: {event_type}\\n\\nMessage: {event.text}\\n\\nEvent: {event!r}\"\n\n    return f\"Event type: `{event_type}`\\n\\nMessage: `{event.text}`\\n\\nEvent: `{event!r}`\"\n\n\n@tr.on_message(r\"((?:\\.help|/help|/start))\", regex=True)\ndef bot_help(event_type: str, event: triple.types.MessageObject):\n\n    message = \"Help:\\n1: .echo {0}\u003csome text\u003e{0}\"\n\n    if event_type == \"vk_event\":\n        return message.format(\"\")\n\n    return message.format('`')\n\n\n@tr.on_event\nasync def all_events(event_from: str, event):\n    print(event_from, event)\n\n\nif __name__ == '__main__':\n    tr.run()\n```\n\n## Links\n\n* [Author's Telegram](https://t.me/SantaSpeen \"SantaSpeen\"): https://t.me/SantaSpeen","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantaspeen%2Ftriple-send","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantaspeen%2Ftriple-send","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantaspeen%2Ftriple-send/lists"}