diff --git a/README.md b/README.md index cab96e7..cd33c7b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Integrate Railway Project events with Telegram Chat/Channel using Railway Webhooks! # One Click Self Deploy -[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Fagam778%2Frailway-to-tg&envs=TELEGRAM_BOT_TOKEN%2CTELEGRAM_CHAT_ID&TELEGRAM_BOT_TOKENDesc=Telegram+Bot%27s+token+%28Create+a+telegram+bot+at+%40BotFather+if+you+don%27t+have+one%29&TELEGRAM_CHAT_IDDesc=The+Chat%2FChannel%27s+id+where+the+bot+should+post+the+messages+%28Start+%5B%40MissRose_Bot%5D%28https%3A%2F%2Ft.me%2FMissRose_Bot%29+in+Personal+Messages%2C+and+run+%60%2Fid+%40channelorchat_username%60+command+and+copy+the+ID+if+you+don%27t+have+it%29&referralCode=agam778) +[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Fagam778%2Frailway-to-tg&envs=TELEGRAM_BOT_TOKEN%2CTELEGRAM_CHAT_ID&TELEGRAM_BOT_TOKENDesc=Telegram+Bot%27s+token+%28Create+a+telegram+bot+at+%40BotFather+if+you+don%27t+have+one%29&TELEGRAM_CHAT_IDDesc=The+Chat%2FChannel%27s+id+where+the+bot+should+post+the+messages+%28Start+%5B%40MissRose_Bot%5D%28https%3A%2F%2Ft.me%2FMissRose_Bot%29+in+Personal+Messages%2C+and+run+%60%2Fid+%40channelorchat_username%60+command+and+copy+the+ID+if+you+don%27t+have+it%29&referralCode=agam778) [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) # Manual Self Deploy - Fork (and Star 😜) this repo. diff --git a/app.json b/app.json new file mode 100644 index 0000000..390d1d8 --- /dev/null +++ b/app.json @@ -0,0 +1,23 @@ +{ + "name": "Railway to Telegram", + "description": "Integrate Railway Project events with Telegram Chat/Channel using Railway Webhooks!", + "keywords": ["opensource", "railwayapp", "webhooks", "telegram"], + "repository": "https://github.com/agam778/railway-to-tg", + "env": { + "TELEGRAM_BOT_TOKEN": { + "description": "Telegram Bot's token (Create a telegram bot at @BotFather if you don't have one)", + "required": "True" + }, + "TELEGRAM_CHAT_ID": { + "description": "The Chat/Channel's id where the bot should post the messages (Start [@MissRose_Bot](https://t.me/MissRose_Bot) in Personal Messages, and run `/id @channelorchat_username` command and copy the ID if you don't have it)", + "required": "True" + } + }, + "stack": "container", + "formation": { + "web": { + "quantity": 1, + "size": "free" + } + } +}