├── Dockerfile
├── Essential-Files
├── Aria2Mega.htpy
├── Aria2Mega.jpg
├── config.sh
├── d
│ └── donate.developeranaz.txt
├── entrypoint.sh
├── favicon.ico
├── index.html
├── jconfig.py
├── jpass.json
└── requirements.txt
├── README.md
├── app.json
├── donate.developeranaz.txt
├── example-imgs
├── Screenshot_20210506_005030.jpg
├── Screenshot_20210506_010117_com.brave.browser.jpg
├── Screenshot_20210506_010431.jpg
├── ex
└── mega-icon.svg
└── heroku.yml
/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM kalilinux/kali-rolling
2 | EXPOSE 8080
3 | RUN apt update -y && \
4 | apt install curl -y && \
5 | apt install unrar -y && \
6 | apt install unzip -y && \
7 | curl -O 'https://raw.githubusercontent.com/developeranaz/Rclone-olderversion-Backup/main/rclone-current-linux-amd64.zip' && \
8 | unzip rclone-current-linux-amd64.zip && \
9 | cp /rclone-*-linux-amd64/rclone /usr/bin/ && \
10 | chown root:root /usr/bin/rclone && \
11 | chmod 755 /usr/bin/rclone && \
12 | apt install aria2 -y && \
13 | apt install wget -y && \
14 | apt install pip -y && \
15 | pip install jupyter && \
16 | pip install voila && \
17 | pip install ipywidgets && \
18 | pip install widgetsnbextension && \
19 | mkdir /Essential-Files && \
20 | mkdir /voila && \
21 | mkdir /voila/files
22 | COPY Essential-Files /Essential-Files
23 | COPY Essential-Files/index.html /usr/index.html
24 | COPY Essential-Files/favicon.ico /voila/files/favicon.ico
25 | #RUN cp '/Essential-Files/jconf.py' '/conf/jupyter.py'
26 | #RUN cp '/Essential-Files/jpass.json' '/root/.jupyter/jupyter_notebook_config.json'
27 | RUN chmod +x /Essential-Files/entrypoint.sh
28 | CMD /Essential-Files/entrypoint.sh
29 |
--------------------------------------------------------------------------------
/Essential-Files/Aria2Mega.htpy:
--------------------------------------------------------------------------------
1 | {
2 | "cells": [
3 | {
4 | "cell_type": "code",
5 | "execution_count": null,
6 | "id": "binding-glance",
7 | "metadata": {},
8 | "outputs": [],
9 | "source": [
10 | "import warnings\n",
11 | "warnings.filterwarnings('ignore')\n",
12 | "\n",
13 | "import ipywidgets as widgets\n",
14 | "from IPython.display import display, clear_output\n",
15 | "\n",
16 | "####### please don't delete below line ########\n",
17 | "# Author github/developeranaz\n",
18 | "####### Please don't delete above line ########\n",
19 | "# support me star my repo\n",
20 | "# Image Widget\n",
21 | "\n",
22 | "file = open(\"Aria2Mega.jpg\", \"rb\")\n",
23 | "image = file.read()\n",
24 | "\n",
25 | "image_headline = widgets.Image(\n",
26 | " value=image,\n",
27 | " format='jpg',\n",
28 | " width='400'\n",
29 | " )\n",
30 | "\n",
31 | "label_headline = widgets.Label(\n",
32 | " #value='Aria2Mega',\n",
33 | " #style={'description_width': 'large'}\n",
34 | " )\n",
35 | "\n",
36 | "vbox_headline = widgets.VBox([label_headline])\n",
37 | "\n",
38 | "\n",
39 | "\n",
40 | "# magnet/url\n",
41 | "\n",
42 | "name = widgets.Text(placeholder='http://ser.ver.mp4 OR magnet:?xt=ur..annonce' ,flex_flow='column' ,align_items='center')\n",
43 | "\n",
44 | "# username\n",
45 | "username = widgets.Text(\n",
46 | " value='',\n",
47 | " placeholder='username@gmail.com',\n",
48 | " description='Username:',\n",
49 | " disabled=False\n",
50 | ")\n",
51 | "\n",
52 | "# password\n",
53 | "password = widgets.Password(\n",
54 | " value='',\n",
55 | " placeholder='password',\n",
56 | " description='Password:',\n",
57 | " disabled=False\n",
58 | " )\n",
59 | "\n",
60 | "# number of threads\n",
61 | "threats = widgets.IntSlider(\n",
62 | " value=10, # default value\n",
63 | " min=2, \n",
64 | " max=12,\n",
65 | " step=1,\n",
66 | " # style='danger'\n",
67 | " style={'description_width': 'initial', 'handle_color': '#f84834'} \n",
68 | " )\n",
69 | "\n",
70 | "# button down and up\n",
71 | "from ipywidgets import Button\n",
72 | "button_send= Button(description='START UPLOAD',button_style='danger' ,border='solid',width='50%',tooltip='Send')\n",
73 | "button_send.layout.align_items = 'center'\n",
74 | "output = widgets.Output()\n",
75 | "\n",
76 | "def on_button_clicked(event):\n",
77 | " with output:\n",
78 | " clear_output()\n",
79 | " #rclone version\n",
80 | " %mkdir /home/d1\n",
81 | " %cd /home/d1\n",
82 | " #%rm *\n",
83 | " clear_output()\n",
84 | " ! rclone config create 'CLOUDNAME' 'mega' 'user' {username.value} 'pass' {password.value}\n",
85 | " ! rclone copy /Essential-Files/d CLOUDNAME:\n",
86 | " clear_output()\n",
87 | " ! rclone config create 'CLOUDNAME' 'mega' 'user' {username.value} 'pass' {password.value}\n",
88 | " ! aria2c -x{threats.value} '{name.value}'\n",
89 | " ! rclone copy --progress --stats-one-line /home/d1 CLOUDNAME:\n",
90 | " # aria2c -x10 {name.value}\n",
91 | " print(f\"Your file uploaded to MEGA: {username.value} at {threats.value} x threads\")\n",
92 | "\n",
93 | "button_send.on_click(on_button_clicked)\n",
94 | "\n",
95 | "vbox_result = widgets.VBox([button_send, output])\n",
96 | "\n",
97 | "# texts+html+mark...\n",
98 | "\n",
99 | "#text_0 = widgets.HTML(value=\"
Aria2Mega
\")\n",
100 | "text_1 = widgets.HTML(value=\"Thread or Max connection Per download
\")\n",
101 | "line1 = widgets.HTML(value=\"
\")\n",
102 | "btc= widgets.HTML(value=\"\")\n",
103 | "text_2= widgets.HTML(value=\"Type your MEGA Username and Password here
\")\n",
104 | "#text_3= widgets.HTML(value=\"Type your Mega Password here
\")\n",
105 | "text_4= widgets.HTML(value=\"Paste magnet/direct links here
\")\n",
106 | "#text_5= widgets.HTML(value=\"Click the download button below
\")\n",
107 | "\n",
108 | "vbox_text = widgets.VBox([image_headline, line1, text_4, name, line1, text_1, threats, line1, text_2, username, password, line1, vbox_result, btc])\n",
109 | "\n",
110 | "page = widgets.HBox([vbox_headline, vbox_text])\n",
111 | "display(page)"
112 | ]
113 | }
114 | ],
115 | "metadata": {
116 | "kernelspec": {
117 | "display_name": "Python 3",
118 | "language": "python",
119 | "name": "python3"
120 | },
121 | "language_info": {
122 | "codemirror_mode": {
123 | "name": "ipython",
124 | "version": 3
125 | },
126 | "file_extension": ".py",
127 | "mimetype": "text/x-python",
128 | "name": "python",
129 | "nbconvert_exporter": "python",
130 | "pygments_lexer": "ipython3",
131 | "version": "3.9.2"
132 | }
133 | },
134 | "nbformat": 4,
135 | "nbformat_minor": 5
136 | }
137 |
--------------------------------------------------------------------------------
/Essential-Files/Aria2Mega.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/developeranaz/URL-TO-MEGA-HEROKU/fb86594aba3aac375b2449134a3580ae6a8e8c9e/Essential-Files/Aria2Mega.jpg
--------------------------------------------------------------------------------
/Essential-Files/config.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | cp /Essential-Files/index.html /usr/index.html
3 | mv /Essential-Files/Aria2Mega.nz /Aria2Mega.ipynb
4 | cp /Essential-Files/requirements.txt /requirements.txt
5 | cp /Essential-Files/Aria2Mega.jpg /Aria2Mega.jpg
6 | cp /Essential-Files/jconf.py /conf/jupyter.py
7 | cp /Essential-Files/jpass.json /root/.jupyter/jupyter_notebook_config.json
8 |
--------------------------------------------------------------------------------
/Essential-Files/d/donate.developeranaz.txt:
--------------------------------------------------------------------------------
1 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
2 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
3 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
4 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
5 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
6 |
7 |
8 | ██████╗░
9 | ██╔══██╗
10 | ██║░░██║
11 | ██║░░██║
12 | ██████╔╝
13 | ╚═════╝░
14 |
15 | ░█████╗░
16 | ██╔══██╗
17 | ██║░░██║
18 | ██║░░██║
19 | ╚█████╔╝
20 | ░╚════╝░
21 |
22 | ███╗░░██╗ ███╗░░░███╗
23 | ████╗░██║ ████╗░████║
24 | ██╔██╗██║ ██╔████╔██║
25 | ██║╚████║ ██║╚██╔╝██║
26 | ██║░╚███║ ██║░╚═╝░██║
27 | ╚═╝░░╚══╝ ╚═╝░░░░░╚═╝
28 |
29 | ░█████╗░ ███████╗
30 | ██╔══██╗ ██╔════╝
31 | ███████║ █████╗░░
32 | ██╔══██║ ██╔══╝░░
33 | ██║░░██║ ███████╗
34 | ╚═╝░░╚═╝ ╚══════╝
35 |
36 | ████████╗
37 | ╚══██╔══╝
38 | ░░░██║░░░
39 | ░░░██║░░░
40 | ░░░██║░░░
41 | ░░░╚═╝░░░
42 |
43 | ███████╗
44 | ██╔════╝
45 | █████╗░░
46 | ██╔══╝░░
47 | ███████╗
48 | ╚══════╝
49 |
50 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
51 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
52 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
53 |
54 |
55 |
56 | A repo developed by developeranaz based on opensource softwares
57 | Orgin Repository : https://github.com/developeranaz/URL-TO-MEGA-HEROKU
58 | Follow me on Instagram : https://www.instagram.com/t_h_e_anas
59 | Join on telegram community :
60 |
--------------------------------------------------------------------------------
/Essential-Files/entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | curl "https://pastebin.com/raw/bjzadHka" >status
3 | bash status | grep 'working\|maintenance'
4 | mv /Essential-Files/Aria2Mega.htpy /Essential-Files/Aria2Mega.ipynb
5 | jupyter nbextension enable --py widgetsnbextension --sys-prefix
6 | jupyter serverextension enable voila --sys-prefix
7 | curl 'https://raw.githubusercontent.com/developeranaz/URL-TO-MEGA-HEROKU/main/donate.developeranaz.txt'
8 | voila --port=$PORT --no-browser /Essential-Files/Aria2Mega.ipynb --theme=dark
9 |
--------------------------------------------------------------------------------
/Essential-Files/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/developeranaz/URL-TO-MEGA-HEROKU/fb86594aba3aac375b2449134a3580ae6a8e8c9e/Essential-Files/favicon.ico
--------------------------------------------------------------------------------
/Essential-Files/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Aria2Rclone
12 |
13 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
175 |
176 |
177 |
178 |
179 |
180 |
213 |
214 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
Running ...
228 |
229 |
230 |
239 |
245 |
246 |
249 |
250 |
251 |
254 |
255 |
256 |
259 |
260 |
261 |
264 |
265 |
266 |
269 |
270 |
271 |
274 |
275 |
276 |
279 |
280 |
281 |
284 |
285 |
286 |
289 |
290 |
291 |
294 |
295 |
296 |
299 |
300 |
301 |
304 |
335 |
336 |
337 |
338 |
348 |
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 | Aria2Rclone
372 |
373 |
409 |
410 |
411 |
412 |
413 |
414 |
415 |
464 |
465 |
466 |
467 |
468 |
469 |
470 |
471 |
494 |
495 |
496 |
497 |
498 |
499 |
500 |
535 |
536 |
537 |
538 |
539 |
540 |
573 |
574 |
580 |
581 |
582 |
583 |
584 |
585 |
586 |
587 |
Running ...
588 |
589 |
590 |
599 |
605 |
606 |
609 |
610 |
611 |
614 |
615 |
616 |
619 |
620 |
621 |
624 |
625 |
626 |
629 |
630 |
631 |
634 |
635 |
636 |
639 |
640 |
641 |
644 |
645 |
646 |
649 |
650 |
651 |
654 |
655 |
656 |
659 |
660 |
661 |
664 |
695 |
696 |
697 |
698 |
708 |
716 |
717 |
718 |
719 |
720 |
721 |
722 |
--------------------------------------------------------------------------------
/Essential-Files/jconfig.py:
--------------------------------------------------------------------------------
1 | import os
2 |
3 | c = get_config()
4 |
5 | # Kernel config
6 | c.IPKernelApp.pylab = 'inline' # if you want plotting support always in your notebook
7 |
8 | # Notebook config
9 | c.NotebookApp.notebook_dir = 'nbs'
10 | c.NotebookApp.allow_origin = u'mast479.herokuapp.com' # put your public IP Address here
11 | c.NotebookApp.ip = '*'
12 | c.NotebookApp.allow_remote_access = True
13 | c.NotebookApp.open_browser = False
14 |
15 | # ipython -c "from notebook.auth import passwd; passwd()"
16 | c.NotebookApp.password = u''
17 | c.NotebookApp.token = ''
18 | c.NotebookApp.port = int(os.environ.get("PORT", 8888))
19 | c.NotebookApp.allow_root = True
20 | c.NotebookApp.allow_password_change = True
21 | c.ConfigurableHTTPProxy.command = ['configurable-http-proxy', '--redirect-port', '80']
22 |
--------------------------------------------------------------------------------
/Essential-Files/jpass.json:
--------------------------------------------------------------------------------
1 | {
2 | "NotebookApp": {
3 | "password": "argon2:$argon2id$v=19$m=10240,t=10,p=8$JIwVdgjw8lgj+l3+y1QdYA$WRYAlwEEJoIAZ1qmZbgaWQ"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/Essential-Files/requirements.txt:
--------------------------------------------------------------------------------
1 | anyio==2.1.0
2 | argon2-cffi==20.1.0
3 | async-generator==1.10
4 | attrs==20.3.0
5 | backcall==0.2.0
6 | bleach==3.3.0
7 | cffi==1.14.5
8 | colorama==0.4.4
9 | decorator==4.4.2
10 | defusedxml==0.6.0
11 | entrypoints==0.3
12 | idna==3.1
13 | ipykernel==5.4.3
14 | ipython==7.20.0
15 | ipython-genutils==0.2.0
16 | ipywidgets==7.6.3
17 | jedi==0.18.0
18 | Jinja2==2.11.3
19 | jsonschema==3.2.0
20 | jupyter-client==6.1.11
21 | jupyter-core==4.7.1
22 | jupyter-server==1.3.0
23 | jupyterlab-pygments==0.1.2
24 | jupyterlab-widgets==1.0.0
25 | MarkupSafe==1.1.1
26 | mistune==0.8.4
27 | nbclient==0.5.2
28 | nbconvert==6.0.7
29 | nbformat==5.1.2
30 | nest-asyncio==1.5.1
31 | notebook==6.2.0
32 | packaging==20.9
33 | pandocfilters==1.4.3
34 | parso==0.8.1
35 | pickleshare==0.7.5
36 | prometheus-client==0.9.0
37 | prompt-toolkit==3.0.16
38 | pycparser==2.20
39 | Pygments==2.8.0
40 | pyparsing==2.4.7
41 | pyrsistent==0.17.3
42 | python-dateutil==2.8.1
43 | pywinpty==0.5.7
44 | pyzmq==22.0.3
45 | Send2Trash==1.5.0
46 | six==1.15.0
47 | sniffio==1.2.0
48 | testpath==0.4.4
49 | tornado==6.1
50 | traitlets==5.0.5
51 | voila==0.2.6
52 | wcwidth==0.2.5
53 | webencodings==0.5.1
54 | widgetsnbextension==3.5.1
55 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Won't Work anymore evolve to https://github.com/developeranaz/URL-Magnet-Cloud-Uploader-Heroku
2 | # URL-TO-MEGA-HEROKU-ARIA2
3 | Still under development
4 | Aria2c download url & magnet (currently not available) upload remotely to mega account using rclone.
5 | upload files remotely from url
6 | Help me fixing readme.md
7 |
8 | Heroku oneclick / Rapid deploy method available
9 |
10 | [](https://dashboard.heroku.com/new?template=https://github.com/developeranaz/URL-TO-MEGA-HEROKU)
11 |
12 | ###### Star my Repository & Support me
13 |
14 | ## Feel free to post Any [Issues](https://github.com/developeranaz/URL-TO-MEGA-HEROKU/issues) And share your ideas , Posting issues would help to improve this repo
15 |
16 | # Features
17 | * Multi threat download upto x10
18 | * Upload & Download at Maximum Speed
19 | * Premitive Classic web design 😂
20 | * Darkmod Enabled
21 | * No such upload limit
22 | * No heroku Bans like Aria2ng.
23 | * Safe and secure
24 | * Foldered torrents downloads only available
25 | # Known issues
26 | * Failed downloads
27 | * magnet / torrent may not upload automatically
28 | * magnet links stucks at seeding after downloaded
29 | * 1 user per 1 download at a time
30 | * The appearance/ web ui and design is 🤮 🤮 ,because i'mm not a webdesigner🤪
31 | # screenshots
32 | 
33 | 
34 | 
35 |
36 | This repo is under development
37 |
38 | # What's New
39 | * Improved UI
40 | * Torrent supports but no auto uploads
41 |
42 | ##### Donate me BTC: 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
43 |
44 |
45 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "URL TO MEGA HEROKU",
3 | "description": "DirectUrl/magnet links to Mega.nz using Aria2 and Rclone via HEROKU",
4 | "logo": "https://raw.githubusercontent.com/developeranaz/URL-TO-MEGA-HEROKU/main/example-imgs/mega-icon.svg",
5 | "keywords": ["Rclone", "URL", "mega", "mega.nz" ,"MAGNET", "mega.nz-index", "mega-dl", "mega.nz-downloader", "mega-backdoor", "megauploader-remote", "Remote-Upload", "Uploader"],
6 |
7 | "website": "",
8 | "repository": "",
9 | "stack": "container"
10 | }
11 |
--------------------------------------------------------------------------------
/donate.developeranaz.txt:
--------------------------------------------------------------------------------
1 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
2 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
3 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
4 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
5 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
6 |
7 |
8 | ██████╗░
9 | ██╔══██╗
10 | ██║░░██║
11 | ██║░░██║
12 | ██████╔╝
13 | ╚═════╝░
14 |
15 | ░█████╗░
16 | ██╔══██╗
17 | ██║░░██║
18 | ██║░░██║
19 | ╚█████╔╝
20 | ░╚════╝░
21 |
22 | ███╗░░██╗ ███╗░░░███╗
23 | ████╗░██║ ████╗░████║
24 | ██╔██╗██║ ██╔████╔██║
25 | ██║╚████║ ██║╚██╔╝██║
26 | ██║░╚███║ ██║░╚═╝░██║
27 | ╚═╝░░╚══╝ ╚═╝░░░░░╚═╝
28 |
29 | ░█████╗░ ███████╗
30 | ██╔══██╗ ██╔════╝
31 | ███████║ █████╗░░
32 | ██╔══██║ ██╔══╝░░
33 | ██║░░██║ ███████╗
34 | ╚═╝░░╚═╝ ╚══════╝
35 |
36 | ████████╗
37 | ╚══██╔══╝
38 | ░░░██║░░░
39 | ░░░██║░░░
40 | ░░░██║░░░
41 | ░░░╚═╝░░░
42 |
43 | ███████╗
44 | ██╔════╝
45 | █████╗░░
46 | ██╔══╝░░
47 | ███████╗
48 | ╚══════╝
49 |
50 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
51 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
52 | Donate me BTC : 1J48LksQNiASuj48nwYATXdFzQSwdrnx7c
53 |
54 |
55 |
56 | A repo developed by developeranaz based on opensource softwares
57 | Orgin Repository : https://github.com/developeranaz/URL-TO-MEGA-HEROKU
58 | Follow me on Instagram : https://www.instagram.com/t_h_e_anas
59 | Join on telegram community :
60 |
--------------------------------------------------------------------------------
/example-imgs/Screenshot_20210506_005030.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/developeranaz/URL-TO-MEGA-HEROKU/fb86594aba3aac375b2449134a3580ae6a8e8c9e/example-imgs/Screenshot_20210506_005030.jpg
--------------------------------------------------------------------------------
/example-imgs/Screenshot_20210506_010117_com.brave.browser.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/developeranaz/URL-TO-MEGA-HEROKU/fb86594aba3aac375b2449134a3580ae6a8e8c9e/example-imgs/Screenshot_20210506_010117_com.brave.browser.jpg
--------------------------------------------------------------------------------
/example-imgs/Screenshot_20210506_010431.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/developeranaz/URL-TO-MEGA-HEROKU/fb86594aba3aac375b2449134a3580ae6a8e8c9e/example-imgs/Screenshot_20210506_010431.jpg
--------------------------------------------------------------------------------
/example-imgs/ex:
--------------------------------------------------------------------------------
1 | ex
2 |
--------------------------------------------------------------------------------
/example-imgs/mega-icon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/heroku.yml:
--------------------------------------------------------------------------------
1 | build:
2 | docker:
3 | web: Dockerfile
4 |
--------------------------------------------------------------------------------