Skip to content

Commit

Permalink
Force Push Soon
Browse files Browse the repository at this point in the history
  • Loading branch information
DeekshithSH committed Dec 6, 2023
1 parent 12bbfe9 commit 65b1409
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: fsb run
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<ol>
<li>
<a href="#how-to-make-your-own">How to make your own</a>
<ul>
<li><a href="#deploy-to-heroku">Deploy to Heroku</a></li>
</ul>
<ul>
<li><a href="#download-from-releases">Download and run</a></li>
</ul>
Expand Down Expand Up @@ -63,6 +66,15 @@

## How to make your own

### Deploy to Heroku
Press the below button to fast deploy to Heroku

[![Deploy To Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

[Click Here](https://devcenter.heroku.com/articles/config-vars#using-the-heroku-dashboard) to know how to edit Variables

<hr>

### Download from releases
- Head over to [releases](https://github.com/EverythingSuckz/TG-FileStreamBot/releases) tab, from the *pre release* section, download the one for your platform and architecture.
- Extract the zip file to a folder.
Expand Down
54 changes: 54 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"name": "TG FileStreamBot",
"description": "Stream Telegram files to web",
"keywords": [
"telegram",
"web",
"go",
"gola",
"FileToLink",
"TG-FileStreamBot"
],
"repository": "https://github.com/EverythingSuckz/TG-FileStreamBot",
"logo": "https://telegra.ph/file/a8bb3f6b334ad1200ddb4.png",
"env": {
"API_ID": {
"description": "Get this value from https://my.telegram.org"
},
"API_HASH": {
"description": "Get this value from https://my.telegram.org"
},
"BOT_TOKEN": {
"description": "Get this value from @BotFather"
},
"LOG_CHANNEL": {
"description": "channel ID for the log channel where the bot will forward media messages and store these files"
},
"HOST": {
"description": "A Fully Qualified Domain Name or Heroku App URL. (eg. https://example.herokuapp.com). Update it After Deploying the Bot",
"required": false
},
"HASH_LENGTH": {
"description": "Custom hash length for generated URLs. The hash length must be greater than 5 and less than or equal to 32. Default to 6",
"value": 6,
"required": false
},
"USE_SESSION_FILE": {
"description": "Use session files for worker client(s). This speeds up the worker bot startups. default to false"
},
"USER_SESSION": {
"description": "A pyrogram session string for a user bot. Used for auto adding the bots to LOG_CHANNEL. Default to null"
}
},
"buildpacks": [
{
"url": "heroku/go"
}
],
"formation": {
"web": {
"quantity": 1,
"size": "eco"
}
}
}

0 comments on commit 65b1409

Please sign in to comment.