{"id":15023127,"url":"https://github.com/aidsoul/vktote","last_synced_at":"2025-10-25T21:32:26.791Z","repository":{"id":38233810,"uuid":"476346875","full_name":"aidsoul/vktote","owner":"aidsoul","description":"Autoposting from a VK group to a Telegram channel","archived":false,"fork":false,"pushed_at":"2023-03-28T17:09:22.000Z","size":122,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T10:51:15.130Z","etag":null,"topics":["autoposting","php","telegram","telegram-bot","vk"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/aidsoul.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-31T14:39:36.000Z","updated_at":"2024-05-23T17:00:19.000Z","dependencies_parsed_at":"2024-09-23T01:01:51.137Z","dependency_job_id":null,"html_url":"https://github.com/aidsoul/vktote","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"c6d35073165ebf33d450ce15ea21d330a07110eb"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidsoul%2Fvktote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidsoul%2Fvktote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidsoul%2Fvktote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidsoul%2Fvktote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aidsoul","download_url":"https://codeload.github.com/aidsoul/vktote/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238212456,"owners_count":19434955,"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":["autoposting","php","telegram","telegram-bot","vk"],"created_at":"2024-09-24T19:58:45.442Z","updated_at":"2025-10-25T21:32:21.459Z","avatar_url":"https://github.com/aidsoul.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca  href=\"https://github.com/aidsoul/vktote/releases/latest\"  title=\"GitHub release\"\u003e\n\u003cimg  src=\"https://img.shields.io/github/v/release/aidsoul/vktote\"\u003e\n\u003c/a\u003e\n\n# vktote\n\nThis is auto-posting from a VK group to a telegram channel.\n  \n## Installation\n  \nYou need:\n - apache2;\n - php 8.1;\n - MySQL.\n\nTo install, use the command: `git clone https://github.com/aidsoul/vktote`.\nDownload the necessary libraries using the command: `composer install`.\n\nOr use command `composer create-project aidsoul/vktote`.\n\n## Connection example\n**All files for working with groups are located in the \"groups\" folder.**\n\n\u003e In the \"groups\" folder, folder with the files listed below are added. All these files are needed for work. Come up with a name for the folder yourself. \n\nThe following example is a true profile group creation:\n```\ngroups\n[test]=\u003e[config.ini]\n[test1]=\u003e[config.ini]\n[test...]=\u003e[config.ini]\n```\n\u003eIf necessary, you can change the folder and the name of the files in the configuration file \"**config.php**\".\n\nConfiguration file \"**config.ini** \" should look like this:\n```ini\n[Db]\nhost=\"localhost\"\ndbName=\"vk\"\nuser=\"root\"\npass=\"\"\n[Vk]\ntoken  =\"Your token\"\nidGroup=\"Group id or name\"\ncount=\"Number of posts to capture\"\n[Telegram]\nbotApiKey=\"Bot API Key\"\nbotName=\"Bot name\"\nchatId=\"Chat Id for send post\"\n[Bot]\nlang = \"eng\"\n```\nIf there is a need to use a different database for each profile of the group you need to change the constant \"DB_COMMON\" in config.php by setting the value to \"true\". You should also add: DB_HOST, DB_NAME, DB_USER, DB_PASS.\n\nThe following bot languages are available: English (eng) and Russian (rus).\n\n## Сontrol panel\n\nFor the convenience of creating group profiles, use the control panel.\n\nUse \"**localhost**\" to log in to the control panel.\nClick on the log in button.\nThe first time you login, a password will be created. You need to remember the password, it will be used to access the control panel.\nGo to settings  \"**localhost/settings**\" and create a new group profile by clicking on the \"Create a settings profile\" button.\n\n## MySQL\n\nThe project uses a mysql database.\nImport the database file: `db.sql`.\n\n## Task Scheduler\n\nUse crontab on your server or another task scheduler to get fresh posts without stopping.\n \n### Usage example\n\nOpen and add a task to the task list: `crontab-e`.\n\nGet fresh entries every minute: `* * * * * php groups/start.php group_folder`.\n\nBelow is an example of running a task for the \"test\" group profile. Test is specified as an argument.\n```\n*/5 * * * * php groups/start.php test\n```\n### API\nAll API queries start with https://domain/api/\n#### bot.start\nAccepts a GET request with the parameter \"group\".\n\nExample: https://domain/api/bot.start?group=group_name","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidsoul%2Fvktote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidsoul%2Fvktote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidsoul%2Fvktote/lists"}