Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 committed Mar 6, 2021
0 parents commit 3c696a1
Show file tree
Hide file tree
Showing 13 changed files with 76 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Aptfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tree
wget2
p7zip-full
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 rking32

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.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
worker: bash run
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# HelperScript
33 changes: 33 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"env": {
"API_ID": {"description": "Get this value from https://my.telegram.org"},
"API_HASH": {"description": "Get this value from https://my.telegram.org"},
"DATABASE_URL": {"description": "Mongodb url from https://cloud.mongodb.com/"},
"LOG_CHANNEL_ID": {"description": "Telegram Log Channel ID"},
"HU_STRING_SESSION": {
"description": "[USER MODE] - Get this using `bash genStr`",
"required": false},
"BOT_TOKEN": {
"description": "[BOT MODE] - Get this from https://t.me/botfather",
"required": false},
"OWNER_ID": {
"description": "[BOT MODE] - Your user_id",
"required": false},
"HEROKU_APP_NAME": {
"description": "given app name to the heroku app",
"required": false},
"HEROKU_API_KEY": {
"description": "get a Heroku API key from http://dashboard.heroku.com/account",
"required": false}
},
"buildpacks": [
{"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git"},
{"url": "https://github.com/HasibulKabir/heroku-buildpack-rarlab.git"},
{"url": "https://github.com/opendoor-labs/heroku-buildpack-p7zip"},
{"url": "https://github.com/rking32/heroku-buildpack-google-chrome"},
{"url": "https://github.com/rking32/heroku-buildpack-chromedriver"},
{"url": "https://github.com/chrismytton/heroku-buildpack-jq.git"},
{"url": "https://github.com/heroku/heroku-buildpack-apt.git"},
{"url": "heroku/python"}
]
}
4 changes: 4 additions & 0 deletions genStr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

. initt
. genStr
1 change: 1 addition & 0 deletions helper/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import helper.helper as helper
4 changes: 4 additions & 0 deletions helper/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import helper.helper

if __name__ == '__main__':
helper.helper.run()
Binary file added helper/helper.so
Binary file not shown.
3 changes: 3 additions & 0 deletions initt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

python3.9 -m helper
Empty file added requirements.txt
Empty file.
4 changes: 4 additions & 0 deletions run
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

. initt
. run
1 change: 1 addition & 0 deletions runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.9.2

0 comments on commit 3c696a1

Please sign in to comment.