diff --git a/script.areace/LICENSE.txt b/script.areace/LICENSE.txt
new file mode 100644
index 000000000..0de60059e
--- /dev/null
+++ b/script.areace/LICENSE.txt
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 Dmytro Pustovit
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/script.areace/addon.xml b/script.areace/addon.xml
new file mode 100644
index 000000000..80054a492
--- /dev/null
+++ b/script.areace/addon.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+ executable
+
+
+ scrapes live sport event links from Telegram and seamlessly opens them in the Acestream player
+ Tired of the endless hunt for live sports event streams? "Are Ace" simplifies the process by scanning Telegram channels and groups known for sharing sports event links, collecting them for you. With an easy integration to the Acestream media player, it ensures you have quick access to high-quality, buffer-free sports event streams. Stay updated effortlessly, and enjoy a user-friendly interface for a seamless sports viewing experience. Say goodbye to the hassle of link searching, and say hello to the convenience of "Are Ace".
+ MIT
+ android
+
+ dipustovit@gmail.com
+
+ resources/icon.png
+ resources/fanart.jpg
+
+
+
diff --git a/script.areace/resources/data_loader.py b/script.areace/resources/data_loader.py
new file mode 100644
index 000000000..08120a3b6
--- /dev/null
+++ b/script.areace/resources/data_loader.py
@@ -0,0 +1,18 @@
+import xbmcaddon
+from resources.telegram import fetch
+
+ADDON = xbmcaddon.Addon()
+
+def load_telegram(settings):
+ enabled = settings.getBool('telegram.isEnabled')
+ if (not enabled): return []
+ opts = {
+ 'token': settings.getString('telegram.token'),
+ 'offset': settings.getInt('telegram.offset')
+ }
+ return fetch(opts)
+
+
+def load_data():
+ settings = ADDON.getSettings()
+ return load_telegram(settings)
\ No newline at end of file
diff --git a/script.areace/resources/fanart.jpg b/script.areace/resources/fanart.jpg
new file mode 100644
index 000000000..9053d63af
Binary files /dev/null and b/script.areace/resources/fanart.jpg differ
diff --git a/script.areace/resources/icon.png b/script.areace/resources/icon.png
new file mode 100644
index 000000000..91d586b94
Binary files /dev/null and b/script.areace/resources/icon.png differ
diff --git a/script.areace/resources/main_dialog.py b/script.areace/resources/main_dialog.py
new file mode 100644
index 000000000..b2617becf
--- /dev/null
+++ b/script.areace/resources/main_dialog.py
@@ -0,0 +1,11 @@
+import xbmc, xbmcgui
+from resources.data_loader import load_data
+
+def main_dialog():
+ dialog = xbmcgui.Dialog()
+ items = load_data()
+ selected=dialog.select("Streams", list([x['text'] for x in items]))
+ if selected>=0:
+ item = items[selected]
+ cmd = 'StartAndroidActivity("","org.acestream.action.start_content","","acestream:?content_id=%s")' % item['acestream_id']
+ xbmc.executebuiltin(cmd)
\ No newline at end of file
diff --git a/script.areace/resources/settings.xml b/script.areace/resources/settings.xml
new file mode 100644
index 000000000..f412b5412
--- /dev/null
+++ b/script.areace/resources/settings.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/script.areace/resources/telegram.py b/script.areace/resources/telegram.py
new file mode 100644
index 000000000..1b3997cfa
--- /dev/null
+++ b/script.areace/resources/telegram.py
@@ -0,0 +1,26 @@
+import requests
+import re
+import datetime as dtm
+
+host="https://api.telegram.org/"
+
+def fetch(config):
+ results=[]
+ params = dict(offset=config['offset'])
+ url=host+'bot'+config['token']+'/getUpdates'
+ res = requests.get(url, params)
+ json=res.json()
+ for update in json['result']:
+ if(not 'channel_post' in update): continue
+ if(not 'text' in update['channel_post']): continue
+ text = update['channel_post']['text']
+ timestamp = update['channel_post']['date']
+ date = dtm.datetime.fromtimestamp(timestamp)
+ obj={'text':text,'date':date}
+ match = re.search(r'[0-9a-f]{40}', text)
+ if match:
+ id = match.group()
+ if (id):
+ obj['acestream_id'] = id
+ results.append(obj)
+ return results
\ No newline at end of file
diff --git a/script.areace/script.py b/script.areace/script.py
new file mode 100644
index 000000000..b09afbe7b
--- /dev/null
+++ b/script.areace/script.py
@@ -0,0 +1,7 @@
+from resources.main_dialog import main_dialog
+
+def main():
+ main_dialog()
+
+if (__name__ == '__main__'):
+ main()
\ No newline at end of file