{"id":16650035,"url":"https://github.com/rdch106/teamviewer-service","last_synced_at":"2026-04-14T12:33:57.045Z","repository":{"id":70780799,"uuid":"146991645","full_name":"RDCH106/teamviewer-service","owner":"RDCH106","description":"Service to launch TeamViewer Remote Desktop","archived":false,"fork":false,"pushed_at":"2018-09-05T21:11:08.000Z","size":297,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-19T06:46:42.803Z","etag":null,"topics":["remote-control","rest-api","restful-api","service","teamviewer","teamviewer-api"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RDCH106.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":"2018-09-01T11:10:09.000Z","updated_at":"2021-02-14T20:00:22.000Z","dependencies_parsed_at":"2023-03-11T09:10:15.872Z","dependency_job_id":null,"html_url":"https://github.com/RDCH106/teamviewer-service","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":"0.038461538461538436","last_synced_commit":"917f66f0c79b0845992b282599d7ab998600b46f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RDCH106%2Fteamviewer-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RDCH106%2Fteamviewer-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RDCH106%2Fteamviewer-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RDCH106%2Fteamviewer-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RDCH106","download_url":"https://codeload.github.com/RDCH106/teamviewer-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243230068,"owners_count":20257640,"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":["remote-control","rest-api","restful-api","service","teamviewer","teamviewer-api"],"created_at":"2024-10-12T09:15:02.251Z","updated_at":"2025-12-25T12:18:23.995Z","avatar_url":"https://github.com/RDCH106.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TeamViewer Service\n\nService to launch TeamViewer Remote Desktop\n\n---------------------\n\n### Installation\n\nYou can install from source with:\n\n``` bash\n$ git clone https://github.com/RDCH106/teamviewer-service.git --recursive\n$ cd teamviewer-service\n$ pip install -r requirements.txt\n```\n\n---------------------\n\n### Service start-up\n\nExecute TeamViewer service with:\n\n``` bash\n$ cd teamviewer-service/teamviewerservice\n$ python gateway_main.py\n```\n\nIn the first execution default config.json will be created in the working directory:\n\n``` bash\nError loading config.json!\n\nDefault config.json generated! Try again.\n```\n\n👁️[*Check Configure tv_config.jon*](#configure-tv_configjon)\n\n👁️[*Check Change Linkero adminSecret*](#change-linkero-adminsecret)\n\nRunning again the service will start to work:\n\n``` bash\n$ python gateway_main.py\n```\n\n👁️[*Create Linkero user*](#create-linkero-user)\n\n---------------------\n\n### Configuration\n\n#### Configure tv_config.jon\n\nCreate `tv_config.jon` file in `config` with this content:\n\n```\n{\"tv_path\": \"C:/path/to/teamviewer/TeamViewer.exe\"}\n```\n\nwhere `tv_path` is the path to TeamViewer excutable. You can use **TiemViewer portable version without installation** for this purpose.\n\n#### Change Linkero *adminSecret*\n\nChange Linkero *adminSecret* typing the followings command:\n\n```\npython -c 'from linkero.tools.passwordHashGenerator import generatePasswordHash; generatePasswordHash()'\n```\n\nIntroduce desired password and push enter. The password hash will be print in the following line in blue color. Copy the password hash to `config.json` in `config` folder. Search default *adminSecret*:\n\n`$5$rounds=549561$kWqFvPNTcBsl.Kle$ONikf.BJtqKKFTZbUtVmwZn0nDdwrsHhjyqgxRlUNw4`\n\nAnd replace it by your generated password hash.\n\n#### Create Linkero user\n\nExecute the following python code with `gateway_main.py` running:\n\n```py\nfrom requests import post\n\npost ('http://localhost:5000/api/users', data={\"username\":\"myuser\",\"password\":\"mypassword\",\"secret\":\"myadminSecret\"})\n```\n\nwhere \"*http://localhost:5000/api/users*\" is the local endpoint, \"*myuser*\" is the username for the new user, \"*mypassword*\" is the password for the new user and \"*myadminSecret*\" is the adminSecret introduced in [Change Linkero *adminSecret*](#change-linkero-adminsecret) section.\n\nIf everything is correct, the post will return `\u003cResponse [201]` where code `201` indicates the correct creation of the user.\n\n---------------------\n\n### Usage\n\n- `startTV`: Launch TeamViewer (login is required)\n  + Example: http://localhost:5000/startTV\n    - Return: \"OK\" if TeamViewer is launched \n- `screenshot`: Take screenshot (where user ID and password appear) and return it (login is required) \n  + Example: http://localhost:5000/screenshot\n    - Return: Screenshot image\n- `logout`: Close user session\n  + Example: http://localhost:5000/logout\n    - Return: \"Logout\" with 401 code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdch106%2Fteamviewer-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdch106%2Fteamviewer-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdch106%2Fteamviewer-service/lists"}