Package Details: mtg 2.2.8-1

Git Clone URL: https://aur.archlinux.org/mtg.git (read-only, click to copy)
Package Base: mtg
Description: Bullshit-free MTProto proxy for Telegram
Upstream URL: https://github.com/9seconds/mtg
Keywords:
Licenses: MIT
Submitter: K900
Maintainer: x0x01
Last Packager: x0x01
Votes: 3
Popularity: 0.46
First Submitted: 2018-10-04 09:49 (UTC)
Last Updated: 2026-04-25 15:27 (UTC)

Pinned Comments

K900 commented on 2021-05-05 11:04 (UTC)

mtg 2.0.0 is officially out, with a new configuration file format. I've updated this package to track the new release - make sure you migrate your configuration files!

Latest Comments

1 2 Next › Last »

moonman commented on 2026-04-24 02:58 (UTC)

Please bump to 2.2.8. There are some important obfuscation fixes in 2.2.7 and 2.2.8. It matters for folks in countries where Telegram is being blocked right now.

seamus-45 commented on 2026-04-02 05:04 (UTC)

Please bump version:

diff --git a/PKGBUILD b/PKGBUILD
index 236d551..3ddb7e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
 pkgname=mtg
-pkgver=2.2.6
+pkgver=2.2.7
 pkgrel=1
 pkgdesc='Bullshit-free MTProto proxy for Telegram'
 arch=('x86_64' 'armv7h' 'aarch64') # possibly others?
@@ -12,11 +12,9 @@ install='mtg.install'
 source=(
   "git+https://github.com/9seconds/mtg#tag=v${pkgver}"
   'mtg@.service'
-  'example.toml'
 )
-sha256sums=('4926425a57c02a14a247cf69068d8893ffdbf6c9b7e8c8b5a1db30c417d38fd8'
-            '180d995169e400f79d28a2c126e2bbc0579db49680d0c7acc48f9963d0a09f22'
-            '6ce35a0747812060cac222554dd760db34e4be246dc5b2eecf1de6b217630163')
+sha256sums=('4f0045e7e189e49a9832c296908b019ad8aad2c9e236abc70e079316e7e89308'
+            '180d995169e400f79d28a2c126e2bbc0579db49680d0c7acc48f9963d0a09f22')

 build() {
   cd "${srcdir}/${pkgname}"
@@ -31,6 +29,6 @@ build() {

 package() {
   install -Dm755 "${srcdir}/${pkgname}/mtg" "${pkgdir}/usr/bin/mtg"
+  install -Dm644 "${srcdir}/${pkgname}/example.config.toml" "${pkgdir}/etc/mtg/example.toml"
   install -Dm644 "${srcdir}/mtg@.service" "${pkgdir}/usr/lib/systemd/system/mtg@.service"
-  install -Dm644 "${srcdir}/example.toml" "${pkgdir}/etc/mtg/example.toml"
 }

seamus-45 commented on 2026-02-24 09:15 (UTC)

Since version 2.1.8 there is no Makefile in the project (AUR package building is broken) According to project's README.md "mtg uses mise to maintain its development dependencies + replaces a make for building things."

seamus-45 commented on 2026-02-16 07:01 (UTC)

2.1.8 is out

K900 commented on 2021-05-05 11:04 (UTC)

mtg 2.0.0 is officially out, with a new configuration file format. I've updated this package to track the new release - make sure you migrate your configuration files!

sorz commented on 2020-10-11 15:48 (UTC)

+1 for NO auto-restarting, it hides error from systemctl --failed.

User=nobody should be replaced by DynamicUser=yes.

K900 commented on 2020-07-25 15:16 (UTC)

I don't think autorestarting should be a default behavior to be honest. You can easily add it yourself by using a drop-in file: https://wiki.archlinux.org/index.php/Systemd#Drop-in_files

x0x01 commented on 2020-07-25 09:18 (UTC) (edited on 2020-07-25 09:19 (UTC) by x0x01)

please add autorestart to systemd unit ```ini [Service] Restart=on-failure RestartSec=5s ```

K900 commented on 2019-12-01 19:03 (UTC)

I was hoping a new release would come out so I don't have to bump pkgrel for this, but that doesn't seem too likely, so I've just added armv7h and aarch64.

michaelkl commented on 2019-11-24 11:38 (UTC)

@K900 Please add armv7h architecture to PKGBUILD file as it works like a charm on my arm server.