{"id":22862801,"url":"https://github.com/vcampro/xtele","last_synced_at":"2025-03-31T08:46:56.232Z","repository":{"id":267722504,"uuid":"902155971","full_name":"VCamPro/xTele","owner":"VCamPro","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-12T03:04:01.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-12T03:28:00.427Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/VCamPro.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-12-12T02:42:55.000Z","updated_at":"2024-12-12T03:04:04.000Z","dependencies_parsed_at":"2024-12-12T03:28:06.384Z","dependency_job_id":"fdf5f9eb-d996-48a0-aa51-e0ad0ae8bb80","html_url":"https://github.com/VCamPro/xTele","commit_stats":null,"previous_names":["vcampro/xtele"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VCamPro%2FxTele","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VCamPro%2FxTele/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VCamPro%2FxTele/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VCamPro%2FxTele/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VCamPro","download_url":"https://codeload.github.com/VCamPro/xTele/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237477364,"owners_count":19316411,"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":[],"created_at":"2024-12-13T10:15:32.773Z","updated_at":"2025-02-06T13:21:37.113Z","avatar_url":"https://github.com/VCamPro.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"A Windows application that lets you control your PC remotely using Telegram bot commands. It provides functionality to schedule tasks, manage system resources, and interact with your computer through a Telegram interface.\n\n## Features\n\n- **Access Control**: \n  The bot requires admin approval for new users, ensuring only authorized access.\n  \n- **Media Control**: \n  Play, pause, mute, or skip media tracks remotely.\n\n- **Screenshot**: \n  Capture the current screen and receive the screenshot in Telegram.\n\n- **System Management**:\n  - Schedule shutdowns.\n  - Cancel shutdowns.\n  - Kill specific processes.\n  - Fetch system stats like CPU, memory usage, and top-consuming processes.\n\n- **File Upload**: \n  Upload files from your PC to Telegram.\n\n- **Custom Bot Token Configuration**:\n  Configure your bot token via a user-friendly Windows GUI.\n\n- **Start with Windows**:\n  The bot can be set to start automatically with your operating system.\n\n---\n\n## Requirements\n\n- **Operating System**: Windows 10 or later\n- **.NET Runtime**: .NET 6.0 or later\n- **Telegram Bot Token**: Obtain a bot token from [BotFather](https://t.me/botfather).\n\n---\n\n## Installation\n\n### 1. Download the Application\n- Visit the [Releases](https://github.com/VCamPro/xTele/releases) section of this repository and download the latest `.exe` file.\n\n### 2. Configure the Bot\n1. Run the application.\n2. Enter your bot token in the GUI.\n3. Save the configuration.\n\n### 3. Start the Bot\nClick **Start Bot** in the GUI to launch the bot. Optionally, enable **Start with Windows** to ensure the bot launches automatically when the system boots.\n\n---\n\n## Usage\n\n1. Open the application and configure your bot token.\n2. Start the bot.\n3. Use Telegram commands to interact with your PC.\n\n### Available Commands\n| Command               | Description                                   |\n|-----------------------|-----------------------------------------------|\n| `/request_access`     | Request access to use the bot.               |\n| `/control`            | Show media controls and screenshot options.  |\n| `/screenshot`         | Capture and send a screenshot.               |\n| `/upload \u003cpath\u003e`      | Upload a specific file from your PC.          |\n| `/cancel_shutdown`    | Cancel any scheduled shutdown.               |\n| `/stats`              | View system stats (CPU, RAM, processes).     |\n| `/getip`              | Retrieve the current public IP address.      |\n\n---\n\n## Development\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/VCamPro/xTele.git\ncd pc-robot-telegram-bot-csharp\n```\n\n### Build and Run\n1. Open the project in [JetBrains Rider](https://www.jetbrains.com/rider/) or [Visual Studio](https://visualstudio.microsoft.com/).\n2. Build the solution.\n3. Run the application.\n\n### Publish as a Single `.exe`\nTo create a single executable file:\n```bash\ndotnet publish -c Release -r win-x64 --self-contained -p:PublishSingleFile=true\n```\nThe `.exe` file will be located in:\n```\nbin\\Release\\net6.0-windows\\win-x64\\publish\n```\n\n---\n\n## GitHub Actions\n\nThe project includes a GitHub Actions workflow for automatic builds and releases. On every tagged commit (e.g., `v1.0.0`), the workflow:\n1. Builds the application using `dotnet publish`.\n2. Uploads the `.exe` to the [Releases](https://github.com/VCamPro/xTele/releases) section.\n\n---\n\n## Contribution\n\nContributions are welcome! To contribute:\n1. Fork this repository.\n2. Create a feature branch (`git checkout -b feature-name`).\n3. Commit your changes (`git commit -m \"Add feature\"`).\n4. Push the branch (`git push origin feature-name`).\n5. Open a Pull Request.\n\n---\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## Credits\n\nCreated by [Koxi](https://t.me/aivcam). Inspired by the need for remote PC control with ease and flexibility.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcampro%2Fxtele","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvcampro%2Fxtele","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcampro%2Fxtele/lists"}