{"id":13618197,"url":"https://github.com/cutelua/mtg-dist","last_synced_at":"2025-04-14T10:31:10.832Z","repository":{"id":37734231,"uuid":"191309280","full_name":"cutelua/mtg-dist","owner":"cutelua","description":"Oneline distbute and install script for mtg","archived":false,"fork":false,"pushed_at":"2021-12-03T05:54:32.000Z","size":4014,"stargazers_count":431,"open_issues_count":2,"forks_count":133,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-08T03:36:37.448Z","etag":null,"topics":["mtg","mtproto","mtproxy","telegram"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/cutelua.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}},"created_at":"2019-06-11T06:37:34.000Z","updated_at":"2024-11-02T01:21:45.000Z","dependencies_parsed_at":"2022-07-12T15:18:10.267Z","dependency_job_id":null,"html_url":"https://github.com/cutelua/mtg-dist","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutelua%2Fmtg-dist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutelua%2Fmtg-dist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutelua%2Fmtg-dist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutelua%2Fmtg-dist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cutelua","download_url":"https://codeload.github.com/cutelua/mtg-dist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248862601,"owners_count":21173837,"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":["mtg","mtproto","mtproxy","telegram"],"created_at":"2024-08-01T20:01:56.078Z","updated_at":"2025-04-14T10:31:10.393Z","avatar_url":"https://github.com/cutelua.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# mtg-dist\nOneline distbute and install script for mtg ( https://github.com/9seconds/mtg ).\n\n## Note\n\nmtg 2.0+ supports FakeTLS mode only.\nRe-run this script to upgrade.\n\n# Install\n```\nbash \u003c(wget -qO- https://git.io/mtg.sh)\n```\n\n## Offline Install\n\nFor machines have difficulties visiting github, download the following files:\n\n- `mtg-dist.bin` from [release](https://github.com/cutelua/mtg-dist/releases)\n- `mtg-2.x.x-linux-amd64.tar.gz` from [mtg/release](https://github.com/9seconds/mtg/releases)\n\nthen run: \n```\nsh mtg-dist.bin mtg-2.0.1-linux-amd64.tar.gz\n```\n\n# Uninstall\n\n```\nsystemctl disable mtg \nsystemctl stop mtg \nrm -f /usr/local/bin/mtg /etc/systemd/system/mtg.service /etc/mtg.toml   \n```\n\n## for version 0.0.6 and prior\n```\nsystemctl disable mtg \nsystemctl stop mtg \nrm -f /usr/local/bin/mtg /lib/systemd/system/mtg.service /etc/mtg.conf    \n```\n\n# Customize\n\nThe configure file is at `/etc/mtg.toml`, refer to the offcial document for whatever you want to custom.\n\n- https://github.com/9seconds/mtg \n- https://github.com/9seconds/mtg/blob/master/example.config.toml\n\nAfter edited just restart the mtg service:\n\n```\nsystemctl restart mtg \n```\n\n# Compile\nThis project uses `makeself` to generate a `.bin` file.\n\n```\n./makebin.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutelua%2Fmtg-dist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcutelua%2Fmtg-dist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutelua%2Fmtg-dist/lists"}