Upload 96 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .all-contributorsrc +103 -0
- .env.example +4 -0
- .gitignore +38 -0
- .hintrc +10 -0
- .pylintrc +571 -0
- CODE_OF_CONDUCT.md +94 -0
- CONTRIBUTING.md +31 -0
- Dockerfile +11 -0
- LICENSE +21 -0
- NEW_README.md +1 -0
- Procfile +1 -0
- README.md +210 -13
- SECURITY.md +21 -0
- app.json +49 -0
- app.py +12 -0
- asset/README.md +1 -0
- asset/copyrepolink.png +0 -0
- asset/forkrepo.png +0 -0
- asset/herokudep1.png +0 -0
- asset/herokudep2.png +0 -0
- asset/redirecttoheroku.png +0 -0
- asset/tmwad.png +0 -0
- bot.py +46 -0
- config.py +41 -0
- docs/.gitignore +2 -0
- docs/LICENSE +21 -0
- docs/README.md +1 -0
- docs/components/changelog.module.css +126 -0
- docs/components/changelog.tsx +64 -0
- docs/components/collaborators.module.css +40 -0
- docs/components/collaborators.tsx +55 -0
- docs/components/extratox.module.css +56 -0
- docs/components/extratox.tsx +28 -0
- docs/components/followers.module.css +38 -0
- docs/components/followers.tsx +55 -0
- docs/components/releases.module.css +133 -0
- docs/components/releases.tsx +64 -0
- docs/components/sponsors.module.css +55 -0
- docs/components/sponsors.tsx +25 -0
- docs/next-env.d.ts +5 -0
- docs/next.config.js +24 -0
- docs/package.json +35 -0
- docs/pages/_meta.json +13 -0
- docs/pages/changelog.mdx +6 -0
- docs/pages/contribution.mdx +16 -0
- docs/pages/deploy.mdx +10 -0
- docs/pages/deploy/digital-ocean.mdx +4 -0
- docs/pages/deploy/heroku.mdx +26 -0
- docs/pages/deploy/koyeb.mdx +4 -0
- docs/pages/deploy/railway.mdx +21 -0
.all-contributorsrc
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"projectName": "All-Url-Uploader",
|
3 |
+
"projectOwner": "kalanakt",
|
4 |
+
"repoType": "github",
|
5 |
+
"repoHost": "https://github.com",
|
6 |
+
"files": [
|
7 |
+
"README.md"
|
8 |
+
],
|
9 |
+
"imageSize": 100,
|
10 |
+
"commit": false,
|
11 |
+
"commitConvention": "angular",
|
12 |
+
"contributors": [
|
13 |
+
{
|
14 |
+
"login": "kalanakt",
|
15 |
+
"name": "Hash Minner",
|
16 |
+
"avatar_url": "https://avatars.githubusercontent.com/u/86665964?v=4",
|
17 |
+
"profile": "https://github.com/kalanakt",
|
18 |
+
"contributions": [
|
19 |
+
"code",
|
20 |
+
"ideas",
|
21 |
+
"infra",
|
22 |
+
"maintenance",
|
23 |
+
"test"
|
24 |
+
]
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"login": "TAMILVIP007",
|
28 |
+
"name": "TAMILVIP007",
|
29 |
+
"avatar_url": "https://avatars.githubusercontent.com/u/79161058?v=4",
|
30 |
+
"profile": "http://www.tamilvip007.me",
|
31 |
+
"contributions": [
|
32 |
+
"code"
|
33 |
+
]
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"login": "ananth-28",
|
37 |
+
"name": "ananth-28",
|
38 |
+
"avatar_url": "https://avatars.githubusercontent.com/u/106482929?v=4",
|
39 |
+
"profile": "https://github.com/ananth-28",
|
40 |
+
"contributions": [
|
41 |
+
"code"
|
42 |
+
]
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"login": "Divarion-D",
|
46 |
+
"name": "Danil",
|
47 |
+
"avatar_url": "https://avatars.githubusercontent.com/u/42798043?v=4",
|
48 |
+
"profile": "https://t.me/Divarion_D",
|
49 |
+
"contributions": [
|
50 |
+
"code"
|
51 |
+
]
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"login": "millysboy",
|
55 |
+
"name": "millysboy",
|
56 |
+
"avatar_url": "https://avatars.githubusercontent.com/u/108298343?v=4",
|
57 |
+
"profile": "https://github.com/millysboy",
|
58 |
+
"contributions": [
|
59 |
+
"code",
|
60 |
+
"ideas"
|
61 |
+
]
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"login": "all-contributors",
|
65 |
+
"name": "All Contributors",
|
66 |
+
"avatar_url": "https://avatars.githubusercontent.com/u/46410174?v=4",
|
67 |
+
"profile": "https://allcontributors.org",
|
68 |
+
"contributions": [
|
69 |
+
"design"
|
70 |
+
]
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"login": "hybridvamp",
|
74 |
+
"name": "HYBRID",
|
75 |
+
"avatar_url": "https://avatars.githubusercontent.com/u/48980248?v=4",
|
76 |
+
"profile": "https://github.com/hybridvamp",
|
77 |
+
"contributions": [
|
78 |
+
"code"
|
79 |
+
]
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"login": "Drago991",
|
83 |
+
"name": "Damin.du",
|
84 |
+
"avatar_url": "https://avatars.githubusercontent.com/u/69932259?v=4",
|
85 |
+
"profile": "https://github.com/Drago991",
|
86 |
+
"contributions": [
|
87 |
+
"code"
|
88 |
+
]
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"login": "AvikaTrivedi",
|
92 |
+
"name": "Avika Trivedi",
|
93 |
+
"avatar_url": "https://avatars.githubusercontent.com/u/84050503?v=4",
|
94 |
+
"profile": "https://t.me/sudodotsh",
|
95 |
+
"contributions": [
|
96 |
+
"code"
|
97 |
+
]
|
98 |
+
}
|
99 |
+
],
|
100 |
+
"contributorsPerLine": 7,
|
101 |
+
"skipCi": true,
|
102 |
+
"commitType": "docs"
|
103 |
+
}
|
.env.example
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
BOT_TOKEN=
|
2 |
+
API_ID=
|
3 |
+
API_HASH=
|
4 |
+
OWNER_ID=
|
.gitignore
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
__pycache__/
|
2 |
+
dist/
|
3 |
+
downloads/
|
4 |
+
.vscode
|
5 |
+
*.log
|
6 |
+
|
7 |
+
# Docs
|
8 |
+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
9 |
+
|
10 |
+
# dependencies
|
11 |
+
node_modules
|
12 |
+
.pnp
|
13 |
+
.pnp.js
|
14 |
+
|
15 |
+
# next.js
|
16 |
+
.next/
|
17 |
+
out/
|
18 |
+
build
|
19 |
+
|
20 |
+
# misc
|
21 |
+
.DS_Store
|
22 |
+
*.pem
|
23 |
+
|
24 |
+
# debug
|
25 |
+
npm-debug.log*
|
26 |
+
yarn-debug.log*
|
27 |
+
yarn-error.log*
|
28 |
+
.pnpm-debug.log*
|
29 |
+
|
30 |
+
# local env files
|
31 |
+
.env.local
|
32 |
+
.env.development.local
|
33 |
+
.env.test.local
|
34 |
+
.env.production.local
|
35 |
+
.env
|
36 |
+
|
37 |
+
*.session
|
38 |
+
*.session-journal
|
.hintrc
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"extends": [
|
3 |
+
"development"
|
4 |
+
],
|
5 |
+
"hints": {
|
6 |
+
"disown-opener": "off",
|
7 |
+
"typescript-config/strict": "off",
|
8 |
+
"button-type": "off"
|
9 |
+
}
|
10 |
+
}
|
.pylintrc
ADDED
@@ -0,0 +1,571 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[MAIN]
|
2 |
+
|
3 |
+
# Specify a configuration file.
|
4 |
+
#rcfile=
|
5 |
+
|
6 |
+
# Python code to execute, usually for sys.path manipulation such as
|
7 |
+
# pygtk.require().
|
8 |
+
#init-hook=
|
9 |
+
|
10 |
+
# Files or directories to be skipped. They should be base names, not
|
11 |
+
# paths.
|
12 |
+
ignore=CVS
|
13 |
+
|
14 |
+
# Add files or directories matching the regex patterns to the ignore-list. The
|
15 |
+
# regex matches against paths and can be in Posix or Windows format.
|
16 |
+
ignore-paths=
|
17 |
+
|
18 |
+
# Files or directories matching the regex patterns are skipped. The regex
|
19 |
+
# matches against base names, not paths.
|
20 |
+
ignore-patterns=^\.#
|
21 |
+
|
22 |
+
# Pickle collected data for later comparisons.
|
23 |
+
persistent=yes
|
24 |
+
|
25 |
+
# List of plugins (as comma separated values of python modules names) to load,
|
26 |
+
# usually to register additional checkers.
|
27 |
+
load-plugins=
|
28 |
+
pylint.extensions.check_elif,
|
29 |
+
pylint.extensions.bad_builtin,
|
30 |
+
pylint.extensions.docparams,
|
31 |
+
pylint.extensions.for_any_all,
|
32 |
+
pylint.extensions.set_membership,
|
33 |
+
pylint.extensions.code_style,
|
34 |
+
pylint.extensions.overlapping_exceptions,
|
35 |
+
pylint.extensions.typing,
|
36 |
+
pylint.extensions.redefined_variable_type,
|
37 |
+
pylint.extensions.comparison_placement,
|
38 |
+
pylint.extensions.mccabe,
|
39 |
+
|
40 |
+
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
|
41 |
+
# number of processors available to use.
|
42 |
+
jobs=0
|
43 |
+
|
44 |
+
# When enabled, pylint would attempt to guess common misconfiguration and emit
|
45 |
+
# user-friendly hints instead of false-positive error messages.
|
46 |
+
suggestion-mode=yes
|
47 |
+
|
48 |
+
# Allow loading of arbitrary C extensions. Extensions are imported into the
|
49 |
+
# active Python interpreter and may run arbitrary code.
|
50 |
+
unsafe-load-any-extension=no
|
51 |
+
|
52 |
+
# A comma-separated list of package or module names from where C extensions may
|
53 |
+
# be loaded. Extensions are loading into the active Python interpreter and may
|
54 |
+
# run arbitrary code
|
55 |
+
extension-pkg-allow-list=
|
56 |
+
|
57 |
+
# Minimum supported python version
|
58 |
+
py-version = 3.7.2
|
59 |
+
|
60 |
+
# Control the amount of potential inferred values when inferring a single
|
61 |
+
# object. This can help the performance when dealing with large functions or
|
62 |
+
# complex, nested conditions.
|
63 |
+
limit-inference-results=100
|
64 |
+
|
65 |
+
# Specify a score threshold to be exceeded before program exits with error.
|
66 |
+
fail-under=10.0
|
67 |
+
|
68 |
+
# Return non-zero exit code if any of these messages/categories are detected,
|
69 |
+
# even if score is above --fail-under value. Syntax same as enable. Messages
|
70 |
+
# specified are enabled, while categories only check already-enabled messages.
|
71 |
+
fail-on=
|
72 |
+
|
73 |
+
|
74 |
+
[MESSAGES CONTROL]
|
75 |
+
|
76 |
+
# Only show warnings with the listed confidence levels. Leave empty to show
|
77 |
+
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
|
78 |
+
# confidence=
|
79 |
+
|
80 |
+
# Enable the message, report, category or checker with the given id(s). You can
|
81 |
+
# either give multiple identifier separated by comma (,) or put this option
|
82 |
+
# multiple time (only on the command line, not in the configuration file where
|
83 |
+
# it should appear only once). See also the "--disable" option for examples.
|
84 |
+
enable=
|
85 |
+
use-symbolic-message-instead,
|
86 |
+
useless-suppression,
|
87 |
+
|
88 |
+
# Disable the message, report, category or checker with the given id(s). You
|
89 |
+
# can either give multiple identifiers separated by comma (,) or put this
|
90 |
+
# option multiple times (only on the command line, not in the configuration
|
91 |
+
# file where it should appear only once).You can also use "--disable=all" to
|
92 |
+
# disable everything first and then re-enable specific checks. For example, if
|
93 |
+
# you want to run only the similarities checker, you can use "--disable=all
|
94 |
+
# --enable=similarities". If you want to run only the classes checker, but have
|
95 |
+
# no Warning level messages displayed, use"--disable=all --enable=classes
|
96 |
+
# --disable=W"
|
97 |
+
|
98 |
+
disable=
|
99 |
+
attribute-defined-outside-init,
|
100 |
+
invalid-name,
|
101 |
+
missing-docstring,
|
102 |
+
protected-access,
|
103 |
+
too-few-public-methods,
|
104 |
+
# handled by black
|
105 |
+
format,
|
106 |
+
# We anticipate #3512 where it will become optional
|
107 |
+
fixme,
|
108 |
+
cyclic-import,
|
109 |
+
import-error,
|
110 |
+
C0116,
|
111 |
+
C0114
|
112 |
+
|
113 |
+
|
114 |
+
[REPORTS]
|
115 |
+
|
116 |
+
# Set the output format. Available formats are text, parseable, colorized, msvs
|
117 |
+
# (visual studio) and html. You can also give a reporter class, eg
|
118 |
+
# mypackage.mymodule.MyReporterClass.
|
119 |
+
output-format=text
|
120 |
+
|
121 |
+
# Tells whether to display a full report or only the messages
|
122 |
+
reports=no
|
123 |
+
|
124 |
+
# Python expression which should return a note less than 10 (10 is the highest
|
125 |
+
# note). You have access to the variables 'fatal', 'error', 'warning', 'refactor', 'convention'
|
126 |
+
# and 'info', which contain the number of messages in each category, as
|
127 |
+
# well as 'statement', which is the total number of statements analyzed. This
|
128 |
+
# score is used by the global evaluation report (RP0004).
|
129 |
+
evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10))
|
130 |
+
|
131 |
+
# Template used to display messages. This is a python new-style format string
|
132 |
+
# used to format the message information. See doc for all details
|
133 |
+
#msg-template=
|
134 |
+
|
135 |
+
# Activate the evaluation score.
|
136 |
+
score=yes
|
137 |
+
|
138 |
+
|
139 |
+
[LOGGING]
|
140 |
+
|
141 |
+
# Logging modules to check that the string format arguments are in logging
|
142 |
+
# function parameter format
|
143 |
+
logging-modules=logging
|
144 |
+
|
145 |
+
# The type of string formatting that logging methods do. `old` means using %
|
146 |
+
# formatting, `new` is for `{}` formatting.
|
147 |
+
logging-format-style=old
|
148 |
+
|
149 |
+
|
150 |
+
[MISCELLANEOUS]
|
151 |
+
|
152 |
+
# List of note tags to take in consideration, separated by a comma.
|
153 |
+
notes=FIXME,XXX,TODO
|
154 |
+
|
155 |
+
# Regular expression of note tags to take in consideration.
|
156 |
+
#notes-rgx=
|
157 |
+
|
158 |
+
|
159 |
+
[SIMILARITIES]
|
160 |
+
|
161 |
+
# Minimum lines number of a similarity.
|
162 |
+
min-similarity-lines=6
|
163 |
+
|
164 |
+
# Ignore comments when computing similarities.
|
165 |
+
ignore-comments=yes
|
166 |
+
|
167 |
+
# Ignore docstrings when computing similarities.
|
168 |
+
ignore-docstrings=yes
|
169 |
+
|
170 |
+
# Ignore imports when computing similarities.
|
171 |
+
ignore-imports=yes
|
172 |
+
|
173 |
+
# Signatures are removed from the similarity computation
|
174 |
+
ignore-signatures=yes
|
175 |
+
|
176 |
+
|
177 |
+
[VARIABLES]
|
178 |
+
|
179 |
+
# Tells whether we should check for unused import in __init__ files.
|
180 |
+
init-import=no
|
181 |
+
|
182 |
+
# A regular expression matching the name of dummy variables (i.e. expectedly
|
183 |
+
# not used).
|
184 |
+
dummy-variables-rgx=_$|dummy
|
185 |
+
|
186 |
+
# List of additional names supposed to be defined in builtins. Remember that
|
187 |
+
# you should avoid defining new builtins when possible.
|
188 |
+
additional-builtins=
|
189 |
+
|
190 |
+
# List of strings which can identify a callback function by name. A callback
|
191 |
+
# name must start or end with one of those strings.
|
192 |
+
callbacks=cb_,_cb
|
193 |
+
|
194 |
+
# Tells whether unused global variables should be treated as a violation.
|
195 |
+
allow-global-unused-variables=yes
|
196 |
+
|
197 |
+
# List of names allowed to shadow builtins
|
198 |
+
allowed-redefined-builtins=
|
199 |
+
|
200 |
+
# Argument names that match this expression will be ignored. Default to name
|
201 |
+
# with leading underscore.
|
202 |
+
ignored-argument-names=_.*
|
203 |
+
|
204 |
+
# List of qualified module names which can have objects that can redefine
|
205 |
+
# builtins.
|
206 |
+
redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
|
207 |
+
|
208 |
+
|
209 |
+
[FORMAT]
|
210 |
+
|
211 |
+
# Maximum number of characters on a single line.
|
212 |
+
max-line-length=120
|
213 |
+
|
214 |
+
# Regexp for a line that is allowed to be longer than the limit.
|
215 |
+
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
|
216 |
+
|
217 |
+
# Allow the body of an if to be on the same line as the test if there is no
|
218 |
+
# else.
|
219 |
+
single-line-if-stmt=no
|
220 |
+
|
221 |
+
# Allow the body of a class to be on the same line as the declaration if body
|
222 |
+
# contains single statement.
|
223 |
+
single-line-class-stmt=no
|
224 |
+
|
225 |
+
# Maximum number of lines in a module
|
226 |
+
max-module-lines=1000
|
227 |
+
|
228 |
+
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
|
229 |
+
# tab).
|
230 |
+
indent-string=' '
|
231 |
+
|
232 |
+
# Number of spaces of indent required inside a hanging or continued line.
|
233 |
+
indent-after-paren=4
|
234 |
+
|
235 |
+
# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
|
236 |
+
expected-line-ending-format=
|
237 |
+
|
238 |
+
|
239 |
+
[BASIC]
|
240 |
+
|
241 |
+
# Good variable names which should always be accepted, separated by a comma
|
242 |
+
good-names=i,j,k,ex,Run,_
|
243 |
+
|
244 |
+
# Good variable names regexes, separated by a comma. If names match any regex,
|
245 |
+
# they will always be accepted
|
246 |
+
good-names-rgxs=
|
247 |
+
|
248 |
+
# Bad variable names which should always be refused, separated by a comma
|
249 |
+
bad-names=foo,bar,baz,toto,tutu,tata
|
250 |
+
|
251 |
+
# Bad variable names regexes, separated by a comma. If names match any regex,
|
252 |
+
# they will always be refused
|
253 |
+
bad-names-rgxs=
|
254 |
+
|
255 |
+
# Colon-delimited sets of names that determine each other's naming style when
|
256 |
+
# the name regexes allow several styles.
|
257 |
+
name-group=
|
258 |
+
|
259 |
+
# Include a hint for the correct naming format with invalid-name
|
260 |
+
include-naming-hint=no
|
261 |
+
|
262 |
+
# Naming style matching correct function names.
|
263 |
+
function-naming-style=snake_case
|
264 |
+
|
265 |
+
# Regular expression matching correct function names
|
266 |
+
function-rgx=[a-z_][a-z0-9_]{2,30}$
|
267 |
+
|
268 |
+
# Naming style matching correct variable names.
|
269 |
+
variable-naming-style=snake_case
|
270 |
+
|
271 |
+
# Regular expression matching correct variable names
|
272 |
+
variable-rgx=[a-z_][a-z0-9_]{2,30}$
|
273 |
+
|
274 |
+
# Naming style matching correct constant names.
|
275 |
+
const-naming-style=UPPER_CASE
|
276 |
+
|
277 |
+
# Regular expression matching correct constant names
|
278 |
+
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
|
279 |
+
|
280 |
+
# Naming style matching correct attribute names.
|
281 |
+
attr-naming-style=snake_case
|
282 |
+
|
283 |
+
# Regular expression matching correct attribute names
|
284 |
+
attr-rgx=[a-z_][a-z0-9_]{2,}$
|
285 |
+
|
286 |
+
# Naming style matching correct argument names.
|
287 |
+
argument-naming-style=snake_case
|
288 |
+
|
289 |
+
# Regular expression matching correct argument names
|
290 |
+
argument-rgx=[a-z_][a-z0-9_]{2,30}$
|
291 |
+
|
292 |
+
# Naming style matching correct class attribute names.
|
293 |
+
class-attribute-naming-style=any
|
294 |
+
|
295 |
+
# Regular expression matching correct class attribute names
|
296 |
+
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
|
297 |
+
|
298 |
+
# Naming style matching correct class constant names.
|
299 |
+
class-const-naming-style=UPPER_CASE
|
300 |
+
|
301 |
+
# Regular expression matching correct class constant names. Overrides class-
|
302 |
+
# const-naming-style.
|
303 |
+
#class-const-rgx=
|
304 |
+
|
305 |
+
# Naming style matching correct inline iteration names.
|
306 |
+
inlinevar-naming-style=any
|
307 |
+
|
308 |
+
# Regular expression matching correct inline iteration names
|
309 |
+
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
|
310 |
+
|
311 |
+
# Naming style matching correct class names.
|
312 |
+
class-naming-style=PascalCase
|
313 |
+
|
314 |
+
# Regular expression matching correct class names
|
315 |
+
class-rgx=[A-Z_][a-zA-Z0-9]+$
|
316 |
+
|
317 |
+
|
318 |
+
# Naming style matching correct module names.
|
319 |
+
module-naming-style=snake_case
|
320 |
+
|
321 |
+
# Regular expression matching correct module names
|
322 |
+
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
|
323 |
+
|
324 |
+
|
325 |
+
# Naming style matching correct method names.
|
326 |
+
method-naming-style=snake_case
|
327 |
+
|
328 |
+
# Regular expression matching correct method names
|
329 |
+
method-rgx=[a-z_][a-z0-9_]{2,}$
|
330 |
+
|
331 |
+
# Regular expression which can overwrite the naming style set by typevar-naming-style.
|
332 |
+
#typevar-rgx=
|
333 |
+
|
334 |
+
# Regular expression which should only match function or class names that do
|
335 |
+
# not require a docstring. Use ^(?!__init__$)_ to also check __init__.
|
336 |
+
no-docstring-rgx=__.*__
|
337 |
+
|
338 |
+
# Minimum line length for functions/classes that require docstrings, shorter
|
339 |
+
# ones are exempt.
|
340 |
+
docstring-min-length=-1
|
341 |
+
|
342 |
+
# List of decorators that define properties, such as abc.abstractproperty.
|
343 |
+
property-classes=abc.abstractproperty
|
344 |
+
|
345 |
+
|
346 |
+
[TYPECHECK]
|
347 |
+
|
348 |
+
# Regex pattern to define which classes are considered mixins if ignore-mixin-
|
349 |
+
# members is set to 'yes'
|
350 |
+
mixin-class-rgx=.*MixIn
|
351 |
+
|
352 |
+
# List of module names for which member attributes should not be checked
|
353 |
+
# (useful for modules/projects where namespaces are manipulated during runtime
|
354 |
+
# and thus existing member attributes cannot be deduced by static analysis). It
|
355 |
+
# supports qualified module names, as well as Unix pattern matching.
|
356 |
+
ignored-modules=
|
357 |
+
|
358 |
+
# List of class names for which member attributes should not be checked (useful
|
359 |
+
# for classes with dynamically set attributes). This supports the use of
|
360 |
+
# qualified names.
|
361 |
+
ignored-classes=SQLObject, optparse.Values, thread._local, _thread._local
|
362 |
+
|
363 |
+
# List of members which are set dynamically and missed by pylint inference
|
364 |
+
# system, and so shouldn't trigger E1101 when accessed. Python regular
|
365 |
+
# expressions are accepted.
|
366 |
+
generated-members=REQUEST,acl_users,aq_parent,argparse.Namespace
|
367 |
+
|
368 |
+
# List of decorators that create context managers from functions, such as
|
369 |
+
# contextlib.contextmanager.
|
370 |
+
contextmanager-decorators=contextlib.contextmanager
|
371 |
+
|
372 |
+
# Tells whether to warn about missing members when the owner of the attribute
|
373 |
+
# is inferred to be None.
|
374 |
+
ignore-none=yes
|
375 |
+
|
376 |
+
# This flag controls whether pylint should warn about no-member and similar
|
377 |
+
# checks whenever an opaque object is returned when inferring. The inference
|
378 |
+
# can return multiple potential results while evaluating a Python object, but
|
379 |
+
# some branches might not be evaluated, which results in partial inference. In
|
380 |
+
# that case, it might be useful to still emit no-member and other checks for
|
381 |
+
# the rest of the inferred objects.
|
382 |
+
ignore-on-opaque-inference=yes
|
383 |
+
|
384 |
+
# Show a hint with possible names when a member name was not found. The aspect
|
385 |
+
# of finding the hint is based on edit distance.
|
386 |
+
missing-member-hint=yes
|
387 |
+
|
388 |
+
# The minimum edit distance a name should have in order to be considered a
|
389 |
+
# similar match for a missing member name.
|
390 |
+
missing-member-hint-distance=1
|
391 |
+
|
392 |
+
# The total number of similar names that should be taken in consideration when
|
393 |
+
# showing a hint for a missing member.
|
394 |
+
missing-member-max-choices=1
|
395 |
+
|
396 |
+
[SPELLING]
|
397 |
+
|
398 |
+
# Spelling dictionary name. Available dictionaries: none. To make it working
|
399 |
+
# install python-enchant package.
|
400 |
+
spelling-dict=
|
401 |
+
|
402 |
+
# List of comma separated words that should not be checked.
|
403 |
+
spelling-ignore-words=
|
404 |
+
|
405 |
+
# List of comma separated words that should be considered directives if they
|
406 |
+
# appear and the beginning of a comment and should not be checked.
|
407 |
+
spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:,pragma:,# noinspection
|
408 |
+
|
409 |
+
# A path to a file that contains private dictionary; one word per line.
|
410 |
+
spelling-private-dict-file=.pyenchant_pylint_custom_dict.txt
|
411 |
+
|
412 |
+
# Tells whether to store unknown words to indicated private dictionary in
|
413 |
+
# --spelling-private-dict-file option instead of raising a message.
|
414 |
+
spelling-store-unknown-words=no
|
415 |
+
|
416 |
+
# Limits count of emitted suggestions for spelling mistakes.
|
417 |
+
max-spelling-suggestions=2
|
418 |
+
|
419 |
+
|
420 |
+
[DESIGN]
|
421 |
+
|
422 |
+
# Maximum number of arguments for function / method
|
423 |
+
max-args=10
|
424 |
+
|
425 |
+
# Maximum number of locals for function / method body
|
426 |
+
max-locals=25
|
427 |
+
|
428 |
+
# Maximum number of return / yield for function / method body
|
429 |
+
max-returns=11
|
430 |
+
|
431 |
+
# Maximum number of branch for function / method body
|
432 |
+
max-branches=27
|
433 |
+
|
434 |
+
# Maximum number of statements in function / method body
|
435 |
+
max-statements=100
|
436 |
+
|
437 |
+
# Maximum number of parents for a class (see R0901).
|
438 |
+
max-parents=7
|
439 |
+
|
440 |
+
# List of qualified class names to ignore when counting class parents (see R0901).
|
441 |
+
ignored-parents=
|
442 |
+
|
443 |
+
# Maximum number of attributes for a class (see R0902).
|
444 |
+
max-attributes=11
|
445 |
+
|
446 |
+
# Minimum number of public methods for a class (see R0903).
|
447 |
+
min-public-methods=2
|
448 |
+
|
449 |
+
# Maximum number of public methods for a class (see R0904).
|
450 |
+
max-public-methods=25
|
451 |
+
|
452 |
+
# Maximum number of boolean expressions in an if statement (see R0916).
|
453 |
+
max-bool-expr=5
|
454 |
+
|
455 |
+
# List of regular expressions of class ancestor names to
|
456 |
+
# ignore when counting public methods (see R0903).
|
457 |
+
exclude-too-few-public-methods=
|
458 |
+
|
459 |
+
max-complexity=10
|
460 |
+
|
461 |
+
[CLASSES]
|
462 |
+
|
463 |
+
# List of method names used to declare (i.e. assign) instance attributes.
|
464 |
+
defining-attr-methods=__init__,__new__,setUp,__post_init__
|
465 |
+
|
466 |
+
# List of valid names for the first argument in a class method.
|
467 |
+
valid-classmethod-first-arg=cls
|
468 |
+
|
469 |
+
# List of valid names for the first argument in a metaclass class method.
|
470 |
+
valid-metaclass-classmethod-first-arg=mcs
|
471 |
+
|
472 |
+
# List of member names, which should be excluded from the protected access
|
473 |
+
# warning.
|
474 |
+
exclude-protected=_asdict,_fields,_replace,_source,_make
|
475 |
+
|
476 |
+
# Warn about protected attribute access inside special methods
|
477 |
+
check-protected-access-in-special-methods=no
|
478 |
+
|
479 |
+
[IMPORTS]
|
480 |
+
|
481 |
+
# List of modules that can be imported at any level, not just the top level
|
482 |
+
# one.
|
483 |
+
allow-any-import-level=
|
484 |
+
|
485 |
+
# Allow wildcard imports from modules that define __all__.
|
486 |
+
allow-wildcard-with-all=no
|
487 |
+
|
488 |
+
# Analyse import fallback blocks. This can be used to support both Python 2 and
|
489 |
+
# 3 compatible code, which means that the block might have code that exists
|
490 |
+
# only in one or another interpreter, leading to false positives when analysed.
|
491 |
+
analyse-fallback-blocks=no
|
492 |
+
|
493 |
+
# Deprecated modules which should not be used, separated by a comma
|
494 |
+
deprecated-modules=regsub,TERMIOS,Bastion,rexec
|
495 |
+
|
496 |
+
# Create a graph of every (i.e. internal and external) dependencies in the
|
497 |
+
# given file (report RP0402 must not be disabled)
|
498 |
+
import-graph=
|
499 |
+
|
500 |
+
# Create a graph of external dependencies in the given file (report RP0402 must
|
501 |
+
# not be disabled)
|
502 |
+
ext-import-graph=
|
503 |
+
|
504 |
+
# Create a graph of internal dependencies in the given file (report RP0402 must
|
505 |
+
# not be disabled)
|
506 |
+
int-import-graph=
|
507 |
+
|
508 |
+
# Force import order to recognize a module as part of the standard
|
509 |
+
# compatibility libraries.
|
510 |
+
known-standard-library=
|
511 |
+
|
512 |
+
# Force import order to recognize a module as part of a third party library.
|
513 |
+
known-third-party=enchant
|
514 |
+
|
515 |
+
# Couples of modules and preferred modules, separated by a comma.
|
516 |
+
preferred-modules=
|
517 |
+
|
518 |
+
|
519 |
+
[EXCEPTIONS]
|
520 |
+
|
521 |
+
# Exceptions that will emit a warning when being caught. Defaults to
|
522 |
+
# "Exception"
|
523 |
+
overgeneral-exceptions=Exception
|
524 |
+
|
525 |
+
|
526 |
+
[TYPING]
|
527 |
+
|
528 |
+
# Set to ``no`` if the app / library does **NOT** need to support runtime
|
529 |
+
# introspection of type annotations. If you use type annotations
|
530 |
+
# **exclusively** for type checking of an application, you're probably fine.
|
531 |
+
# For libraries, evaluate if some users what to access the type hints at
|
532 |
+
# runtime first, e.g., through ``typing.get_type_hints``. Applies to Python
|
533 |
+
# versions 3.7 - 3.9
|
534 |
+
runtime-typing = no
|
535 |
+
|
536 |
+
|
537 |
+
[DEPRECATED_BUILTINS]
|
538 |
+
|
539 |
+
# List of builtins function names that should not be used, separated by a comma
|
540 |
+
bad-functions=map,input
|
541 |
+
|
542 |
+
|
543 |
+
[REFACTORING]
|
544 |
+
|
545 |
+
# Maximum number of nested blocks for function / method body
|
546 |
+
max-nested-blocks=5
|
547 |
+
|
548 |
+
# Complete name of functions that never returns. When checking for
|
549 |
+
# inconsistent-return-statements if a never returning function is called then
|
550 |
+
# it will be considered as an explicit return statement and no message will be
|
551 |
+
# printed.
|
552 |
+
never-returning-functions=sys.exit,argparse.parse_error
|
553 |
+
|
554 |
+
|
555 |
+
[STRING]
|
556 |
+
|
557 |
+
# This flag controls whether inconsistent-quotes generates a warning when the
|
558 |
+
# character used as a quote delimiter is used inconsistently within a module.
|
559 |
+
check-quote-consistency=no
|
560 |
+
|
561 |
+
# This flag controls whether the implicit-str-concat should generate a warning
|
562 |
+
# on implicit string concatenation in sequences defined over several lines.
|
563 |
+
check-str-concat-over-line-jumps=no
|
564 |
+
|
565 |
+
|
566 |
+
[CODE_STYLE]
|
567 |
+
|
568 |
+
# Max line length for which to sill emit suggestions. Used to prevent optional
|
569 |
+
# suggestions which would get split by a code formatter (e.g., black). Will
|
570 |
+
# default to the setting for ``max-line-length``.
|
571 |
+
#max-line-length-suggestions=
|
CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Citizen Code of Conduct
|
2 |
+
|
3 |
+
## 1. Purpose
|
4 |
+
|
5 |
+
A primary goal of All Url Uploader is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).
|
6 |
+
|
7 |
+
This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.
|
8 |
+
|
9 |
+
We invite all those who participate in All Url Uploader to help us create safe and positive experiences for everyone.
|
10 |
+
|
11 |
+
## 2. Open [Source/Culture/Tech] Citizenship
|
12 |
+
|
13 |
+
A supplemental goal of this Code of Conduct is to increase open [source/culture/tech] citizenship by encouraging participants to recognize and strengthen the relationships between our actions and their effects on our community.
|
14 |
+
|
15 |
+
Communities mirror the societies in which they exist and positive action is essential to counteract the many forms of inequality and abuses of power that exist in society.
|
16 |
+
|
17 |
+
If you see someone who is making an extra effort to ensure our community is welcoming, friendly, and encourages all participants to contribute to the fullest extent, we want to know.
|
18 |
+
|
19 |
+
## 3. Expected Behavior
|
20 |
+
|
21 |
+
The following behaviors are expected and requested of all community members:
|
22 |
+
|
23 |
+
* Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.
|
24 |
+
* Exercise consideration and respect in your speech and actions.
|
25 |
+
* Attempt collaboration before conflict.
|
26 |
+
* Refrain from demeaning, discriminatory, or harassing behavior and speech.
|
27 |
+
* Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.
|
28 |
+
* Remember that community event venues may be shared with members of the public; please be respectful to all patrons of these locations.
|
29 |
+
|
30 |
+
## 4. Unacceptable Behavior
|
31 |
+
|
32 |
+
The following behaviors are considered harassment and are unacceptable within our community:
|
33 |
+
|
34 |
+
* Violence, threats of violence or violent language directed against another person.
|
35 |
+
* Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
|
36 |
+
* Posting or displaying sexually explicit or violent material.
|
37 |
+
* Posting or threatening to post other people's personally identifying information ("doxing").
|
38 |
+
* Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
|
39 |
+
* Inappropriate photography or recording.
|
40 |
+
* Inappropriate physical contact. You should have someone's consent before touching them.
|
41 |
+
* Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.
|
42 |
+
* Deliberate intimidation, stalking or following (online or in person).
|
43 |
+
* Advocating for, or encouraging, any of the above behavior.
|
44 |
+
* Sustained disruption of community events, including talks and presentations.
|
45 |
+
|
46 |
+
## 5. Weapons Policy
|
47 |
+
|
48 |
+
No weapons will be allowed at All Url Uploader events, community spaces, or in other spaces covered by the scope of this Code of Conduct. Weapons include but are not limited to guns, explosives (including fireworks), and large knives such as those used for hunting or display, as well as any other item used for the purpose of causing injury or harm to others. Anyone seen in possession of one of these items will be asked to leave immediately, and will only be allowed to return without the weapon. Community members are further expected to comply with all state and local laws on this matter.
|
49 |
+
|
50 |
+
## 6. Consequences of Unacceptable Behavior
|
51 |
+
|
52 |
+
Unacceptable behavior from any community member, including sponsors and those with decision-making authority, will not be tolerated.
|
53 |
+
|
54 |
+
Anyone asked to stop unacceptable behavior is expected to comply immediately.
|
55 |
+
|
56 |
+
If a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event).
|
57 |
+
|
58 |
+
## 7. Reporting Guidelines
|
59 |
+
|
60 |
+
If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. [email protected].
|
61 |
+
|
62 | |
63 |
+
|
64 |
+
Additionally, community organizers are available to help community members engage with local law enforcement or to otherwise help those experiencing unacceptable behavior feel safe. In the context of in-person events, organizers will also provide escorts as desired by the person experiencing distress.
|
65 |
+
|
66 |
+
## 8. Addressing Grievances
|
67 |
+
|
68 |
+
If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify codecrush with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies. [Policy](https://urluploader.vercel.app/policy)
|
69 |
+
|
70 |
+
https://urluploader.vercel.app/
|
71 |
+
|
72 |
+
## 9. Scope
|
73 |
+
|
74 |
+
We expect all community participants (contributors, paid or otherwise; sponsors; and other guests) to abide by this Code of Conduct in all community venues--online and in-person--as well as in all one-on-one communications pertaining to community business.
|
75 |
+
|
76 |
+
This code of conduct and its related procedures also applies to unacceptable behavior occurring outside the scope of community activities when such behavior has the potential to adversely affect the safety and well-being of community members.
|
77 |
+
|
78 |
+
## 10. Contact info
|
79 |
+
|
80 | |
81 |
+
|
82 |
+
## 11. License and attribution
|
83 |
+
|
84 |
+
The Citizen Code of Conduct is distributed by [Stumptown Syndicate](http://stumptownsyndicate.org) under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/).
|
85 |
+
|
86 |
+
Portions of text derived from the [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Geek Feminism Anti-Harassment Policy](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy).
|
87 |
+
|
88 |
+
_Revision 2.3. Posted 6 March 2017._
|
89 |
+
|
90 |
+
_Revision 2.2. Posted 4 February 2016._
|
91 |
+
|
92 |
+
_Revision 2.1. Posted 23 June 2014._
|
93 |
+
|
94 |
+
_Revision 2.0, adopted by the [Stumptown Syndicate](http://stumptownsyndicate.org) board on 10 January 2013. Posted 17 March 2013._
|
CONTRIBUTING.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## Contributing to All-Url-Uploader
|
2 |
+
|
3 |
+
Thank you for considering contributing to All-Url-Uploader! We appreciate any help that you can provide, whether it's reporting a bug, proposing a feature, or submitting code changes.
|
4 |
+
|
5 |
+
### Reporting Issues
|
6 |
+
|
7 |
+
If you encounter a problem while using All-Url-Uploader, please create a new issue in our GitHub repository. Please be as descriptive as possible when reporting the issue, including steps to reproduce the problem, screenshots if applicable, and any error messages that you received.
|
8 |
+
|
9 |
+
### Proposing Features
|
10 |
+
|
11 |
+
If you have an idea for a new feature that you would like to see added to All-Url-Uploader, please create a new issue in our GitHub repository. Please describe the feature in as much detail as possible, including any relevant use cases or examples.
|
12 |
+
|
13 |
+
### Contributing Code
|
14 |
+
|
15 |
+
We welcome contributions of code to All-Url-Uploader! If you would like to submit a code change, please follow these steps:
|
16 |
+
|
17 |
+
- > Fork the repository on GitHub
|
18 |
+
- > Clone your fork to your local machine
|
19 |
+
- > Create a new branch for your changes
|
20 |
+
- > Make your changes and commit them
|
21 |
+
- > Push your changes to your fork on GitHub
|
22 |
+
- > Create a pull request in our repository
|
23 |
+
- > Please ensure that your code follows our code style guidelines and that you have added appropriate tests for any new functionality.
|
24 |
+
|
25 |
+
### Code of Conduct
|
26 |
+
|
27 |
+
All contributors to All-Url-Uploader are expected to follow our code of conduct. Please review it before contributing.
|
28 |
+
|
29 |
+
### Conclusion
|
30 |
+
|
31 |
+
We hope that you find contributing to All-Url-Uploader to be a positive experience! If you have any questions or concerns, please don't hesitate to reach out to us.
|
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
|
3 |
+
RUN apt-get update -y && apt-get upgrade -y
|
4 |
+
RUN apt-get install ffmpeg -y
|
5 |
+
|
6 |
+
WORKDIR .
|
7 |
+
COPY . .
|
8 |
+
|
9 |
+
RUN pip3 install --no-cache-dir -r requirements.txt
|
10 |
+
|
11 |
+
CMD ["python3", "bot.py"]
|
LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2022 @kalanakt | www.netronk.com
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE
|
NEW_README.md
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
add your suggestion to write better readme and docs site
|
Procfile
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
web: gunicorn app:app & python3 bot.py
|
README.md
CHANGED
@@ -1,13 +1,210 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
<p align="center">
|
4 |
+
<a href="https://www.fiverr.com/share/kpLBoo"><img src="https://fiverr-res.cloudinary.com/images/t_main1,q_auto,f_auto,q_auto,f_auto/gigs/310030332/original/dea9a8cecd633a38d59659d455e8a7f46e914505/develop-a-telegram-bot-and-deployed-on-vercel-at-no-cost.jpg"/></a>
|
5 |
+
|
6 |
+
<h1 align="center">Get Your Bot Developed and Hosted for Free! 🔥</h1>
|
7 |
+
<h5 align="center">Are you tired of paying for bot hosting? Look no further! I offer affordable bot development services starting at just $5, and all bots are hosted for free on vercel.com Whether you need a chatbot, a trading bot, or anything in between, I've got you covered. Contact me on <a href="https://www.fiverr.com/share/kpLBoo">fiverr</a> today to get started. </p>
|
8 |
+
</h5> <br><br>
|
9 |
+
|
10 |
+
## Check Out Youtube Video & Playlist Downloder Bot
|
11 |
+
|
12 |
+
<a href="https://github.com/kalanakt/awesome-telegram"><img align="right" title="Awesome Telegram" src="https://github.com/kalanakt/awesome-telegram/raw/main/assets/logo.svg" alt="Awesome Heroku" width="180px"></a>
|
13 |
+
|
14 |
+
<br>
|
15 |
+
|
16 |
+
Download YouTube videos and playlists. It supports both video and audio downloads, and provides a variety of resolution and format options for video downloads.
|
17 |
+
|
18 |
+
<a href="https://github.com/kalanakt/videoDefUserBot">Try Now...</a>
|
19 |
+
|
20 |
+
<br>
|
21 |
+
<p align="center"><a href="https://t.me/TMWAD" target="_blank" rel="noopener noreferrer"><img width="450" src="https://github.com/kalanakt/All-Url-Uploader/blob/main/asset/tmwad.png" alt="@TMWAD logo"></a></p>
|
22 |
+
<p align='center'>
|
23 |
+
<img alt="GitHub Sparkline" src="https://stars.medv.io/kalanakt/All-Url-Uploader.svg">
|
24 |
+
</p>
|
25 |
+
<br>
|
26 |
+
|
27 |
+
<p align="center">
|
28 |
+
<a href="https://github.com/kalanakt/awesome-telegram"><img alt="Awesome Telegram" src="https://cdn.jsdelivr.net/gh/kalanakt/awesome-telegram@24ddbd85dde88890615abc707517e1f2ab33b493/assets/Awesome%20Telegram.svg"></a>
|
29 |
+
<img alt="GitHub code size in bytes" src="https://img.shields.io/github/languages/code-size/kalanakt/All-Url-Uploader?logo=files&logoColor=f72585&style=social">
|
30 |
+
<a href="https://www.codefactor.io/repository/github/kalanakt/all-url-uploader/overview/main"><img src="https://www.codefactor.io/repository/github/kalanakt/all-url-uploader/badge/main" alt="CodeFactor" /></a>
|
31 |
+
<img alt="GitHub issues" src="https://img.shields.io/github/issues-raw/kalanakt/All-Url-Uploader?color=8eecf5&logo=anaconda&logoColor=06d6a0&style=social">
|
32 |
+
<img alt="GitHub" src="https://img.shields.io/github/license/kalanakt/All-Url-Uploader?logo=adguard&logoColor=390099&style=social">
|
33 |
+
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/kalanakt/All-Url-Uploader?color=90e0ef&logoColor=ff4d6d&style=social">
|
34 |
+
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/kalanakt/All-Url-Uploader?logo=electron&logoColor=89fc00&style=social">
|
35 |
+
</p>
|
36 |
+
<br>
|
37 |
+
|
38 |
+
<h1>⛩ Introduction</h1>
|
39 |
+
|
40 |
+
<p>A simple Telegram bot, upload media file | video to Telegram using the direct download link. (YouTube, Mediafire, Google Drive, Mega drive, etc)</p>
|
41 |
+
<ul>
|
42 |
+
<li>YouTube, Google Drive, Apple Music, Spotify, Resso, & direct Links support.</li>
|
43 |
+
<li>Bot can upload documents and files of video & audio types.</li>
|
44 |
+
<li>Deploy to Heroku | locally | VPS.</li>
|
45 |
+
<li>Custom thumbnail support.</li>
|
46 |
+
</ul>
|
47 |
+
<ul>
|
48 |
+
<li>/thumb - view your custom thumbunli</li>
|
49 |
+
<li>/delthumb - delete your custom thumbunli</li>
|
50 |
+
</ul>
|
51 |
+
<br>
|
52 |
+
<h1>🔥 Getting Started [<a href="https://urluploader.vercel.app/">Documentation</a>]</h1>
|
53 |
+
|
54 |
+
<blockquote cite="https://kalanakt.github.io/All-Url-Uploader">
|
55 |
+
A simple Telegram Bot, upload media file | video To Telegram using the direct download link. (YouTube, Mediafire, Google Drive, Mega drive, etc)
|
56 |
+
|
57 |
+
Complete Documentation for All-Url-Uploader Bot
|
58 |
+
</blockquote>
|
59 |
+
<br>
|
60 |
+
<h1>⚡️ Ecosystem</h1>
|
61 |
+
|
62 |
+
| Version | Status | Description |
|
63 |
+
| -------------------- | --------------------- | ------------------------------------------------------------------------------ |
|
64 |
+
| <a href="https://github.com/kalanakt/All-Url-Uploader/releases/tag/v1.0.0">v1.0.0</a> | ✘ | ☑ Upload all ytdl links, direct links |
|
65 |
+
| <a href="https://github.com/kalanakt/All-Url-Uploader/releases/tag/v2.0.0">v2.0.0</a> | ✔ | ☑ Upload all ytdl links, direct links, google drive etc. (Speed is much higher than version 1) |
|
66 |
+
| <a href="https://github.com/kalanakt/All-Url-Uploader/releases/tag/v2.0.1">v2.0.1</a> | ✘ | ☑ custom thumbnail support, fixed youtube download |
|
67 |
+
| <a href="https://github.com/kalanakt/All-Url-Uploader/releases/tag/v2.0.2">v2.0.2</a> | ✔ | ☑ fixed Bugs in v2.0.1, Modify custom thumbnail support |
|
68 |
+
<br>
|
69 |
+
<h1>🎯 To-Dos</h1>
|
70 |
+
|
71 |
+
* [x] deploy to vps setup
|
72 |
+
* [x] custom thumbnail support
|
73 |
+
* [ ] custom caption support
|
74 |
+
* [ ] mega.nz support
|
75 |
+
* [ ] pdisk support
|
76 |
+
<br>
|
77 |
+
<h1>💥 Deploy</h1>
|
78 |
+
|
79 |
+
<details><summary>Deploy To Heroku</summary>
|
80 |
+
<br>
|
81 |
+
|
82 |
+
* Fork the repo
|
83 |
+
* Copy forked repo link
|
84 |
+
* <a href="https://kalanakt.github.io/ToHeroku/app/" target="_blank">Click Here</a> To Continue.
|
85 |
+
|
86 |
+
</details>
|
87 |
+
|
88 |
+
<details><summary>Deploy Locally</summary>
|
89 |
+
<p>
|
90 |
+
<pre>
|
91 |
+
# Fork Repo
|
92 |
+
# Edit Uploader/config.py with variables
|
93 |
+
|
94 |
+
git clone <YOUR_REPO_LINK>
|
95 |
+
cd <YOUR_REPO_NAME>
|
96 |
+
pip3 install -U -r requirements.txt
|
97 |
+
python3 bot.py
|
98 |
+
</pre>
|
99 |
+
</p>
|
100 |
+
</details>
|
101 |
+
|
102 |
+
<details><summary>Deploy To VPS</summary>
|
103 |
+
<p>
|
104 |
+
<pre>
|
105 |
+
git clone https://github.com/kalanakt/All-Url-Uploader
|
106 |
+
cd All-Url-Uploader
|
107 |
+
pip3 install -U -r requirements.txt
|
108 |
+
# Edit Uploader/config.py with variables.
|
109 |
+
python3 bot.py
|
110 |
+
</pre>
|
111 |
+
</p>
|
112 |
+
</details>
|
113 |
+
<br>
|
114 |
+
<h1>⁉ Questions</h1>
|
115 |
+
|
116 |
+
<p>For questions and support please use <a href="https://github.com/kalanakt/All-Url-Uploader/discussions" target="_blank" rel="noopener noreferrer">Discussions</a>. The issue list of this repo is <strong>exclusively</strong> for bug reports and feature requests.</p>
|
117 |
+
<br>
|
118 |
+
<h1>⚠️ Issues</h1>
|
119 |
+
|
120 |
+
<p>Please make sure to read the <a href="https://github.com/kalanakt/All-Url-Uploader/discussions/categories/issue-reporting-checklist" target="_blank" rel="noopener noreferrer">Issue Reporting Checklist</a>. before opening an <a href="https://github.com/kalanakt/All-Url-Uploader/issues" target="_blank" rel="noopener noreferrer">issue</a>. Issues not conforming to the guidelines may be closed immediately.</p>
|
121 |
+
<br>
|
122 |
+
<h1>📜 Changelog</h1>
|
123 |
+
|
124 |
+
<p>Detailed changes for each release are documented in the <a href="https://github.com/kalanakt/All-Url-Uploader/commits/main" target="_blank" rel="noopener noreferrer">main commits</a></p>
|
125 |
+
<code>Full Changelog: <a href="https://github.com/kalanakt/All-Url-Uploader/commits/v1.0.0">v1.0.0</a></code>
|
126 |
+
<code>Full Changelog: <a href="https://github.com/kalanakt/All-Url-Uploader/compare/v1.0.0...v2.0.0">v1.0.0...v2.0.0</a></code>
|
127 |
+
<code>Full Changelog: <a href="https://github.com/kalanakt/All-Url-Uploader/compare/v2.0.0...v2.0.1">v2.0.0...v2.0.1</a></code>
|
128 |
+
<code>Full Changelog: <a href="https://github.com/kalanakt/All-Url-Uploader/compare/v2.0.1...v2.0.2">v2.0.1...v2.0.2</a></code>
|
129 |
+
<br>
|
130 |
+
<br>
|
131 |
+
<h1>🔮 Stay In Touch</h1>
|
132 |
+
|
133 |
+
- [Telegram](https://t.me/TMWAD)
|
134 |
+
<br>
|
135 |
+
<h1>📊 Contribution</h1>
|
136 |
+
|
137 |
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
138 |
+
<!-- prettier-ignore-start -->
|
139 |
+
<!-- markdownlint-disable -->
|
140 |
+
<table>
|
141 |
+
<tbody>
|
142 |
+
<tr>
|
143 |
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kalanakt"><img src="https://avatars.githubusercontent.com/u/86665964?v=4?s=100" width="100px;" alt="Hash Minner"/><br /><sub><b>Hash Minner</b></sub></a><br /><a href="https://github.com/kalanakt/All-Url-Uploader/commits?author=kalanakt" title="Code">💻</a> <a href="#ideas-kalanakt" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-kalanakt" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-kalanakt" title="Maintenance">🚧</a> <a href="https://github.com/kalanakt/All-Url-Uploader/commits?author=kalanakt" title="Tests">⚠️</a></td>
|
144 |
+
<td align="center" valign="top" width="14.28%"><a href="http://www.tamilvip007.me"><img src="https://avatars.githubusercontent.com/u/79161058?v=4?s=100" width="100px;" alt="TAMILVIP007"/><br /><sub><b>TAMILVIP007</b></sub></a><br /><a href="https://github.com/kalanakt/All-Url-Uploader/commits?author=TAMILVIP007" title="Code">💻</a></td>
|
145 |
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ananth-28"><img src="https://avatars.githubusercontent.com/u/106482929?v=4?s=100" width="100px;" alt="ananth-28"/><br /><sub><b>ananth-28</b></sub></a><br /><a href="https://github.com/kalanakt/All-Url-Uploader/commits?author=ananth-28" title="Code">💻</a></td>
|
146 |
+
<td align="center" valign="top" width="14.28%"><a href="https://t.me/Divarion_D"><img src="https://avatars.githubusercontent.com/u/42798043?v=4?s=100" width="100px;" alt="Danil"/><br /><sub><b>Danil</b></sub></a><br /><a href="https://github.com/kalanakt/All-Url-Uploader/commits?author=Divarion-D" title="Code">💻</a></td>
|
147 |
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/millysboy"><img src="https://avatars.githubusercontent.com/u/108298343?v=4?s=100" width="100px;" alt="millysboy"/><br /><sub><b>millysboy</b></sub></a><br /><a href="https://github.com/kalanakt/All-Url-Uploader/commits?author=millysboy" title="Code">💻</a> <a href="#ideas-millysboy" title="Ideas, Planning, & Feedback">🤔</a></td>
|
148 |
+
<td align="center" valign="top" width="14.28%"><a href="https://allcontributors.org"><img src="https://avatars.githubusercontent.com/u/46410174?v=4?s=100" width="100px;" alt="All Contributors"/><br /><sub><b>All Contributors</b></sub></a><br /><a href="#design-all-contributors" title="Design">🎨</a></td>
|
149 |
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/hybridvamp"><img src="https://avatars.githubusercontent.com/u/48980248?v=4?s=100" width="100px;" alt="HYBRID"/><br /><sub><b>HYBRID</b></sub></a><br /><a href="https://github.com/kalanakt/All-Url-Uploader/commits?author=hybridvamp" title="Code">💻</a></td>
|
150 |
+
</tr>
|
151 |
+
<tr>
|
152 |
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Drago991"><img src="https://avatars.githubusercontent.com/u/69932259?v=4?s=100" width="100px;" alt="Damin.du"/><br /><sub><b>Damin.du</b></sub></a><br /><a href="https://github.com/kalanakt/All-Url-Uploader/commits?author=Drago991" title="Code">💻</a></td>
|
153 |
+
<td align="center" valign="top" width="14.28%"><a href="https://t.me/sudodotsh"><img src="https://avatars.githubusercontent.com/u/84050503?v=4?s=100" width="100px;" alt="Avika Trivedi"/><br /><sub><b>Avika Trivedi</b></sub></a><br /><a href="https://github.com/kalanakt/All-Url-Uploader/commits?author=AvikaTrivedi" title="Code">💻</a></td>
|
154 |
+
</tr>
|
155 |
+
</tbody>
|
156 |
+
</table>
|
157 |
+
|
158 |
+
<!-- markdownlint-restore -->
|
159 |
+
<!-- prettier-ignore-end -->
|
160 |
+
|
161 |
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
162 |
+
|
163 |
+
<p>If you have a this bot-related bug fix/component/tool/idea, add it with a <a href="https://github.com/kalanakt/All-Url-Uploader/pulls" target="_blank" rel="noopener noreferrer">pull request.</a> Thank you to all the people who contributed to this project!</p>
|
164 |
+
<a href="https:///pr.new/kalanakt/All-Url-Uploader">
|
165 |
+
<img
|
166 |
+
alt="Open in Codeflow"
|
167 |
+
src="https://developer.stackblitz.com/img/open_in_codeflow.svg"
|
168 |
+
/>
|
169 |
+
</a>
|
170 |
+
<br />
|
171 |
+
<h1>💖 Thanks To</h1>
|
172 |
+
|
173 |
+
<p>This bot is developed by using many Github open source projects.</p>
|
174 |
+
<p>Special thanks to people who starred to this repo and contributed to this project</p>
|
175 |
+
<br>
|
176 |
+
<h1>💷 License</h1>
|
177 |
+
|
178 |
+
[MIT License](https://opensource.org/licenses/MIT)
|
179 |
+
|
180 |
+
## Star History
|
181 |
+
|
182 |
+
[](https://star-history.com/#kalanakt/All-Url-Uploader&Date)
|
183 |
+
|
184 |
+
|
185 |
+
<br>
|
186 |
+
<em>Copyright (c) 2022-present <strong><a href="https://github.com/kalanakt">Hash Minner</a></strong></em>
|
187 |
+
|
188 |
+
<!--
|
189 |
+
MIT License
|
190 |
+
|
191 |
+
Copyright (c) 2022 Hash Minner
|
192 |
+
|
193 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
194 |
+
of this software and associated documentation files (the "Software"), to deal
|
195 |
+
in the Software without restriction, including without limitation the rights
|
196 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
197 |
+
copies of the Software, and to permit persons to whom the Software is
|
198 |
+
furnished to do so, subject to the following conditions:
|
199 |
+
|
200 |
+
The above copyright notice and this permission notice shall be included in all
|
201 |
+
copies or substantial portions of the Software.
|
202 |
+
|
203 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
204 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
205 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
206 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
207 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
208 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
209 |
+
SOFTWARE
|
210 |
+
-->
|
SECURITY.md
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Security Policy
|
2 |
+
|
3 |
+
## Supported Versions
|
4 |
+
|
5 |
+
Use this section to tell people about which versions of your project are
|
6 |
+
currently being supported with security updates.
|
7 |
+
|
8 |
+
| Version | Supported |
|
9 |
+
| ------- | ------------------ |
|
10 |
+
| 5.1.x | :white_check_mark: |
|
11 |
+
| 5.0.x | :x: |
|
12 |
+
| 4.0.x | :white_check_mark: |
|
13 |
+
| < 4.0 | :x: |
|
14 |
+
|
15 |
+
## Reporting a Vulnerability
|
16 |
+
|
17 |
+
Use this section to tell people how to report a vulnerability.
|
18 |
+
|
19 |
+
Tell them where to go, how often they can expect to get an update on a
|
20 |
+
reported vulnerability, what to expect if the vulnerability is accepted or
|
21 |
+
declined, etc.
|
app.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "Uploader-Bot-2.0",
|
3 |
+
"description": "Telegram's best Open Source Url Uploader Bot. Create your Fork now.",
|
4 |
+
"keywords": [
|
5 |
+
"telegram",
|
6 |
+
"best",
|
7 |
+
"yt-dlp",
|
8 |
+
"downloader",
|
9 |
+
"open",
|
10 |
+
"source",
|
11 |
+
"ffmpeg",
|
12 |
+
"remote",
|
13 |
+
"uploader"
|
14 |
+
],
|
15 |
+
"website": "kalanakt.github.io/projects/telegram/all-url-uploader ",
|
16 |
+
"repository": "https://github.com/kalanakt/All-Url-Uploader",
|
17 |
+
"env": {
|
18 |
+
"BOT_TOKEN": {
|
19 |
+
"description": "Your bot token, as a string.",
|
20 |
+
"value": ""
|
21 |
+
},
|
22 |
+
"API_ID": {
|
23 |
+
"description": "Get this value from https://my.telegram.org",
|
24 |
+
"value": ""
|
25 |
+
},
|
26 |
+
"API_HASH": {
|
27 |
+
"description": "Get this value from https://my.telegram.org",
|
28 |
+
"value": ""
|
29 |
+
},
|
30 |
+
"OWNER_ID": {
|
31 |
+
"description": "Your Telegram ID For Broadcast",
|
32 |
+
"value": "12345678"
|
33 |
+
}
|
34 |
+
},
|
35 |
+
"addons": [
|
36 |
+
],
|
37 |
+
"buildpacks": [{
|
38 |
+
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest"
|
39 |
+
}, {
|
40 |
+
"url": "heroku/python"
|
41 |
+
}],
|
42 |
+
"formation": {
|
43 |
+
"worker": {
|
44 |
+
"quantity": 1,
|
45 |
+
"size": "free"
|
46 |
+
}
|
47 |
+
}
|
48 |
+
}
|
49 |
+
|
app.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from flask import Flask
|
2 |
+
|
3 |
+
app = Flask(__name__)
|
4 |
+
|
5 |
+
|
6 |
+
@app.route("/")
|
7 |
+
def hello_world():
|
8 |
+
return "Hello from Koyeb"
|
9 |
+
|
10 |
+
|
11 |
+
if __name__ == "__main__":
|
12 |
+
app.run()
|
asset/README.md
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
<img src="https://github.com/kalanakt/All-Url-Uploader/blob/main/asset/tmwad.png">
|
asset/copyrepolink.png
ADDED
![]() |
asset/forkrepo.png
ADDED
![]() |
asset/herokudep1.png
ADDED
![]() |
asset/herokudep2.png
ADDED
![]() |
asset/redirecttoheroku.png
ADDED
![]() |
asset/tmwad.png
ADDED
![]() |
bot.py
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import logging
|
3 |
+
from pyrogram.raw.all import layer
|
4 |
+
from pyrogram import Client, idle, __version__
|
5 |
+
|
6 |
+
from config import Config
|
7 |
+
|
8 |
+
logging.basicConfig(
|
9 |
+
level=logging.DEBUG, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
10 |
+
)
|
11 |
+
logger = logging.getLogger(__name__)
|
12 |
+
|
13 |
+
logging.getLogger("pyrogram").setLevel(logging.WARNING)
|
14 |
+
|
15 |
+
if not os.path.isdir(Config.DOWNLOAD_LOCATION):
|
16 |
+
os.makedirs(Config.DOWNLOAD_LOCATION)
|
17 |
+
|
18 |
+
if not Config.BOT_TOKEN:
|
19 |
+
logger.error("Please set BOT_TOKEN in config.py or as env var")
|
20 |
+
quit(1)
|
21 |
+
|
22 |
+
if not Config.API_ID:
|
23 |
+
logger.error("Please set API_ID in config.py or as env var")
|
24 |
+
quit(1)
|
25 |
+
|
26 |
+
if not Config.API_HASH:
|
27 |
+
logger.error("Please set API_HASH in config.py or as env var")
|
28 |
+
quit(1)
|
29 |
+
|
30 |
+
|
31 |
+
bot = Client(
|
32 |
+
"All-Url-Uploader",
|
33 |
+
api_id=Config.API_ID,
|
34 |
+
api_hash=Config.API_HASH,
|
35 |
+
bot_token=Config.BOT_TOKEN,
|
36 |
+
workers=50,
|
37 |
+
plugins=dict(root="plugins"),
|
38 |
+
)
|
39 |
+
|
40 |
+
bot.start()
|
41 |
+
logger.info("Bot has started.")
|
42 |
+
logger.info("**Bot Started**\n\n**Pyrogram Version:** %s \n**Layer:** %s", __version__, layer)
|
43 |
+
logger.info("Developed by github.com/kalanakt Sponsored by www.netronk.com")
|
44 |
+
idle()
|
45 |
+
bot.stop()
|
46 |
+
logger.info("Bot Stopped ;)")
|
config.py
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
from dotenv import load_dotenv
|
3 |
+
import logging
|
4 |
+
|
5 |
+
logging.basicConfig(
|
6 |
+
format="%(name)s - %(levelname)s - %(message)s",
|
7 |
+
handlers=[logging.FileHandler("log.txt"), logging.StreamHandler()],
|
8 |
+
level=logging.INFO,
|
9 |
+
)
|
10 |
+
|
11 |
+
load_dotenv()
|
12 |
+
|
13 |
+
|
14 |
+
class Config(object):
|
15 |
+
# Get a token from @BotFather
|
16 |
+
BOT_TOKEN = os.environ.get("BOT_TOKEN")
|
17 |
+
# The Telegram API things
|
18 |
+
API_ID = os.environ.get("API_ID")
|
19 |
+
API_HASH = os.environ.get("API_HASH")
|
20 |
+
# Get these values from my.telegram.org
|
21 |
+
# Array to store users who are authorized to use the bot
|
22 |
+
|
23 |
+
# File /video download location
|
24 |
+
DOWNLOAD_LOCATION = "./DOWNLOADS"
|
25 |
+
|
26 |
+
# Telegram maximum file upload size
|
27 |
+
TG_MAX_FILE_SIZE = 4194304000
|
28 |
+
|
29 |
+
# Chunk size that should be used with requests : default is 128KB
|
30 |
+
CHUNK_SIZE = int(os.environ.get("CHUNK_SIZE", 128))
|
31 |
+
# Proxy for accessing youtube-dl in GeoRestricted Areas
|
32 |
+
# Get your own proxy from https://github.com/rg3/youtube-dl/issues/1091#issuecomment-230163061
|
33 |
+
HTTP_PROXY = os.environ.get("HTTP_PROXY", "")
|
34 |
+
|
35 |
+
# Set timeout for subprocess
|
36 |
+
PROCESS_MAX_TIMEOUT = 3700
|
37 |
+
|
38 |
+
OWNER_ID = os.environ.get("OWNER_ID")
|
39 |
+
ADL_BOT_RQ = {}
|
40 |
+
AUTH_USERS = list({int(x) for x in os.environ.get("AUTH_USERS", "0").split()})
|
41 |
+
AUTH_USERS.append(OWNER_ID)
|
docs/.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
.next
|
2 |
+
node_modules
|
docs/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2022 Shu Ding
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
docs/README.md
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
# all url uploader doc
|
docs/components/changelog.module.css
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.tm-timeline {
|
2 |
+
position: relative;
|
3 |
+
}
|
4 |
+
.container {
|
5 |
+
margin-top: 40px;
|
6 |
+
}
|
7 |
+
.tmtimelineitem {
|
8 |
+
border-left: 2px solid #2c26d9;
|
9 |
+
margin-top: -5px;
|
10 |
+
padding-left: 40px;
|
11 |
+
padding-bottom: 40px;
|
12 |
+
position: relative;
|
13 |
+
}
|
14 |
+
.tmtimelineitem h2 {
|
15 |
+
margin-top: 0;
|
16 |
+
line-height: 0.5;
|
17 |
+
}
|
18 |
+
.tmtimelineitem p {
|
19 |
+
margin-bottom: 0;
|
20 |
+
}
|
21 |
+
.tmtimelineitem:before {
|
22 |
+
content: ' ';
|
23 |
+
width: 14px;
|
24 |
+
height: 14px;
|
25 |
+
position: absolute;
|
26 |
+
left: -8px;
|
27 |
+
background-color: #2063df;
|
28 |
+
border-radius: 50%;
|
29 |
+
}
|
30 |
+
.tmtimelineitem:first-child:before {
|
31 |
+
left: -8px;
|
32 |
+
}
|
33 |
+
.tmtimelineitem:last-child:before {
|
34 |
+
left: -6px;
|
35 |
+
}
|
36 |
+
.tmtimelineitem:last-of-type {
|
37 |
+
padding-bottom: 0;
|
38 |
+
border: 0;
|
39 |
+
}
|
40 |
+
|
41 |
+
.tmtimelineentry {
|
42 |
+
padding-top: 15px;
|
43 |
+
}
|
44 |
+
.tmtimelineentry + .tmtimelineentry {
|
45 |
+
margin-top: 15px;
|
46 |
+
}
|
47 |
+
.tmtimelineentry .tmtimelineentrylabel {
|
48 |
+
font-size: 16px;
|
49 |
+
color: #1a1a1a;
|
50 |
+
}
|
51 |
+
@media (min-width: 768px) {
|
52 |
+
.tmtimelineentry .tmtimelineentrylabel {
|
53 |
+
width: 100px;
|
54 |
+
float: left;
|
55 |
+
clear: both;
|
56 |
+
overflow: hidden;
|
57 |
+
text-overflow: ellipsis;
|
58 |
+
white-space: nowrap;
|
59 |
+
}
|
60 |
+
.tmtimelineentry .tmtimelineentrydata {
|
61 |
+
margin-left: 100px;
|
62 |
+
}
|
63 |
+
}
|
64 |
+
@media (max-width: 767px) {
|
65 |
+
.uk-block {
|
66 |
+
padding-top: 50px;
|
67 |
+
padding-bottom: 50px;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
.tm-block-content {
|
71 |
+
min-height: calc(100vh - 142px);
|
72 |
+
}
|
73 |
+
.uk-block-muted {
|
74 |
+
background: #f8f9fa;
|
75 |
+
}
|
76 |
+
.uk-block-primary {
|
77 |
+
background: #e43d3c;
|
78 |
+
}
|
79 |
+
.uk-block-secondary {
|
80 |
+
background: #1a1a1a;
|
81 |
+
}
|
82 |
+
.ukbadge {
|
83 |
+
font-weight: 400;
|
84 |
+
padding: 4px;
|
85 |
+
box-shadow: #1a1a1a;
|
86 |
+
}
|
87 |
+
/* ADDED */
|
88 |
+
.ukbadgesuccess {
|
89 |
+
background-color: #3dc372;
|
90 |
+
color: #fff;
|
91 |
+
border-radius: 8px;
|
92 |
+
padding: 4px;
|
93 |
+
text-shadow: #2063df;
|
94 |
+
}
|
95 |
+
/* CHANGED */
|
96 |
+
.ukbadgewarning {
|
97 |
+
background-color: #ffb24e;
|
98 |
+
color: #fff;
|
99 |
+
}
|
100 |
+
/* FIXED or REMOVED */
|
101 |
+
.ukbadgedanger {
|
102 |
+
background-color: #e44e56;
|
103 |
+
border-radius: 8px;
|
104 |
+
text-shadow: #ffb24e;
|
105 |
+
padding: 4px;
|
106 |
+
color: #fff;
|
107 |
+
}
|
108 |
+
|
109 |
+
.iconset {
|
110 |
+
padding-top: 20px;
|
111 |
+
display: flex;
|
112 |
+
flex-direction: row;
|
113 |
+
gap: 50px;
|
114 |
+
}
|
115 |
+
|
116 |
+
.bicon {
|
117 |
+
display: flex;
|
118 |
+
gap: 8px;
|
119 |
+
flex-direction: row;
|
120 |
+
}
|
121 |
+
|
122 |
+
.avatar {
|
123 |
+
border-radius: 5px;
|
124 |
+
box-shadow: #1a1a1a;
|
125 |
+
padding: 2px;
|
126 |
+
}
|
docs/components/changelog.tsx
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Example from https://beta.reactjs.org/learn
|
2 |
+
|
3 |
+
import React, { useState, useEffect } from "react";
|
4 |
+
import styles from './changelog.module.css'
|
5 |
+
|
6 |
+
function dateformate(date){
|
7 |
+
const event = new Date(date)
|
8 |
+
return event.toDateString()
|
9 |
+
}
|
10 |
+
function ChangeLog() {
|
11 |
+
const [books, setBooks] = useState(null);
|
12 |
+
|
13 |
+
useEffect(() => {
|
14 |
+
getData();
|
15 |
+
|
16 |
+
async function getData() {
|
17 |
+
try {
|
18 |
+
const response = await fetch(
|
19 |
+
"https://api.github.com/repos/kalanakt/All-Url-Uploader/commits"
|
20 |
+
);
|
21 |
+
const data = await response.json();
|
22 |
+
|
23 |
+
setBooks(data);
|
24 |
+
} catch (error) {
|
25 |
+
console.log(error);
|
26 |
+
}
|
27 |
+
}
|
28 |
+
}, []);
|
29 |
+
return (
|
30 |
+
<div className={styles.container}>
|
31 |
+
{books ? (
|
32 |
+
<div className="books">
|
33 |
+
{books.map((book: { commit: { message: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal; author: { date: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal; }; comment_count: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal; verification: { verified: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal; }; }; html_url: string; comments_url: string; author: {
|
34 |
+
[x: string]: string; login: string; avatar_url: string;
|
35 |
+
}; }, index: React.Key) => {
|
36 |
+
return (
|
37 |
+
<div key={index} className={styles.tmtimelineitem}>
|
38 |
+
<h2>1.0.4 <span className={styles.uktextmuted}>({dateformate(book.commit.author.date)})</span></h2>
|
39 |
+
<div className={styles.tmtimelineentry}>
|
40 |
+
<div className={styles.tmtimelineentrylabel}>
|
41 |
+
<span className={styles.ukbadge}>{book.commit.verification.verified ? <span className={styles.ukbadgesuccess}>Success</span> : <span className={styles.ukbadgedanger}>Fail</span>}</span>
|
42 |
+
</div>
|
43 |
+
<div className={styles.tmtimelineentrydata}>
|
44 |
+
<a href={book.html_url}>{book.commit.message}</a>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
<div className={styles.iconset}>
|
48 |
+
<div className={styles.bicon}>Committer : <a href={book.author.html_url}><img className={styles.avatar} alt="github icon" src={book.author.avatar_url} width={25} height={25} /></a></div>
|
49 |
+
<div className={styles.bicon}> Comments : {book.commit.comment_count}</div>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
);
|
53 |
+
})}
|
54 |
+
</div>
|
55 |
+
) : (
|
56 |
+
<span>404 : Page Not Found</span>
|
57 |
+
)}
|
58 |
+
</div>
|
59 |
+
)
|
60 |
+
}
|
61 |
+
|
62 |
+
export default function MyApp() {
|
63 |
+
return <ChangeLog />
|
64 |
+
}
|
docs/components/collaborators.module.css
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.avatars {
|
2 |
+
display: flex;
|
3 |
+
}
|
4 |
+
.container {
|
5 |
+
display: flex;
|
6 |
+
padding-top: 20px;
|
7 |
+
}
|
8 |
+
|
9 |
+
.avatars__item {
|
10 |
+
margin-left: -0.25rem;
|
11 |
+
}
|
12 |
+
|
13 |
+
.avatars__image {
|
14 |
+
box-shadow: 0 0 0 0.25rem #fff;
|
15 |
+
overflow: hidden;
|
16 |
+
align-items: center;
|
17 |
+
display: flex;
|
18 |
+
justify-content: center;
|
19 |
+
border-radius: 9999px;
|
20 |
+
}
|
21 |
+
|
22 |
+
.avatars__image:hover {
|
23 |
+
color: red;
|
24 |
+
}
|
25 |
+
|
26 |
+
.more {
|
27 |
+
box-shadow: 0 0 0 0.25rem #fff;
|
28 |
+
display: flex;
|
29 |
+
overflow: hidden;
|
30 |
+
border-radius: 9999px;
|
31 |
+
margin-left: -10px;
|
32 |
+
z-index: 10;
|
33 |
+
padding: 8px;
|
34 |
+
width: 40px;
|
35 |
+
height: 40px;
|
36 |
+
align-items: center;
|
37 |
+
display: flex;
|
38 |
+
justify-content: center;
|
39 |
+
background-color: rgba(1, 4, 14, 0.653);
|
40 |
+
}
|
docs/components/collaborators.tsx
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Example from https://beta.reactjs.org/learn
|
2 |
+
|
3 |
+
import React, { useState, useEffect } from "react";
|
4 |
+
import styles from './collaborators.module.css'
|
5 |
+
|
6 |
+
function Collaborators() {
|
7 |
+
const [books, setBooks] = useState(null);
|
8 |
+
|
9 |
+
useEffect(() => {
|
10 |
+
getData();
|
11 |
+
|
12 |
+
async function getData() {
|
13 |
+
try {
|
14 |
+
const response = await fetch(
|
15 |
+
"https://api.github.com/repos/kalanakt/All-Url-Uploader/contributors"
|
16 |
+
);
|
17 |
+
const data = await response.json();
|
18 |
+
|
19 |
+
setBooks(data);
|
20 |
+
} catch (error) {
|
21 |
+
console.log(error);
|
22 |
+
}
|
23 |
+
}
|
24 |
+
}, []);
|
25 |
+
return (
|
26 |
+
<div className={styles.container}>
|
27 |
+
{books? (
|
28 |
+
<div className={styles.avatars}>
|
29 |
+
{books.map((book: {
|
30 |
+
[x: string]: any; commit: { message: string; author: { date: string; }; verification: { verified: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal; }; }; html_url: string; comments_url: string; author: {
|
31 |
+
[x: string]: string; login: string; avatar_url: string;
|
32 |
+
}; }, index: React.Key) => {
|
33 |
+
return (
|
34 |
+
<div className={styles.avatars__item}>
|
35 |
+
<a href={book.html_url} target="_blank">
|
36 |
+
<img className={styles.avatars__image} src={book.avatar_url} alt={book.login} width={40} height={40} />
|
37 |
+
</a>
|
38 |
+
</div>
|
39 |
+
);
|
40 |
+
})}
|
41 |
+
<a href="https://github.com/kalanakt/All-Url-Uploader" target="_blank"><div className={styles.more}>+</div></a>
|
42 |
+
</div>
|
43 |
+
) :
|
44 |
+
(
|
45 |
+
<div>
|
46 |
+
<span>404 Page Not Found.</span>
|
47 |
+
</div>
|
48 |
+
)}
|
49 |
+
</div>
|
50 |
+
)
|
51 |
+
}
|
52 |
+
|
53 |
+
export default function MyApp() {
|
54 |
+
return <Collaborators />
|
55 |
+
}
|
docs/components/extratox.module.css
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.bg {
|
2 |
+
border: 1px solid #ccc;
|
3 |
+
border-radius: 5px;
|
4 |
+
margin-top: 10px;
|
5 |
+
background-color: inherit;
|
6 |
+
height: 100%;
|
7 |
+
width: 100%;
|
8 |
+
overflow-x: hidden;
|
9 |
+
overflow-y: hidden;
|
10 |
+
}
|
11 |
+
|
12 |
+
.bgt {
|
13 |
+
border: 1px solid #ccc;
|
14 |
+
border-radius: 5px;
|
15 |
+
height: 100%;
|
16 |
+
padding: 20px 40px 20px 40px;
|
17 |
+
width: 100%;
|
18 |
+
}
|
19 |
+
|
20 |
+
.container {
|
21 |
+
flex: auto;
|
22 |
+
flex-wrap: wrap;
|
23 |
+
flex-flow: column;
|
24 |
+
align-items: center;
|
25 |
+
margin-top: 20px;
|
26 |
+
}
|
27 |
+
|
28 |
+
.h {
|
29 |
+
text-shadow: black;
|
30 |
+
justify-content: center;
|
31 |
+
align-items: center;
|
32 |
+
font-size: large;
|
33 |
+
margin-top: 10px;
|
34 |
+
}
|
35 |
+
|
36 |
+
.sponsors {
|
37 |
+
display: flex;
|
38 |
+
flex-wrap: wrap;
|
39 |
+
flex-direction: row;
|
40 |
+
gap: 2px;
|
41 |
+
justify-content: space-around;
|
42 |
+
align-items: center;
|
43 |
+
margin-bottom: 10px;
|
44 |
+
}
|
45 |
+
|
46 |
+
.text {
|
47 |
+
flex: auto;
|
48 |
+
text-shadow: 2px;
|
49 |
+
}
|
50 |
+
|
51 |
+
.card {
|
52 |
+
border-radius: 5px;
|
53 |
+
border: 1px solid #ccc;
|
54 |
+
width: 100%;
|
55 |
+
height: 100%;
|
56 |
+
}
|
docs/components/extratox.tsx
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Example from https://beta.reactjs.org/learn
|
2 |
+
|
3 |
+
import { useState } from 'react'
|
4 |
+
import styles from './extratox.module.css'
|
5 |
+
|
6 |
+
function ExtraTox() {
|
7 |
+
return (
|
8 |
+
<>
|
9 |
+
<div className={styles.container}>
|
10 |
+
<span className={styles.h}>Sponsors</span>
|
11 |
+
<div className={styles.sponsors}>
|
12 |
+
<div className={styles.bg}>
|
13 |
+
<a href="https://t.me/TMWAD" className={styles.text}>
|
14 |
+
<img src='./tmwad.png' alt='TMWAD IMG' width={200} height={50}/>
|
15 |
+
</a>
|
16 |
+
</div>
|
17 |
+
</div>
|
18 |
+
<div className={styles.bgt}>
|
19 |
+
<a href="https://www.buymeacoffee.com/kalanakt" className={styles.text}>
|
20 |
+
Become Sponsor +
|
21 |
+
</a>
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
</>
|
25 |
+
)
|
26 |
+
}
|
27 |
+
|
28 |
+
export default ExtraTox;
|
docs/components/followers.module.css
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.avatars {
|
2 |
+
display: flex;
|
3 |
+
flex-wrap: wrap;
|
4 |
+
}
|
5 |
+
.container {
|
6 |
+
display: flex;
|
7 |
+
padding-top: 20px;
|
8 |
+
}
|
9 |
+
|
10 |
+
.avatars__item {
|
11 |
+
margin-left: -0.25rem;
|
12 |
+
margin-bottom: 20px;
|
13 |
+
}
|
14 |
+
|
15 |
+
.avatars__image {
|
16 |
+
box-shadow: 0 0 0 0.25rem #fff;
|
17 |
+
overflow: hidden;
|
18 |
+
align-items: center;
|
19 |
+
display: flex;
|
20 |
+
justify-content: center;
|
21 |
+
border-radius: 9999px;
|
22 |
+
}
|
23 |
+
|
24 |
+
.more {
|
25 |
+
box-shadow: 0 0 0 0.25rem #fff;
|
26 |
+
display: flex;
|
27 |
+
overflow: hidden;
|
28 |
+
border-radius: 9999px;
|
29 |
+
margin-left: -10px;
|
30 |
+
z-index: 10;
|
31 |
+
padding: 8px;
|
32 |
+
width: 40px;
|
33 |
+
height: 40px;
|
34 |
+
align-items: center;
|
35 |
+
display: flex;
|
36 |
+
justify-content: center;
|
37 |
+
background-color: rgba(1, 4, 14, 0.653);
|
38 |
+
}
|
docs/components/followers.tsx
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Example from https://beta.reactjs.org/learn
|
2 |
+
|
3 |
+
import React, { useState, useEffect } from "react";
|
4 |
+
import styles from './followers.module.css'
|
5 |
+
|
6 |
+
function Followers() {
|
7 |
+
const [books, setBooks] = useState(null);
|
8 |
+
|
9 |
+
useEffect(() => {
|
10 |
+
getData();
|
11 |
+
|
12 |
+
async function getData() {
|
13 |
+
try {
|
14 |
+
const response = await fetch(
|
15 |
+
"https://api.github.com/users/kalanakt/followers"
|
16 |
+
);
|
17 |
+
const data = await response.json();
|
18 |
+
|
19 |
+
setBooks(data);
|
20 |
+
} catch (error) {
|
21 |
+
console.log(error);
|
22 |
+
}
|
23 |
+
}
|
24 |
+
}, []);
|
25 |
+
return (
|
26 |
+
<div className={styles.container}>
|
27 |
+
{books ? (
|
28 |
+
<div className={styles.avatars}>
|
29 |
+
{books.map((book: {
|
30 |
+
[x: string]: any; commit: { message: string; author: { date: string; }; verification: { verified: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal; }; }; html_url: string; comments_url: string; author: {
|
31 |
+
[x: string]: string; login: string; avatar_url: string;
|
32 |
+
}; }, index: React.Key) => {
|
33 |
+
return (
|
34 |
+
<div className={styles.avatars__item}>
|
35 |
+
<a href={book.html_url} target="_blank">
|
36 |
+
<img className={styles.avatars__image} src={book.avatar_url} alt={book.login} width={40} height={40} />
|
37 |
+
</a>
|
38 |
+
</div>
|
39 |
+
);
|
40 |
+
})}
|
41 |
+
<a href="https://github.com/kalanakt" target="_blank"><div className={styles.more}>+</div></a>
|
42 |
+
</div>
|
43 |
+
) :
|
44 |
+
(
|
45 |
+
<div>
|
46 |
+
<span>404 Page Not Found.</span>
|
47 |
+
</div>
|
48 |
+
)}
|
49 |
+
</div>
|
50 |
+
)
|
51 |
+
}
|
52 |
+
|
53 |
+
export default function MyApp() {
|
54 |
+
return <Followers />
|
55 |
+
}
|
docs/components/releases.module.css
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.tm-timeline {
|
2 |
+
position: relative;
|
3 |
+
}
|
4 |
+
.container {
|
5 |
+
margin-top: 40px;
|
6 |
+
}
|
7 |
+
.tmtimelineitem {
|
8 |
+
border-left: 2px solid #2c26d9;
|
9 |
+
margin-top: -5px;
|
10 |
+
padding-left: 40px;
|
11 |
+
padding-bottom: 40px;
|
12 |
+
position: relative;
|
13 |
+
}
|
14 |
+
.tmtimelineitem h2 {
|
15 |
+
margin-top: 0;
|
16 |
+
line-height: 0.5;
|
17 |
+
}
|
18 |
+
.tmtimelineitem p {
|
19 |
+
margin-bottom: 0;
|
20 |
+
}
|
21 |
+
.tmtimelineitem:before {
|
22 |
+
content: ' ';
|
23 |
+
width: 14px;
|
24 |
+
height: 14px;
|
25 |
+
position: absolute;
|
26 |
+
left: -8px;
|
27 |
+
background-color: #2063df;
|
28 |
+
border-radius: 50%;
|
29 |
+
}
|
30 |
+
.tmtimelineitem:first-child:before {
|
31 |
+
left: -8px;
|
32 |
+
}
|
33 |
+
.tmtimelineitem:last-child:before {
|
34 |
+
left: -6px;
|
35 |
+
}
|
36 |
+
.tmtimelineitem:last-of-type {
|
37 |
+
padding-bottom: 0;
|
38 |
+
border: 0;
|
39 |
+
}
|
40 |
+
|
41 |
+
.tmtimelineentry {
|
42 |
+
padding-top: 15px;
|
43 |
+
}
|
44 |
+
.tmtimelineentry + .tmtimelineentry {
|
45 |
+
margin-top: 15px;
|
46 |
+
}
|
47 |
+
.tmtimelineentry .tmtimelineentrylabel {
|
48 |
+
font-size: 16px;
|
49 |
+
color: #1a1a1a;
|
50 |
+
}
|
51 |
+
@media (min-width: 768px) {
|
52 |
+
.tmtimelineentry .tmtimelineentrylabel {
|
53 |
+
width: 100px;
|
54 |
+
float: left;
|
55 |
+
clear: both;
|
56 |
+
overflow: hidden;
|
57 |
+
text-overflow: ellipsis;
|
58 |
+
white-space: nowrap;
|
59 |
+
}
|
60 |
+
.tmtimelineentry .tmtimelineentrydata {
|
61 |
+
margin-left: 100px;
|
62 |
+
}
|
63 |
+
}
|
64 |
+
@media (max-width: 767px) {
|
65 |
+
.uk-block {
|
66 |
+
padding-top: 50px;
|
67 |
+
padding-bottom: 50px;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
.tm-block-content {
|
71 |
+
min-height: calc(100vh - 142px);
|
72 |
+
}
|
73 |
+
.uk-block-muted {
|
74 |
+
background: #f8f9fa;
|
75 |
+
}
|
76 |
+
.uk-block-primary {
|
77 |
+
background: #e43d3c;
|
78 |
+
}
|
79 |
+
.uk-block-secondary {
|
80 |
+
background: #1a1a1a;
|
81 |
+
}
|
82 |
+
.ukbadge {
|
83 |
+
font-weight: 400;
|
84 |
+
padding: 4px;
|
85 |
+
box-shadow: #1a1a1a;
|
86 |
+
}
|
87 |
+
/* ADDED */
|
88 |
+
.ukbadgesuccess {
|
89 |
+
background-color: #3dc372;
|
90 |
+
color: #fff;
|
91 |
+
border-radius: 8px;
|
92 |
+
padding: 4px;
|
93 |
+
text-shadow: #2063df;
|
94 |
+
}
|
95 |
+
/* CHANGED */
|
96 |
+
.ukbadgewarning {
|
97 |
+
background-color: #ffb24e;
|
98 |
+
color: #fff;
|
99 |
+
}
|
100 |
+
/* FIXED or REMOVED */
|
101 |
+
.ukbadgedanger {
|
102 |
+
background-color: #e44e56;
|
103 |
+
border-radius: 8px;
|
104 |
+
text-shadow: #ffb24e;
|
105 |
+
padding: 4px;
|
106 |
+
color: #fff;
|
107 |
+
}
|
108 |
+
|
109 |
+
.iconset {
|
110 |
+
padding-top: 20px;
|
111 |
+
display: flex;
|
112 |
+
flex-direction: row;
|
113 |
+
gap: 50px;
|
114 |
+
}
|
115 |
+
|
116 |
+
.bicon {
|
117 |
+
display: flex;
|
118 |
+
gap: 8px;
|
119 |
+
flex-direction: row;
|
120 |
+
}
|
121 |
+
|
122 |
+
.avatar {
|
123 |
+
border-radius: 5px;
|
124 |
+
box-shadow: #1a1a1a;
|
125 |
+
padding: 2px;
|
126 |
+
}
|
127 |
+
|
128 |
+
.readmore {
|
129 |
+
font-weight: 400;
|
130 |
+
text-shadow: #1a1a1a;
|
131 |
+
color: #2657b2;
|
132 |
+
-webkit-text-fill-color: #2c26d9;
|
133 |
+
}
|
docs/components/releases.tsx
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Example from https://beta.reactjs.org/learn
|
2 |
+
|
3 |
+
import React, { useState, useEffect } from "react";
|
4 |
+
import ReactMarkdown from 'react-markdown'
|
5 |
+
import styles from './releases.module.css'
|
6 |
+
import gfm from 'remark-gfm'
|
7 |
+
|
8 |
+
function dateformate(date){
|
9 |
+
const event = new Date(date)
|
10 |
+
return event.toDateString()
|
11 |
+
}
|
12 |
+
function Releases() {
|
13 |
+
const [books, setBooks] = useState(null);
|
14 |
+
|
15 |
+
useEffect(() => {
|
16 |
+
getData();
|
17 |
+
|
18 |
+
async function getData() {
|
19 |
+
try {
|
20 |
+
const response = await fetch(
|
21 |
+
"https://api.github.com/repos/kalanakt/All-Url-Uploader/releases"
|
22 |
+
);
|
23 |
+
const data = await response.json();
|
24 |
+
|
25 |
+
setBooks(data);
|
26 |
+
} catch (error) {
|
27 |
+
console.log(error);
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}, []);
|
31 |
+
return (
|
32 |
+
<div className={styles.container}>
|
33 |
+
{books ? (
|
34 |
+
<div className="books">
|
35 |
+
{books.map((book: {
|
36 |
+
[x: string]: any; commit: { message: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal; author: { date: string; }; comment_count: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal; verification: { verified: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal; }; }; html_url: string; comments_url: string; author: {
|
37 |
+
[x: string]: string; login: string; avatar_url: string;
|
38 |
+
}; }, index: React.Key) => {
|
39 |
+
return (
|
40 |
+
<div key={index} className={styles.tmtimelineitem}>
|
41 |
+
<span><a href={book.html_url}>{book.tag_name}</a> <span className={styles.uktextmuted}>({dateformate(book.published_at)})</span></span>
|
42 |
+
<div className={styles.tmtimelineentry}>
|
43 |
+
<div className={styles.tmtimelineentrylabel}>
|
44 |
+
<span className={styles.ukbadge}>{book.draft ? <span className={styles.ukbadgesuccess}>Darft</span> : book.prerelease ? <span className={styles.ukbadgewarning}>Pre release</span> : <span className={styles.ukbadgesuccess}>Release</span>}</span>
|
45 |
+
</div>
|
46 |
+
<div className={styles.tmtimelineentrydata}>
|
47 |
+
<ReactMarkdown remarkPlugins={[gfm]}>{book.body.split(' ').slice(0, 20).join(' ')}</ReactMarkdown>
|
48 |
+
</div>
|
49 |
+
<a href={book.html_url}><span className={styles.readmore}>Read More ...</span></a>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
);
|
53 |
+
})}
|
54 |
+
</div>
|
55 |
+
) : (
|
56 |
+
<span>404 : Page Not Found</span>
|
57 |
+
)}
|
58 |
+
</div>
|
59 |
+
)
|
60 |
+
}
|
61 |
+
|
62 |
+
export default function MyApp() {
|
63 |
+
return <Releases />
|
64 |
+
}
|
docs/components/sponsors.module.css
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.container {
|
2 |
+
justify-content: start;
|
3 |
+
align-items: center;
|
4 |
+
display: flex;
|
5 |
+
flex-direction: row;
|
6 |
+
flex-wrap: wrap;
|
7 |
+
gap: 16px;
|
8 |
+
padding-top: 20px;
|
9 |
+
}
|
10 |
+
|
11 |
+
.sponsor_card {
|
12 |
+
width: 180px;
|
13 |
+
height: 100px;
|
14 |
+
border-radius: 8px;
|
15 |
+
}
|
16 |
+
|
17 |
+
.sponsor_cardh {
|
18 |
+
width: 180px;
|
19 |
+
height: 100px;
|
20 |
+
background-color: rgba(19, 17, 41, 0.692);
|
21 |
+
border-radius: 8px;
|
22 |
+
border-width: 2px;
|
23 |
+
overflow: hidden;
|
24 |
+
border-color: black;
|
25 |
+
}
|
26 |
+
|
27 |
+
.sponsor_img {
|
28 |
+
display: flex;
|
29 |
+
width: 180px;
|
30 |
+
height: 75px;
|
31 |
+
justify-content: center;
|
32 |
+
align-items: center;
|
33 |
+
overflow-x: hidden;
|
34 |
+
background-color: rgb(105, 51, 211);
|
35 |
+
}
|
36 |
+
|
37 |
+
.simg {
|
38 |
+
height: 100%;
|
39 |
+
}
|
40 |
+
|
41 |
+
.sponsor_cardh:hover {
|
42 |
+
margin: 8px;
|
43 |
+
}
|
44 |
+
|
45 |
+
.sponsor_links {
|
46 |
+
background-color: rgba(6, 6, 83, 0.562);
|
47 |
+
color: rgb(245, 245, 250);
|
48 |
+
font-weight: 400;
|
49 |
+
opacity: 40%;
|
50 |
+
display: flex;
|
51 |
+
justify-content: center;
|
52 |
+
align-items: center;
|
53 |
+
flex-direction: row;
|
54 |
+
box-shadow: 2px;
|
55 |
+
}
|
docs/components/sponsors.tsx
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Example from https://beta.reactjs.org/learn
|
2 |
+
|
3 |
+
import React, { useState, useEffect } from "react";
|
4 |
+
import styles from './sponsors.module.css'
|
5 |
+
|
6 |
+
function Sponsors() {
|
7 |
+
return (
|
8 |
+
<div className={styles.container}>
|
9 |
+
<div className={styles.sponsor_card}>
|
10 |
+
<div className={styles.sponsor_cardh}>
|
11 |
+
<div className={styles.sponsor_img}>
|
12 |
+
<img className={styles.simg} src='./tmwad.png' alt='TMWAD IMG' width={200} height={50}/>
|
13 |
+
</div>
|
14 |
+
<div className={styles.sponsor_links}>
|
15 |
+
<a href="/" target="_blank">TMWAD Telegram ↗</a>
|
16 |
+
</div>
|
17 |
+
</div>
|
18 |
+
</div>
|
19 |
+
</div>
|
20 |
+
)
|
21 |
+
}
|
22 |
+
|
23 |
+
export default function MyApp() {
|
24 |
+
return <Sponsors />
|
25 |
+
}
|
docs/next-env.d.ts
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/// <reference types="next" />
|
2 |
+
/// <reference types="next/image-types/global" />
|
3 |
+
|
4 |
+
// NOTE: This file should not be edited
|
5 |
+
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
docs/next.config.js
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const isGithubActions = process.env.GITHUB_ACTIONS || false
|
2 |
+
|
3 |
+
let assetPrefix = 'docs'
|
4 |
+
let basePath = 'docs/'
|
5 |
+
|
6 |
+
if (isGithubActions) {
|
7 |
+
const repo = process.env.GITHUB_REPOSITORY.replace(/.*?\//, '')
|
8 |
+
|
9 |
+
assetPrefix = `/${repo}/docs/`
|
10 |
+
basePath = `/${repo}/docs`
|
11 |
+
}
|
12 |
+
|
13 |
+
const withNextra = require('nextra')({
|
14 |
+
theme: 'nextra-theme-docs',
|
15 |
+
themeConfig: './theme.config.tsx',
|
16 |
+
assetPrefix: assetPrefix,
|
17 |
+
basePath: basePath,
|
18 |
+
images: {
|
19 |
+
loader: 'imgix',
|
20 |
+
path: 'the "domain" of your Imigix source',
|
21 |
+
},
|
22 |
+
})
|
23 |
+
|
24 |
+
module.exports = withNextra()
|
docs/package.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "all-url-uploader-docs",
|
3 |
+
"version": "0.0.1",
|
4 |
+
"description": "All-Url-Uploader complete doc website source",
|
5 |
+
"scripts": {
|
6 |
+
"dev": "next dev",
|
7 |
+
"build": "next build",
|
8 |
+
"start": "next start"
|
9 |
+
},
|
10 |
+
"repository": {
|
11 |
+
"type": "git",
|
12 |
+
"url": "git+https://github.com/kalanakt/All-Url-Uploader.git"
|
13 |
+
},
|
14 |
+
"author": "Kalanakt <[email protected]>",
|
15 |
+
"license": "MIT",
|
16 |
+
"bugs": {
|
17 |
+
"url": "https://github.com/kalanakt/All-Url-Uploader/issues"
|
18 |
+
},
|
19 |
+
"homepage": "kalanakt.github.io/all-url-uploader",
|
20 |
+
"dependencies": {
|
21 |
+
"@octokit/types": "^8.0.0",
|
22 |
+
"next": "^13.0.6",
|
23 |
+
"nextra": "2.0.1",
|
24 |
+
"nextra-theme-docs": "2.0.1",
|
25 |
+
"octokit": "^3.1.2",
|
26 |
+
"react": "^18.2.0",
|
27 |
+
"react-dom": "^18.2.0",
|
28 |
+
"react-markdown": "^8.0.4",
|
29 |
+
"remark-gfm": "^3.0.1"
|
30 |
+
},
|
31 |
+
"devDependencies": {
|
32 |
+
"@types/node": "18.11.10",
|
33 |
+
"typescript": "^4.9.3"
|
34 |
+
}
|
35 |
+
}
|
docs/pages/_meta.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"index": "Introduction",
|
3 |
+
"changelog": "Change Logs",
|
4 |
+
"releases": "Releases",
|
5 |
+
"deploy": "Deploy Bot",
|
6 |
+
"contribution": "Thanks To",
|
7 |
+
"contact": {
|
8 |
+
"title": "Contact ↗",
|
9 |
+
"type": "page",
|
10 |
+
"href": "https://t.me/kinu6",
|
11 |
+
"newWindow": true
|
12 |
+
}
|
13 |
+
}
|
docs/pages/changelog.mdx
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import ChangeLog from '../components/changelog'
|
2 |
+
|
3 |
+
# Changelog
|
4 |
+
|
5 |
+
<ChangeLog />
|
6 |
+
|
docs/pages/contribution.mdx
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import Collaborators from '../components/collaborators'
|
2 |
+
import Followers from '../components/followers'
|
3 |
+
import Sponsors from '../components/sponsors'
|
4 |
+
|
5 |
+
## Sponsors
|
6 |
+
_Thank To Sponsors Who Suport Our Works._
|
7 |
+
<Sponsors />
|
8 |
+
|
9 |
+
__[Buy Me A Coffie](https://www.buymeacoffee.com/kalanakt)__ : __[Patron](https://www.patron.com/codexo)__
|
10 |
+
|
11 |
+
|
12 |
+
## Collaborators
|
13 |
+
<Collaborators />
|
14 |
+
|
15 |
+
## Followers
|
16 |
+
<Followers />
|
docs/pages/deploy.mdx
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Deploy Bot
|
2 |
+
|
3 |
+
|
4 |
+
| Host | Website | Introduction |
|
5 |
+
| :--- | :---- | ---: |
|
6 |
+
| [Digital Ocean ↗](/deploy/digital-ocean) | [digitalocean.com](https://www.digitalocean.com/) | Esay, free trail, Credit Card Requre |
|
7 |
+
| [Heroku ↗](/deploy/heroku) | [heroku.com](https://www.heroku.com/) | 100% Deploy Efficiency, 5$ per month `recomend` |
|
8 |
+
| [Koyeb ↗](/deploy/koyeb) | [koyeb.com](https://www.koyeb.com/) | Host 2 Apps free, Esay, Credit Card Requre |
|
9 |
+
| [Railway ↗](/deploy/railway) | [railway.app](https://www.railway.app/) | User Friendly, Esay & free trail No Credit Card Requre `recomend` |
|
10 |
+
| [Render ↗](/deploy/render) | [render.com](https://www.render.com/) | Good Ui & Ux, Free Trail, No Credit Card Requre |
|
docs/pages/deploy/digital-ocean.mdx
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Digital Ocean Deploy
|
2 |
+
|
3 |
+
- Not Started Yet
|
4 |
+
- Your P.R. Highly Appreciate
|
docs/pages/deploy/heroku.mdx
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { Tab, Tabs } from 'nextra-theme-docs'
|
2 |
+
|
3 |
+
# Heroku Deploy
|
4 |
+
_Heroku is Esay way to deploy All Url Uploader. But you need to pro account in heroku_
|
5 |
+
|
6 |
+
__Use method one or two to deploy your bot.__
|
7 |
+
|
8 |
+
<Tabs items={['Method One : Esay Step', 'Method Two : Quick Deploy For Pro']}>
|
9 |
+
<Tab>
|
10 |
+
- Create Heroku Account if Already Have? Log In To Account
|
11 |
+
- Fork The Repositery On [GitHub](https://github.com/kalanakt/All-Url-Uploader)
|
12 |
+
- Copy Your Repositery Url Address - `https://github.com/USER_NAME/All-Url-Uploader`
|
13 |
+
- Open [https://kalanakt.github.io/ToHeroku/app/](https://kalanakt.github.io/ToHeroku/app/) In Another Tab
|
14 |
+
- Past Copied Link & Click Genarate Link. You'll Redirect to heroku app
|
15 |
+
- Add Enviroment Veriable & Click Deploy
|
16 |
+
- Start the Bot On Telegram : Boom!!! Enjoy Your Bot
|
17 |
+
</Tab>
|
18 |
+
<Tab>
|
19 |
+
- Create Heroku Account if Already Have? Log In To Account
|
20 |
+
- Fork The Repositery On [GitHub](https://github.com/kalanakt/All-Url-Uploader)
|
21 |
+
- Click Create New App On Heroku. Add .env Veriables And Deploy App
|
22 |
+
- On Deploy Tab Click Connect To Github
|
23 |
+
- Connect Forked Repositery And Deploy Again
|
24 |
+
- Start the Bot On Telegram : Boom!!! Enjoy Your Bot
|
25 |
+
</Tab>
|
26 |
+
</Tabs>
|
docs/pages/deploy/koyeb.mdx
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# keyob deploy
|
2 |
+
|
3 |
+
- Not Started Yet
|
4 |
+
- Your P.R. Highly Appreciate
|
docs/pages/deploy/railway.mdx
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { Tab, Tabs } from 'nextra-theme-docs'
|
2 |
+
|
3 |
+
# Railway Deploy
|
4 |
+
_Railway is Free. You'll Get 500 Hr_
|
5 |
+
|
6 |
+
__Use method one or two to deploy your bot.__
|
7 |
+
|
8 |
+
<Tabs items={['Method One : Esay', 'Method Two : Deploy Your Own For Pro']}>
|
9 |
+
<Tab>
|
10 |
+
[](/)
|
11 |
+
</Tab>
|
12 |
+
<Tab>
|
13 |
+
- Fork The Repositery On [GitHub](https://github.com/kalanakt/All-Url-Uploader)
|
14 |
+
- Create [Railway](https://railway.app) Account. if Already Have? Go to [Dashboard](https://railway.app/dashboard)
|
15 |
+
- Start [ + New Project ] & Select `Deploy From Github`
|
16 |
+
- Connect Your Github Account with railway & Select forked repo then Deploy
|
17 |
+
- This Should Fail. Next Add .env Variables in Variables Tab.
|
18 |
+
- Railway will Auto deploy Your App.
|
19 |
+
- Start the Bot On Telegram : Boom!!! Enjoy Your Bot
|
20 |
+
</Tab>
|
21 |
+
</Tabs>
|