Skip to content
Permalink
Browse files

Initial commit

  • Loading branch information
pesarkhobeee authored and Farid Ahmadian committed Jan 21, 2020
0 parents commit 3d23ef531bb6cc3be0bbfbc98ba5dea3ddd13d69
Showing with 22,122 additions and 0 deletions.
  1. +202 −0 .gitignore
  2. +16 −0 Dockerfile
  3. +366 −0 INSTALLATION.txt
  4. +267 −0 MediaDownloader.py
  5. +53 −0 README.md
  6. +65 −0 YoutubeSearch.py
  7. 0 badwords.txt
  8. 0 badwords_farsi.txt
  9. +2 −0 bash_cron_delete.sh
  10. +11 −0 config.py
  11. +7 −0 contributors.txt
  12. +3 −0 crontab
  13. +30 −0 docker-compose.yml
  14. +194 −0 downloadchibashi.py
  15. +36 −0 nginx/conf.d/default.conf
  16. +7 −0 requirements.txt
  17. BIN static/downloadchibashi.png
  18. BIN static/favicon.ico
  19. BIN static/fonts/DroidNaskh-Bold.ttf
  20. BIN static/fonts/DroidNaskh-Regular.ttf
  21. BIN static/fonts/DroidSans.ttf
  22. BIN static/fonts/UbuntuMono-R.ttf
  23. BIN static/fonts/fontawesome-webfont.woff
  24. BIN static/fonts/glyphicons-halflings-regular.eot
  25. +229 −0 static/fonts/glyphicons-halflings-regular.svg
  26. BIN static/fonts/glyphicons-halflings-regular.ttf
  27. BIN static/fonts/glyphicons-halflings-regular.woff
  28. BIN static/fonts/irsans.ttf
  29. +83 −0 static/js/base.js
  30. +178 −0 static/js/bootstrap-popover.js
  31. +7 −0 static/js/bootstrap.min.js
  32. +51 −0 static/js/ie-emulation-modes-warning.js
  33. +143 −0 static/js/index.js
  34. +9,111 −0 static/js/jquery-2.1.0.js
  35. +4 −0 static/js/jquery-2.1.3.min.js
  36. +2 −0 static/js/socket.io.min.js
  37. BIN static/no-thumb.gif
  38. BIN static/screenshot/screenshot1.png
  39. BIN static/screenshot/screenshot2.png
  40. BIN static/screenshot/screenshot3.png
  41. BIN static/screenshot/screenshot4.png
  42. BIN static/services-icons/facebook.png
  43. BIN static/services-icons/footer/facebook.png
  44. BIN static/services-icons/footer/instagram.png
  45. BIN static/services-icons/footer/telegram.png
  46. BIN static/services-icons/footer/twitter.png
  47. BIN static/services-icons/soundcloud.png
  48. BIN static/services-icons/vimeo.png
  49. BIN static/services-icons/youtube-2.png
  50. +221 −0 static/test/select.css
  51. +1,746 −0 static/test/select.js
  52. +34 −0 static/ui/bower.json
  53. +131 −0 static/ui/css/base.css
  54. +9 −0 static/ui/css/bootstrap-rtl.min.css
  55. +101 −0 static/ui/css/bootstrap-social.css
  56. +5 −0 static/ui/css/bootstrap.min.css
  57. +2,337 −0 static/ui/css/font-awesome.css
  58. +4 −0 static/ui/css/font-awesome.min.css
  59. +8 −0 static/ui/downloadchibashi.iml
  60. BIN static/ui/favicon.png
  61. BIN static/ui/fonts/FontAwesome.otf
  62. BIN static/ui/fonts/fontawesome-webfont.eot
  63. +2,671 −0 static/ui/fonts/fontawesome-webfont.svg
  64. BIN static/ui/fonts/fontawesome-webfont.ttf
  65. BIN static/ui/fonts/fontawesome-webfont.woff
  66. BIN static/ui/fonts/fontawesome-webfont.woff2
  67. +45 −0 static/ui/gulpfile.js
  68. BIN static/ui/logo_small.png
  69. +8 −0 static/ui/modules/.idea/modules.iml
  70. +8 −0 static/ui/modules/.idea/modules.xml
  71. +6 −0 static/ui/modules/.idea/vcs.xml
  72. +387 −0 static/ui/modules/.idea/workspace.xml
  73. +17 −0 static/ui/modules/app.config.js
  74. +11 −0 static/ui/modules/app.js
  75. +19 −0 static/ui/modules/core/controllers/core-reset.controller.js
  76. +20 −0 static/ui/modules/core/controllers/core-sign-up.controller.js
  77. +35 −0 static/ui/modules/core/controllers/core.controller.js
  78. +12 −0 static/ui/modules/core/core.module.js
  79. +9 −0 static/ui/modules/core/services/core-settings.service.js
  80. +169 −0 static/ui/modules/core/services/core.impl.js
  81. +10 −0 static/ui/modules/core/services/settings.service.js
  82. +121 −0 static/ui/modules/core/services/uri-manager.service.js
  83. +35 −0 static/ui/modules/core/views/core-reset-modal.html
  84. +108 −0 static/ui/modules/core/views/core-sign-up-modal.html
  85. +28 −0 static/ui/modules/filmjoo/config/filmjoo.routes.js
  86. +95 −0 static/ui/modules/filmjoo/controllers/filmjoo.controller.js
  87. +55 −0 static/ui/modules/filmjoo/controllers/filmjoo.getMovie.controller.js
  88. +5 −0 static/ui/modules/filmjoo/filmjoo.module.js
  89. +18 −0 static/ui/modules/filmjoo/services/stuff.impl.js
  90. +19 −0 static/ui/modules/filmjoo/services/stuff.model.js
  91. +119 −0 static/ui/modules/filmjoo/views/filmjoo-getmovie.html
  92. +185 −0 static/ui/modules/filmjoo/views/filmjoo-index.html
  93. +28 −0 static/ui/modules/media/config/media.routes.js
  94. +22 −0 static/ui/modules/media/controllers/media-by-url.controller.js
  95. +29 −0 static/ui/modules/media/controllers/media-select-quality.controller.js
  96. +18 −0 static/ui/modules/media/controllers/media-zip-modal.controller.js
  97. +49 −0 static/ui/modules/media/controllers/media.controller.js
  98. +5 −0 static/ui/modules/media/media.module.js
  99. +138 −0 static/ui/modules/media/services/media.impl.js
  100. +37 −0 static/ui/modules/media/services/media.model.js
  101. +125 −0 static/ui/modules/media/views/media-index.html
  102. +44 −0 static/ui/modules/media/views/media-select-quality.html
  103. +12 −0 static/ui/modules/media/views/media-zip-modal.html
  104. +23 −0 static/ui/modules/stuff/config/stuff.routes.js
  105. +46 −0 static/ui/modules/stuff/controllers/stuff.controller.js
  106. +18 −0 static/ui/modules/stuff/services/stuff.impl.js
  107. +19 −0 static/ui/modules/stuff/services/stuff.model.js
  108. +5 −0 static/ui/modules/stuff/stuff.module.js
  109. +44 −0 static/ui/modules/stuff/views/stuff-index.html
  110. +29 −0 static/ui/modules/user/config/user.routes.js
  111. +27 −0 static/ui/modules/user/controllers/user-add-feedback.controller.js
  112. +19 −0 static/ui/modules/user/controllers/user-purchase.controller.js
  113. +66 −0 static/ui/modules/user/controllers/user-subscribe.controller.js
  114. +45 −0 static/ui/modules/user/controllers/user.controller.js
  115. +285 −0 static/ui/modules/user/services/user.impl.js
  116. +93 −0 static/ui/modules/user/services/user.model.js
  117. +5 −0 static/ui/modules/user/user.module.js
  118. +11 −0 static/ui/modules/user/views/user-add-feedback.html
  119. +75 −0 static/ui/modules/user/views/user-index.html
  120. +25 −0 static/ui/modules/user/views/user-purchase.html
  121. +37 −0 static/ui/modules/user/views/user-subscribe-modal.html
  122. BIN static/ui/no-thumb.gif
  123. BIN static/ui/no-thumb.png
  124. BIN static/ui/soundcloud-icon.png
  125. BIN static/ui/step-02.png
  126. BIN static/ui/wait.gif
  127. BIN static/ui/web-s-logo-04.png
  128. BIN static/wait.gif
  129. +387 −0 templates/debug.html
  130. +387 −0 templates/index.html
  131. +91 −0 youtubedownloader.py
@@ -0,0 +1,202 @@
# Created by https://www.gitignore.io/api/vim,flask,python
# Edit at https://www.gitignore.io/?templates=vim,flask,python

### Flask ###
instance/*
!instance/.gitignore
.webassets-cache

### Flask.Python Stack ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

### Python ###
# Byte-compiled / optimized / DLL files

# C extensions

# Distribution / packaging

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.

# Installer logs

# Unit test / coverage reports

# Translations

# Django stuff:

# Flask stuff:

# Scrapy stuff:

# Sphinx documentation

# PyBuilder

# Jupyter Notebook

# IPython

# pyenv

# celery beat schedule file

# SageMath parsed files

# Environments

# Spyder project settings

# Rope project settings

# mkdocs documentation

# mypy

# Pyre type checker

### Python Patch ###
.venv/

### Vim ###
# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]

# Session
Session.vim

# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~

# End of https://www.gitignore.io/api/vim,flask,python

static/downloads
node_modules/
Modules/
bower_components/
@@ -0,0 +1,16 @@
From python:2.7
MAINTAINER Farid Ahmadian "pesarkhobeee@gmail.com"
RUN apt-get update -y && \
apt-get install -y python-pip python-dev python-mysqldb cron

WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt

COPY crontab /etc/cron.d/downloadchibashi
RUN chmod 0644 /etc/cron.d/downloadchibashi
RUN service cron start


ENTRYPOINT [ "gunicorn" ]
CMD [ "-w", "4", "-b", "0.0.0.0:8080", "downloadchibashi:app" ]

0 comments on commit 3d23ef5

Please sign in to comment.
You can’t perform that action at this time.